Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got an Ubuntu LAMP install running in a VMWare virtual machine. I'm able to connect to the mysql server from inside the VM from the command line, but I'm not able to connect to it from inside the Host OS via the VM's ip address. The error message returned by the mysql server through SQLYog is ...

Error No. 1130

Host 'monolith.home' is not allowed to connect to this MySQL server

... where 'monolith.home' is the computer name and domain of the Host computer.

So the mysql port appears open, it is just rejecting my connection. Where do I change the kind of access restriction?

share|improve this question
up vote 1 down vote accepted

Have you granted a user access from that address?

Try something like:

GRANT ALL PRIVILEGES on *.* to 'root'@'%.home' IDENTIFIED BY 'password'

and then try login as root from the host.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.