Jump to content
Larry Ullman's Book Forums

Recommended Posts

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

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.

  • Upvote 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...