world Reply #1, 3 years, 9 months ago
My IPS has just moved my website to a new datacentre.
Trouble is when I now try to access the website I get the following message:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: mysql_connect() [function.mysql-connect]: Access denied for user 'xyz_m1'@'ns2.nhgdns.com' (using password: YES)
Error type/ Nr.: Warning - 2
File: /home/xyz/public_html/manager/includes/extenders/dbapi.mysql.class.inc.php
Line: 87
Line 87 source: if (!$this->conn = ($persist ? mysql_pconnect($host, $uid, $pwd) : mysql_connect($host, $uid, $pwd, true))) {
Parser timing
MySQL: 0.0000 s (0 Requests)
PHP: 0.0135 s
Total: 0.0135 s
Error while inserting event log into database.
Can anyone shed some light.
Many thanks
W
Trouble is when I now try to access the website I get the following message:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: mysql_connect() [function.mysql-connect]: Access denied for user 'xyz_m1'@'ns2.nhgdns.com' (using password: YES)
Error type/ Nr.: Warning - 2
File: /home/xyz/public_html/manager/includes/extenders/dbapi.mysql.class.inc.php
Line: 87
Line 87 source: if (!$this->conn = ($persist ? mysql_pconnect($host, $uid, $pwd) : mysql_connect($host, $uid, $pwd, true))) {
Parser timing
MySQL: 0.0000 s (0 Requests)
PHP: 0.0135 s
Total: 0.0135 s
Error while inserting event log into database.
Can anyone shed some light.
Many thanks
W