I have installed the ViArt Shop Enterprise localy to adminstarte it more comfortable, when i finsh I've exported the database of the e-shop and the e-shop itself using Binary transfer FTP mode. when I log to the shop, I've got the following message:
Notice: Use of undefined constant DB_USER_PASS_ERROR - assumed 'DB_USER_PASS_ERROR' in /home/tahatah1/public_html/ViArt_shop/includes/db_mysql.php on line 692 Page URL: http://www.tahagroup.biz/ViArt_shop/" target="_blank">http://www.tahagroup.biz/ViArt_shop/ Referrer URL: http://www.tahagroup.biz/ Database error: Connect failed: DB_USER_PASS_ERROR Access denied for user 'Imad'@'localhost' (using password: YES) MySQL Error: Connect failed: DB_USER_PASS_ERROR Access denied for user 'Imad'@'localhost' (using password: YES)
can any one tell me what goes wrong
Thanks & Best Regard
Last modified: 2/28/07 11:13 AM
eugene
2/28/07 11:13 AM
Hi,
Please make sure that you have proper file /messages/language_code/install_messages.php and it contains constant DB_USER_PASS_ERROR. Then please check if you have correct database settings in /includes/var_definition.php as they may differ for your local PC and remote web server.
WBR, ViArt Support Team
Notice: Use of undefined constant DB_USER_PASS_ERROR - assumed 'DB_USER_PASS_ERROR' in /home/tahatah1/public_html/ViArt_shop/includes/db_mysql.php on line 692 Page URL: http://www.tahagroup.biz/ViArt_shop/" target="_blank">http://www.tahagroup.biz/ViArt_shop/ Referrer URL: http://www.tahagroup.biz/ Database error: Connect failed: DB_USER_PASS_ERROR Access denied for user 'Imad'@'localhost' (using password: YES) MySQL Error: Connect failed: DB_USER_PASS_ERROR Access denied for user 'Imad'@'localhost' (using password: YES)
can any one tell me what goes wrong
Thanks & Best Regard
Coffeeman (Guest)
3/30/07 6:51 PM
I have this problem on my site. My host supports both MySQL 4 and MySQL5. For MySQL4, I have to specify just "localhost" but for MySQL5 I must have "localhost:/tmp/mysql5.sock" If I do not, then I get this same error, even if the userid and password are correct.
eugene
4/5/07 10:56 AM
Hi,
Do you still have problems with MySQL 5 settings? Just try to enter "localhost:/tmp/mysql5.sock" into Hostname field.
I have this problem on my site. My host supports both MySQL 4 and MySQL5. For MySQL4, I have to specify just "localhost" but for MySQL5 I must have "localhost:/tmp/mysql5.sock" If I do not, then I get this same error, even if the userid and password are correct.
WBR, ViArt Support Team
WTP
4/2/08 7:21 PM
I have the following problem which I think is similar. Can anyone help?
Notice: Use of undefined constant DB_PORT_ERROR - assumed 'DB_PORT_ERROR' in /home/content/m/r/e/mreisman/html/CLDphp/includes/db_mysql.php on line 352 Page URL: http://www.mdrideas.com/CLDphp/ Referrer URL: Database error: Connect failed: DB_PORT_ERROR MySQL Error: Connect failed: DB_PORT_ERROR
Raj (Guest)
5/21/08 12:08 PM
I am getting the below mentioned error message while creating database using Phpmyadmin Please can anyone help? Cannot load mysql extension. Please check your PHP configuration. - Documentation