I apologize if this is overly simple but I've had no luck getting it to work nor finding an answer to this. I've installed Apache, PHP, MySQL on WindowsXP and they all work. Meaning I can look at php info() and see a nice page, Apache gives me the default page and when I open the MySQL Command Line Client I can connect to the default databases, perform a query, etc. Also, I installed phpMyAdmin and can see the MySQL databases from the phpMyAdmin pages (which are php pages). However I cannot figure out how to "connect" to MySQL from a PHP page. I've used different variations of the following code, but they all yield a blank page. Any idea what I am doing wrong? It seems like this should be the simplest part. And since the phpMyAdmin page sees the databases I really don't get it. This php page is saved to C:/www/test and the databases are located under C:/Program Files/MySQL/MySQL Server 5.0/data <?php $host = "localhost"; $user = "root"; $pass = "admin"; $connect = mysql_connect($host, $user, $pass) or die("Could not connect to mysql server"); $sql = mysql_create_db("test1"); if (!sql) { echo "there was an error" . mysql_error(); } else { echo "database test was created"; } Thanks for any help you can provide. -Jim