Xampp installation problem cannot connect to database

Permalink
Hi
I have this install problem with localhost with Xampp-cannot connect to database.

I am new to Xampp & MySQL -can someone please give simple but complete walkthrough instructions to set up the database & install in Xampp?

(I have looked at the other help files which deal with Wamp & Apache but so far have not succeeded to install concrete5 on my localhost with Xampp).

I look forward to helpful replies, thanks

View Replies:
elyon replied on at Permalink Reply
elyon
In have had experience with Wamp or Xampp messing up my MySQL settings sometimes, and it was really hard to fix.

It should be localhost, but again it makes things difficult sometimes when things are all wrapped up together. Most of the resources you find on the internet may or may not be applicable.

If you find you're still having trouble, and hopefully if your settings aren't permanently messed up, it's actually quite simple to install the components yourself.

There's a one-click web install of PHP for IIS 6.0, so when I need to do development on my local machine I enable IIS, install MySQL then install the URL rewrite and PHP add-ons. Apache isn't hard to install either, but I like that the control panel in IIS 6.0 is really easy to use. On that note, MySQL Administrator, which is included in the "MySQL Tools for 5.0" package on their website, is really awesome for working with the database. Way better than phpMyAdmin or something else.

has sometimes messed with the MySQL settings on my system and made
rpd replied on at Permalink Reply
Hi Elyon

Thanks for your interesting reply. I have little experience with Xampp & less with IIS.

However I have just now installed IIS on my Vista box but I do not know how to web develop with it and specifically install concrete5 on localhost with it!

(This was the url link that helped me with IIS in Vista:
http://www.xpwindowsvista.com/iis6.asp)...

I am grateful for some more helpful instruction as to how I can install concrete5 on localhost using either Xampp or IIS7. I look forward to replies

Many thanks
rpd replied on at Permalink Reply
Hi

I still need help please to install in either Xampp or IIS7

Following Elyon's post I have setup IIS7 on my vista computer and am at the concrete5 install page-this asks the following:
Personal information
Name your Site-I have no problem with this
Email-again no problem
Database
Server -no problem localhost
MySQL username ?????- How do I do this in IIS (or Xampp)
MySQL password ?????-How do I do this in IIS (or Xampp)
Database name ?????-How do I do this in IIS (or Xampp)


I will continue to try to fix this myself but I am grateful for helpful replies with advice on this Xampp and IIS7 install.

Thanks
Mnkras replied on at Permalink Reply
Mnkras
you need to install mysql
rpd replied on at Permalink Reply
Thanks for your reply
I have MySQL installed as part of Xampp.

I am still having problems installing- the latest issue is:


Warning: mkdir() [function.mkdir]: Permission denied in C:\inetpub\wwwroot\concrete5.3.3.1\concrete\controllers\install.php on line 185

Warning: mkdir() [function.mkdir]: Permission denied in C:\inetpub\wwwroot\concrete5.3.3.1\concrete\controllers\install.php on line 188

Warning: mkdir() [function.mkdir]: Permission denied in C:\inetpub\wwwroot\concrete5.3.3.1\concrete\controllers\install.php on line 200

and : Unable to open config/site.php for writing.

I would appreciate any help as this installation is being very difficult for me.
rpd replied on at Permalink Reply
Good news.

I have finally managed to install concrete5 on my localhost IIS7.

The homepage looks good and now I can get on with some editing and try & forget about the difficult installation I experienced-anyway I managed to get going on my own! (amazing how perseverance can work-perhaps I can get this right before Christmas & 2010?!!).
I hope I understand the installation better but why it hung and said could not edit site.php in config directory when there wasn't such a file is beyond me. As a newbie to all this I would encourage others to keep going through any difficulties-so goodluck to all (I think I have learnt something from this experience-not sure what-LOL!)

Best wishes
pastor replied on at Permalink Reply
I am having the smae problem what did you do?
Mnkras replied on at Permalink Reply
Mnkras
the error that it can't write to the site.php is because it can't create it, chmod the directory to 755
pastor replied on at Permalink Reply
how do you do that?