Page 1 of 1

Warning: mysql_connect(): Access denied for user

PostPosted: 12. July 2005 03:53
by dj3plet
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.

PostPosted: 16. July 2005 14:20
by dj3plet
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?