|
php/mysql question
i try connect to a mysql database using the function mysql_connect("localhost","username","userpass") but i get this error: Access denied for user: 'root@localhost' (Using password: NO)
why the php is trying to connect with the user "root" and without password since username is other than root and i specify a password (for username) ?
|