Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 06-02-2009, 06:34 PM
Mellymonster Mellymonster is offline
 
Join Date: Oct 2008
Posts: 308
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Moving hosts

Hey guys,

My forum is moving to a new host, or well trying too, and we are encountering DB errors... We have backed up the DB closed the forum down, and put it into the new host, we then did the Config.php file, and changed the DNS, then comes the db errors, it takes about 15 minutes, and then db errors started coming.

The errors are like this

Quote:
Database error in vBulletin :

Cannot use database newsite_christgarden

MySQL Error : Access denied for user 'newsite_christ'@'localhost' to database 'newsite_christgarden'
Error Number : 1044
Request Date : Tuesday, June 2nd 2009 @ 03:32:22 PM
Error Date : Tuesday, June 2nd 2009 @ 03:32:22 PM
Script : http://www.christsgarden.com/
Referrer :
IP Address : (took the ip addy off)
Username :
Classname : vB_Database
MySQL Version :
Does this mean that the $config['MasterServer']['servername'] = is wrong?

We had it with another servername, and I was getting this error

Quote:
Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'newsite_christ'@'pass88.dizinc.com' (using password: YES)
/home/newsite/public_html/christsgarden.com/forums/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Tuesday, June 2nd 2009 @ 03:23:20 PM
Error Date : Tuesday, June 2nd 2009 @ 03:23:20 PM
Script : http://christsgarden.com/
Referrer :
IP Address : (took the IP out)
Username :
Classname : vB_Database
MySQL Version :
Help if you can? Please???
Reply With Quote
  #2  
Old 06-02-2009, 06:40 PM
EagleNick's Avatar
EagleNick EagleNick is offline
 
Join Date: Dec 2007
Location: Florida
Posts: 517
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Something in the config.php file isn't set properly. Re-check your DB name, username and password.

Then ensure that the username attached to the database you're using has full DBA permissions.
Reply With Quote
  #3  
Old 06-02-2009, 07:55 PM
Mellymonster Mellymonster is offline
 
Join Date: Oct 2008
Posts: 308
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I did see I missed an s in my sites name in the config, and I fixed that, but now I'm getting this again

Quote:
Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'newsite_christ'@'pass88.dizinc.com' (using password: YES)
/home/newsite/public_html/christsgarden.com/forums/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Tuesday, June 2nd 2009 @ 04:51:34 PM
Error Date : Tuesday, June 2nd 2009 @ 04:51:34 PM
Script : http://christsgarden.com/
Referrer : http://christsgarden.com/
IP Address : (took IP out)
Username :
Classname : vB_Database
MySQL Version :
is the pass88 the problem? prolly hard to tell without being in the cpanel to get it all, huh? But in cpanel it says that the servername is pass88... Could it be something in the database itself?
Reply With Quote
  #4  
Old 06-04-2009, 02:19 PM
Outbackmark's Avatar
Outbackmark Outbackmark is offline
 
Join Date: Jun 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is still something not correct in the DB username and password in the config.php.
You need to check the db username and password in the Domain CP, some servers automatically add "user_" to the front of the username/DB Name entered when the DB is created. This must be in the config.php file.
You will find this under MySQL Data Bases, then scroll down to users, remember you must add the user to the database after creating the user as well, or it will not work either.
* user = CP login name, so in your case it may look something like christga_pass88
Reply With Quote
  #5  
Old 06-04-2009, 04:20 PM
Mellymonster Mellymonster is offline
 
Join Date: Oct 2008
Posts: 308
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Everything but 1 problem right now, members are still seeing the offline message but there is another thread on this
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:42 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06048 seconds
  • Memory Usage 2,196KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete