The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Database Error
i just moved from old web host to new webhost and i get database error ..
how can i fix this ? this is what i get in my technical email as error .. Code:
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'champ_admin'@'localhost' (using password: YES) /home/wrest/public_html/includes/class_core.php on line 312 MySQL Error : Error Number : Request Date : Wednesday, November 10th 2010 @ 09:20:25 PM Error Date : Wednesday, November 10th 2010 @ 09:20:25 PM Script : http://178.239.49.61/~wrest/ Referrer : IP Address : 86.25.188.112 Username : Classname : vB_Database MySQL Version : |
#2
|
||||
|
||||
Check that the db infos are updated accordingly at the config.php file. If they are, then make sure that the forum db user has got full permissions and access to the db where he is assigned to.
|
#3
|
|||
|
|||
DB names are different than config.php file .. can you check for me if possible please.. i am lost .
|
#4
|
||||
|
||||
Quote:
P.s. Did you move the database to the new host btw? Can you tell us the exact procedure that you followed? |
#5
|
|||
|
|||
i backed up from old host and uploaded the backed up file to new host server .. then they restored it and said that it got errors .. i know it cant be because that back is fine . it must have problem with giving permissions to database ..and after you mentioned i checked config.php and my sql on cpanel .. they both got different names .
|
#6
|
||||
|
||||
Quote:
|
#7
|
|||
|
|||
the DB name is different and the config.php names are different ..
with that being said .. i dont have to change the names of DB but must change config.php names .. am i correct .. but if i have to change the config names i want to say you some that these are the names i created 2 years ago and i never changed it .. how come i should change the names now with using the same database . i am new to it, dont take me wrong . --------------- Added [DATE]1289427390[/DATE] at [TIME]1289427390[/TIME] --------------- NeverMind .. i did it as you mentioned and now i get new error .. Quote:
|
#8
|
||||
|
||||
Change the names in the config.php file, there are 3 DB settings in there that must be correct
DB username DB password DBname The username and dbname will look something like wrest_username and wrest_password The reason you need to change is now is that the DB name etc has all changed on the new server/host, and your settings in config.php must be changed to match. As always, keep a copy of the old one on your computer. |
#9
|
|||
|
|||
thats not the issue now mate .. i done that and it is fixed .. its a hook issue + i disabled the hooks and now i get database error ..
Quote:
i had 3.8.0 almost year and a half ago then i upgraded it to 3.8.2 and then i upgraded to 4.0.3 and stayed on 4.0.3 for almost 8 months now .. and my backup is of 1 month old ... i dont know why it is showing 3.8.0 .. this is something so wired . please someone help fix this issue. |
#10
|
||||
|
||||
It looks like the lastposterid column is missing in the forum table. Maybe something ddin''t go right during the database transfer.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|