Probably a dumb question...

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

Probably a dumb question...

Postby darkstar01uk » 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:
Code: Select all
Cannot log in to the MySQL server
Also the CD collection demo does not work with the message:
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
darkstar01uk
 
Posts: 1
Joined: 02. February 2008 20:16

Postby whatsashig » 06. February 2008 14:42

Find the file mentioned in the error, function call is missing a third parameter - if you stick the password word in here it works, I aint got no idea about php or mysql but my quess is that another function should really be called prior to this one which will retrieve user name and password then call the function on line 64 with that new info.
whatsashig
 
Posts: 1
Joined: 06. February 2008 14:36


Return to XAMPP for Linux

Who is online

Users browsing this forum: vevomeh and 27 guests