Warning: mysql_connect(): Access denied for user

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

Warning: mysql_connect(): Access denied for user

Postby dj3plet » 12. July 2005 03:53

first off, xampp rocks! i've been using it on a windows box for a while. now i'm testing it on a linux box and hope to eventually move my server over to linux.

anyway, i'm getting hung up on this mysql problem. nothing connects. i'm not sure if its a permissions problem or what, but everything that uses mysql gets me this error:

Code: Select all
Warning: mysql_connect(): Access denied for user 'myusername'@'localhost' (using password: YES) in /opt/lampp/htdocs/blah/blah


my user has privilages granted for this database. when i set the config to use root as user, it works, but obviously, i can't use that.
dj3plet
 
Posts: 5
Joined: 21. April 2005 20:42

Postby dj3plet » 16. July 2005 14:20

ok, there is nothing wrong with mysql. when i create a database and create a user on my lampp install - no problems. the problem is when i copy mysql data folders from my win32 xampp install to the lampp install. apparently, there is some sort of permissions issue going on over ownership.

any idea on how to overcome this?
dj3plet
 
Posts: 5
Joined: 21. April 2005 20:42


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 6 guests