Jump to content
xisto Community
Sign in to follow this  
Mjay06

Msql Error Message

Recommended Posts

Can anyone make sense of this? Its not a Xisto problem by the way.

 

Warning: mysql_connect(): Host 'neo.**********.com' is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts' in /home/*****/public_html/inc/connectdb.php on line 2

 

Warning: mysql_select_db(): Access denied for user: 'nobody@localhost' (Using password: NO) in /home/******/public_html/inc/connectdb.php on line 3

 

Warning: mysql_select_db(): A link to the server could not be established in /home/******/public_html/inc/connectdb.php on line 3


Notice from BuffaloHELP:
Use proper bbcodes when pasting.

Share this post


Link to post
Share on other sites

Warning: mysql_select_db(): Access denied for user: 'nobody@localhost' (Using password: NO) in /home/******/public_html/inc/connectdb.php on line 3

I am pretty sure that that part of the error says that your password is either wrong or the user isn't assigned to the database. Double check the spelling on the name/database/password and make sure you have the proper prefix for the name and database. Maybe that will help clear up some of the other errors but I don't know what is in the files it is trying to read.

Share this post


Link to post
Share on other sites

Its quite strange, you are greeted with that lot before you get the chance to login, & its a pretty simple url to get to that page.You get all the site images loading, though not in the correct place as the screen is riddled with error messages.Could it just be the database has blown up?

Edited by Mjay06 (see edit history)

Share this post


Link to post
Share on other sites

Have you gone to the file where the error is occuring. Look at the coding and see if there are any goofups and mistakes. Many times the source of the problem is exactly where the message is saying.

Share this post


Link to post
Share on other sites

The clue here is:

Host 'neo.**********.com' is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts'

This error only occurs after the server has basically banned the user from accessing the database, usually because it presumes you are a hacker. It happens when a load of max_connect_errors occur, and then they get abruptly halted for an unknown reason. This probably means an error in the code, perhaps a loop running way too many times or something.

 

Unfortunately the only way to get access again is for a command to be run on the shell of the server. If it isn't your server, you're gonna have to ask the admin very nicely to run the command:

CONSOLE

mysqladmin flush-hosts

Which will allow you access again. Just don't run any scripts again until you have checked what is causing the error.

Share this post


Link to post
Share on other sites

I'll tray to solve this, this is my analysis from this problem:

Warning: mysql_connect(): Host 'neo.**********.com' is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts' in /home/*****/public_html/inc/connectdb.php on line 2
Warning: mysql_select_db(): Access denied for user: 'nobody@localhost' (Using password: NO) in /home/******/public_html/inc/connectdb.php on line 3

Warning: mysql_select_db(): A link to the server could not be established in /home/******/public_html/inc/connectdb.php on line 3


These errors occured when the connection file (connectdb.php) doesn't match with the mysql role. Just check the mysql user n password, and then recheck it with the connectdb.php

If it doesn't solve, tell us the detail of your connectdb.php file, n lets analys it..

mbahePHP

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.