954,546 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

error 1130

Hi,

While connecting to a host computer to access its records from another computer using python. I am getting an error

OperationalError: (1130, "Host '2k.vfx.net' is not allowed to connect to this MySQL server")

There is no firewall. I have installed wampserver 5 on the host pc.

Is it possible to access the data from the host..using mysql

BRgds,

kNish

knish
Newbie Poster
19 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

Looks like either a port is closed or else there's a credentials problem. But that's a guess.

Jeff

jrcagle
Practically a Master Poster
608 posts since Jul 2006
Reputation Points: 92
Solved Threads: 156
 

what credentials problem can there be..may I know
This I need to ask for I have the same issue since the server harddisk crashed.

What backup method do u suggested

knish

knish
Newbie Poster
19 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 
... OperationalError: (1130, "Host '2k.vfx.net' is not allowed to connect to this MySQL server") ...


Make sure you have given permission for user, who access the system, like 'allow remote access'. By default when you install MySQL will allow to access db from localhost for user root(default).

What GUI you use to interact with MySQL?
I had used phpMyAdmin as GUI to interact and Navicat some time back. I remember PHP MyAdmin gives good interface to give many credentials or permissions.

Is it possible to access the data from the host..using mysql


Yes, for sure, provided you have set right permission, and you are not blocked by firewall.
The credentials are stored in a table under some database, which comes default with MySQL, which stores this credentials. But, I dont remember the table name now.

kath.

katharnakh
Posting Whiz in Training
237 posts since Jan 2006
Reputation Points: 19
Solved Threads: 34
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You