PDA

View Full Version : Database error in vBulletin


danyz81
03-25-2013, 11:00 PM
Hello,

after an upgrade of my php from 5.2 to 5.3 my vb forum gone down for a mysql db error:

my os server win2k3.

Database error in vBulletin :

mysql_connect(): Premature end of data (mysqlnd_wireprotocol.c:553)
E:\\\\\\includes\class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Monday, March 25th 2013 @ 10:54:53 PM
Error Date : Monday, March 25th 2013 @ 10:54:55 PM
Script : http://www.webgif.com/forums/external.php?forumids=2,286,13,14,302,282,284,17,1 6,280,281,277,278,283,270,299,271,274,275,276&type=js
Referrer : http://www.webgif.com/
IP Address : 2.224.254.152
Username :
Classname : vB_Database
MySQL Version :

any help will be appreciated,

regards,

Brandon Sheley
03-25-2013, 11:55 PM
update your database password

http://www.vbulletin.com/forum/forum/vbulletin-3-8/vbulletin-3-8-questions-problems-and-troubleshooting/426978-upgraded-from-os-x-10-5-to-os-x-10-6-and-now-board-is-broken?

danyz81
03-26-2013, 07:17 AM
update your database password

http://www.vbulletin.com/forum/forum/vbulletin-3-8/vbulletin-3-8-questions-problems-and-troubleshooting/426978-upgraded-from-os-x-10-5-to-os-x-10-6-and-now-board-is-broken?

Hello Brandon and thank you for your reply.

I've finally resolve my issue following this query on my mysql server:

SET old_passwords = 0;
UPDATE mysql.user SET Password = PASSWORD('userpassword') WHERE User = 'username' limit 1;
SELECT LENGTH(Password) FROM mysql.user WHERE User = 'username';
FLUSH PRIVILEGES;

bye

--------------- Added 1364283483 at 1364283483 ---------------

hello, i've also found some other issue. Like PHP deprecated language:

PHP Deprecated: Assigning the return value of new by reference is deprecated in E:\\\\forums\includes\init.php on line 55

i've resolved it replacing where i had this error (in my case):

all '& new' in 'new'