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)

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...