Setting PW and phpmyadmin works not CD

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Setting PW and phpmyadmin works not CD

Postby NetRover » 12. May 2006 01:06

Hi all, I have just started this for the first time.

I started php and mysql and everything worked fine.

I want to make things more secure so I used the security section to set a password for mysql.

If I use phpmyadmin the password works fine but if I click the CD Collection to test it I get "Could not connect to database!
Is MySQL running or did you change the password?"

I can't work out why it stops connecting with a password.

I have looked at the console commands and cmd commands but can't seem to run any of these.

Posts: 1
Joined: 12. May 2006 00:51

Postby capitalfellow » 15. May 2006 19:58

The test applications are configured not to require a password. Since XAMPP is a development environment the focus is on ease of use & features. Now that you've secured the environment, you'll need to edit the CD application script under:


and add the username and password to mysql_connect on line 4.
User avatar
Posts: 60
Joined: 19. July 2005 01:10
Location: Charlotte, NC USA
Operating System: OS X

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 22 guests