View Single Post
Old 03-20-2005, 03:05 PM  
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
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) ?
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote