PDA

View Full Version : Another Database Error


Remulon
08-01-2008, 12:30 AM
Hi all,

Today, all of a sudden my vBulletin has decided to pack it in. I can't get up any page, or the admincp. It simply says:

Database Error - The database has encountered a problem.

Also, I got well over 4000 error emails which all pretty much said the same thing:

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Client does not support authentication protocol requested by server; consider upgrading MySQL client
/home/herpes-c/public_html/messageforum/includes/class_core.php on line 311

I have been running MySQL 4.1.22-standard the entire time my board has been installed. As far as I know, nothing in my server environment has changed recently.

I did upgrade my vBulletin to 3.7.2 recently, but the upgrade went without a hitch and my board worked fine after the upgrade.

Has anyone come across this error before?

Please Help! :eek:

Thanks.

R

Dismounted
08-01-2008, 06:02 AM
See the manual (http://www.vbulletin.com/docs/html/troubleshoot_mysql_connect) (last dot point).

Marco van Herwaarden
08-01-2008, 07:13 AM
I would contact your host. Sounds to me like they upgraded PHP and compiled it with teh wrong MySQL client.

Remulon
08-25-2008, 04:55 AM
Hi all,

looks like you were right Marco, a recompile of PHP was all I needed.

Out of curiosity, does anyone know how I can modify the error page I mentioned in my first post in this thread? It sort of looks like an IE 404 error page, but has the vBulletin logo etc.

I want to basically show my vBull template with a nice "Database Error" message and all of my exterior links etc.

Is it a template that I can edit? or if not, where can I customize it?

Thanks.

R

Marco van Herwaarden
08-25-2008, 06:31 AM
./includes/database_error_XXXX.html