armlocker Posted March 13, 2013 Share Posted March 13, 2013 Hiya all I'm using a hosted server (FatCow). Folder Layout ecommerce (folder) ----> admin (folder) ----> add_print.php / add_artist.php mysqli_connect.php Add_print.php // This page allows the administrator to add a print (product). require ('../../mysqli_connect.php'); // Create a temporary file name: $temp = '../../uploads/' . md5($_FILES['image']['name']); Error message: Could not connect to MySQL: Access denied for user 'tango'@'cgi1801.int.bizland.net' (using password: YES) Link to comment Share on other sites More sharing options...
margaux Posted March 13, 2013 Share Posted March 13, 2013 Could not connect to MySQL: Access denied for user 'tango'@'cgi1801.int.bizland.net' (using password: YES) That error message usually means the password is not correct for the user. You'll need to double check that the password you've entered in the DEFINE statement matches the one set up for the user when the database was created. 1 Link to comment Share on other sites More sharing options...
armlocker Posted March 13, 2013 Author Share Posted March 13, 2013 ah yes -- I just contacted the hosting server and I had the wrong password in the database to what I had in the mysql_connect script. School Boy Error. Thanks dude Link to comment Share on other sites More sharing options...
Recommended Posts