Access mysql from windows host

Discussions about using Linux guests in VirtualBox.
Post Reply
billiam
Posts: 1
Joined: 1. Mar 2011, 18:23
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Debian

Access mysql from windows host

Post by billiam »

I'm trying to access the mysql server on my debian guest from a windows 7 host, and only recently stumbled on the 'make sure you use a host-only network to access mysql' tip, but have not gotten any further with it since. Currently getting this error:

Code: Select all

Access denied for user root@<hostip> (using password: Yes)
  • The guest has both a nat and host-only network.
  • Access denied when accessing over host-only network interface.
  • Mysql's bind address is set to 0.0.0.0.
  • I've tried setting root allow privileges for both % and my host ip in mysql.
Any suggestions, or any other information that would be helpful?
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Access mysql from windows host

Post by vbox4me2 »

The root user must be added with the Host ip address or bind to all IP interfaces and add root as root@%
Post Reply