Jump to content

[SOLVED] FTP site problem after upload. [ PHP and MYSQL base lang ]


Recommended Posts

hi again . i have a FTP site which is byethost.com and uploaded all the file.php and databases to the site . It shows up error when i was trying to insert into database while localhost doesnt have any problem at all .

Weird case is it can be login which mean it detects the database and compare the logical from usernam and password . But couldn't insert new data.

Any idea ??

Sry if i have posted into wrong category.

 

Erors below:

INSERT command denied to user 'b31_2847909'@'209.190.85.202' for table 'cusorder'

Make sure that mysql user has the correct privileges (permissions). You can check this with your hosting account's site admin typically, or via command line... see here about it:

http://www.iis-aid.com/articles/how_to_guides/assigning_mysql_privileges_via_the_command_line

 

Right.  As you have figured out, shared hosts usually attach prefixes to database names and usually even database user names.  Prefix is usually some part of your hosting account username or domain name, like the first 8 chars of it.

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.