PHP connecting to MySQL in Xen Virtualization

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
izuddin
Forum Newbie
Posts: 1
Joined: Mon Nov 29, 2010 7:40 am

PHP connecting to MySQL in Xen Virtualization

Post 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?
Post Reply