I run Wordpress with a Privacy Policy Plug-in. When I enable it, it crashes my site with “Error establishing a database connection”. When I disable it, all is fine.
I have 2 Wordpress sites running, the other one without a privacy policy has never given me any problems, it’s just the one with the interactive Privacy Policy that causes this?
OK, so it happened again even after I disabled the Privacy Policy, so that is not the problem. Why is this happening? I have run a database repair from the wp-admin panel, then it works fine for a while, then bombs out again?
I’m using WordPress version 2.6.2, should I upgrade? My other Wordpress site is running fine on 2.6.2, never had a problem?
My UserName for MySql has been created correctly and configured in wp-config.php? [U]
PHP Admin :[/U]
a9778201_****** a9778201_*** Enter phpMyAdmin
**[U]
wp-config.php :[/U]**
// ** MySQL settings ** //
define(‘DB_NAME’, ‘a9778201_***’); // The name of the database
define(‘DB_USER’, ‘a9778201_***’); // Your MySQL username
define(‘DB_PASSWORD’, ‘***’); // …and password
define(‘DB_HOST’, ‘mysql2.000webhost.com’); // 99% chance you won’t need to change this value
define(‘DB_CHARSET’, ‘utf8’);
define(‘DB_COLLATE’, ‘’);
It can’t be a config problem, the one minute it runs, shortly after it crashes then recovers and runs for a while again and continues in this pattern. Could it be SQL server issues on mysql2.000webhost.com, my other wordpress site runs on mysql4.000webhost.com
i also have same problem
when i open index.php it tells error estab…connection
and when i open public_html/word press/wp-admin/admin.php then error…and tells to check username and pass or hostname
i deleted .htaccess but didnt worked
still same
now moving files from word press to public_html
[17 minutes later]
now after deleting htaccess and wordpress directory
gives me this error
[30 minutes later]
hey i just removed all wordpress installation files and put new one and then worked
Actually it was again gave me same error redirecting one and then i opened wp-login.php and worked
Thanks For Helping Me