Jump to content

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


tayhaithian

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.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.