mySQL installation on Win2k Pro

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

mySQL installation on Win2k Pro

Post 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!
jmarcv
Forum Contributor
Posts: 131
Joined: Tue Jul 29, 2003 7:17 pm
Location: Colorado

Post 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.
Post Reply