Re: [Xen-users] domU MySQL not available externally

James Triplett
Mon, 03 Oct 2011 20:07:09 -0000

On (03/10/11 19:26), Jimmy Cullen wrote:
> To: xen-users@lists.xensource.com
> Date: Mon, 03 Oct 2011 19:26:13 +0100
> From: Jimmy Cullen <jimmy@toutlemonde.eu>
> Subject: [Xen-users] domU MySQL not available externally
>
> Hi,
>
> I am a newcomer to xen and have a problem with MySQL access on domUs. dom0
> is Debian Squeeze and two domUs are Squeeze also. I am installing a mail
> server on one domU and need MySQL to be available externally, however for
> some reason it is blocked, while other services e.g. IMAP and POP3 are
> available externally. Example nmap output is given below. I have not added
> any rules to iptables.
>
> One possible problem I can think of is that I had installed cacti on dom0
> to monitor load etc., which also required MySQL. When I discovered the
> problem with domUs not being able to make MySQL available externally I
> uninstalled cacti and MySQL, but the problem remains.
>

I would look at the Mysql configuration.  By default it may only be listening
to localhost.  What''s going on with Mysql in dom0 should be totally
independent.

Look for some lines like this:
	# Instead of skip-networking the default is now to listen only on
	# localhost which is more compatible and is not less secure.
	bind-address            = 127.0.0.1

good luck,
James