Page 1 of 1

PHP connecting to MySQL in Xen Virtualization

Posted: Mon Nov 29, 2010 7:48 am
by izuddin
I’m having problems connecting to my php application to the mySQL database. It just wont connect.

Description:

Scripts to connect to mySQL have been tested in development environment and its working fine. Tested on localhost however.

My php app is in a VM. Lets say VM1.

And my mySQL database is in a VM2. I'm using phpMyAdmin.

Port 3306 for both VMs have been opened.

A test user in mySQL have been created and granted all priviledges.

So now my php app in VM1 cannot connect to mySQL in VM2.

You have any idea why?