Page 1 of 1

mySQL installation on Win2k Pro

Posted: Wed Jul 09, 2003 1:44 pm
by nigma
Hey, I insatlled mySQL on a win2k pro machine.

When I try to connect to it using
mysql_connect("host","user","pass") or die("blak");

it says access denied for user "user@127.0.0.1" (using password: YES).

now, I checked my "my.ini" file to see if I had the user and pass correct and I do. I am wondering why thjis is happening? Any ideas? I have tried re=-installing, using the mysqld server instead of mysqld-nt server.

Thanks for all help provided. It's really apreciated!

Posted: Tue Jul 29, 2003 8:37 pm
by jmarcv
Sounds like you don't have the mysql user setup. Check doscs on the mysqladmin command to set up mysql users. Default shout be user:root, with no password.