|
i was wondering how do connect to the mysql db that i have made on the backend? im using $conn = mysql_connect('localhost','username','password','mysql_db') or trigger_error("SQL", E_USER_ERROR); and i keep getting an error saying Warning: mysqli_connect() [function.mysqli-connect]: (28000/1045): Access denied for user 'username'@'web??.webfaction.com' (using password: YES) in example.php on line 13 what is going on? |
|
You should be using the name of your database as the username. More information is available in our documentation: Databases |