PDA

View Full Version : Database Upgrade Problems



Majest
Wed 6th Feb '08, 6:46pm
I have just attempted to upgrade from 3.6.5 to 3.6.8 PL2. But I can't access anything from my database getting a database error. I have been working with my hosts support and they sent me over here.

I uploaded all the new files, a little confused about the config as the readme include said to open it with a text editor while the docs on vbulletin.com said not to. I tried both ways and still got my error.

The error I get is:
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'database username'@'localhost' ('database'@'localhost') (using password: YES)
/home/###/public_html/forum/includes/class_core.php on line 274

I have been struggling to solve this all day yesterday and so far no luck. I get this error when attempting to run the upgrade.php file and I have followed the install instructions.

Total666
Wed 6th Feb '08, 10:36pm
I have just attempted to upgrade from 3.6.5 to 3.6.8 PL2. But I can't access anything from my database getting a database error. I have been working with my hosts support and they sent me over here.

I uploaded all the new files, a little confused about the config as the readme include said to open it with a text editor while the docs on vbulletin.com said not to. I tried both ways and still got my error.

The error I get is:
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'database username'@'localhost' (using password: YES)
/home/###/public_html/forum/includes/class_core.php on line 274

I have been struggling to solve this all day yesterday and so far no luck. I get this error when attempting to run the upgrade.php file and I have followed the install instructions.


Edit the config.php file in includes to your info database name / passwords , etc ..

Steve Machol
Wed 6th Feb '08, 10:49pm
The most likely cause of this error is that the info in your config.php file is wrong or your db user does not have full permissions to this database. Please read this for all the known causes of this error:

http://www.vbulletin.com/forum/showthread.php?t=194542

Majest
Wed 6th Feb '08, 11:35pm
Thank you, I created a new user for my database and that fixed the problem.