Author Topic: Transfered Proferly to new server but still have problem :(  (Read 2981 times)

0 Members and 1 Guest are viewing this topic.

Offline khansahib

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Transfered Proferly to new server but still have problem :(
« on: December 07, 2007, 10:41:48 AM »
Hi,
     i have moved files to new server properly, database was also restored i checked the config file everything is OK there but i m getting this error

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'emobilez_imga1'@'localhost' (using password: YES) in /home/emobilez/public_html/gallery/includes/db_mysql.php on line 39

DB Error: Could not connect to the database server (localhost, emobilez_imga1).

so wt to do any idea?

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: Transfered Proferly to new server but still have problem :(
« Reply #1 on: December 07, 2007, 12:08:41 PM »
hello,

like the error message shows.

account information in config.php for myslq server are not correct.

Code: [Select]
$db_servertype = "mysql";
$db_host = "MYSQL_HOST";
$db_name = "DB_NAME";
$db_user = "DB_USERNAME";
$db_password = "DB_PASSWORD";

this must match..
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi