Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-09-2013, 02:23 PM
stoute stoute is offline
 
Join Date: May 2010
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Database / MySQL error

I'm getting this message below about 100+ times a day since I moved to my own server from godaddy.

Code:
Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Host 'p3nlhg550.shr.prod.phx3.secureserver.net' is not allowed to connect to this MySQL server
/home/content/32/4571132/html/sites/green_rom_project/com/includes/class_core.php on line 317

MySQL Error   :
Error Number  :
Request Date  : Saturday, March 9th 2013 @ 08:16:32 AM
Error Date    : Saturday, March 9th 2013 @ 08:16:33 AM
Script        : http://greenromproject.com/reider-team-[premium]/?sort=lastpost&order=asc
Referrer      :
IP Address    : 173.199.115.3
Username      :
Classname     : vB_Database
MySQL Version :
the weird part about these errors are that the host it is on is not the one listed. Thats the old godaddy database which has been deleted.

Code:
Host 'p3nlhg550.shr.prod.phx3.secureserver.net'
another thing that is strange is that the location of the file class_config.php is not in that location or even on that server.

Code:
/home/content/32/4571132/html/sites/green_rom_project/com/includes/class_core.php
I have cleared the sites cache thinking that the old files were referencing old data.

Does anyone have any ideas?
Reply With Quote
  #2  
Old 03-09-2013, 03:16 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Host in your config needs changed to localhost as you still have the old godaddy one
Reply With Quote
  #3  
Old 03-09-2013, 03:40 PM
stoute stoute is offline
 
Join Date: May 2010
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats what I thought but I have already changed the host in the config file to localhost via local IP (127.0.0.1) with the correct database name, username, password.

Another weird thing is the referenced hostname changes depending on the email I get...

Code:
Host 'p3nlhg549.shr.prod.phx3.secureserver.net'
Code:
Host 'p3nlhg550.shr.prod.phx3.secureserver.net'
Code:
Host 'p3nlhg551.shr.prod.phx3.secureserver.net'
Code:
Host 'p3nlhg552.shr.prod.phx3.secureserver.net'
Below is a copy of the section of config file you referenced.

Code:
	//	****** MASTER DATABASE SERVER NAME AND PORT ******
	//	This is the hostname or IP address and port of the database server.
	//	If you are unsure of what to put here, leave the default values.
	//
	//	Note: If you are using IIS 7+ and MySQL is on the same machine, you 
	//	need to use 127.0.0.1 instead of localhost
$config['MasterServer']['servername'] = '127.0.0.1';
$config['MasterServer']['port'] = 3306;
maybe I did this wrong?
Reply With Quote
  #4  
Old 03-09-2013, 05:03 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try changing it to:
$config['MasterServer']['servername'] = 'localhost';
Reply With Quote
  #5  
Old 03-09-2013, 05:17 PM
stoute stoute is offline
 
Join Date: May 2010
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure why this would make any difference but, I changed the name of the config.php file on the old host to config.php.old a couple hours ago and I haven't received an error email since... I don't know why that would have made any difference but it seems to have resolved the emails.

I also changed the 127.0.0.1 to localhost just now to attempt to help resolve any errors in the future.

Thanks for the assist.
Reply With Quote
  #6  
Old 03-09-2013, 07:03 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stoute View Post
I'm not sure why this would make any difference but, I changed the name of the config.php file on the old host to config.php.old a couple hours ago and I haven't received an error email since... I don't know why that would have made any difference but it seems to have resolved the emails.
Why don't you just remove all the files from the old host? Basically what you've done is 'break' your old vb installation. If you just deleted all the files, it would have stopped the messages also.
Reply With Quote
Reply


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 12:10 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03664 seconds
  • Memory Usage 2,211KB
  • Queries Executed 11 (?)
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
  • (8)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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_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