Unable to connect to MySQL.

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

Moderator: General Moderators

User avatar
dibyendrah
Forum Contributor
Posts: 491
Joined: Wed Oct 19, 2005 5:14 am
Location: Nepal
Contact:

Please upgrade the mysql client

Post by dibyendrah »

Please tell me your mysql version so that it will be easier to find out the problem. Also, in your mysqltest.php you're not using password for root. That's the reason you're getting

Code: Select all

Access denied for user 'root'@'localhost' (using password: NO) in C:\Program Files\xampp\htdocs\xampp\in_easy_steps\mysqltest.php on line 7
Will you please show us the source please ?


Cheers,
Dibyendra
Post Reply