In other words, I type in one of the databases on my server, and I get 'Could not select the databases, are you sure it exists?' Here's my code: [code]<?php // connect and select a database $link = mysql_connect("localhost", "root", "mypassword") or die print "Connected successfully.<br>"; $db = "my_database"; mysql_select_db($db) or die("Could not select the database '" . $db . "'. Are you sure it exists?"); ?> [/code] So, I know I connected to my server successfully because it says "Connected Successfully." I actually already tried adding to this code: [code]$sql = 'SHOW DATABASES';[/code] But when I try the page again I still get the same message and it doesn't show any databases. I created 2 databases on my server and I can see them in phpmyadmin. Is there a problem with my server possibly?