Probably a dumb question...
Posted: 02. February 2008 20:28
but here goes anyway.
I've installed xampp 1.6.5a on top of PCLinuxOS2007 and it all seems OK. I ran the security script and set passwords etc, including a root password for MySQL.
So now when I bring up the xampp home page on localhost I have to log in, user lampp, and my password. However, how do I enter the password for MySQL? If I try to go into phpMyAdmin I enter username/pw but get an error:
How do I get around this? Seems to me I need to enter the MySQL pw somewhere?
Cheers
darkstar
I've installed xampp 1.6.5a on top of PCLinuxOS2007 and it all seems OK. I ran the security script and set passwords etc, including a root password for MySQL.
So now when I bring up the xampp home page on localhost I have to log in, user lampp, and my password. However, how do I enter the password for MySQL? If I try to go into phpMyAdmin I enter username/pw but get an error:
- Code: Select all
Cannot log in to the MySQL server
- Code: Select all
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in /opt/lampp/htdocs/xampp/cds.php on line 64
Could not connect to database!
Is MySQL running or did you change the password?
How do I get around this? Seems to me I need to enter the MySQL pw somewhere?
Cheers
darkstar