Computing Services and Instructional Technology
Help: (402) 465-7777 | Smith-Curtis Rm. 121 | Front Desk: (402) 465-2341 | Fax: (402) 465-2198
What host is my MySQL database on? How do I connect to it in PHP?
Your MySQL database lives on a host called 'db'.
To connect in PHP, you'll want to do something like this:
$dbh = mysql_connect('db', 'username', 'password') or die("Could not connect: " . mysql_error());
You will receive your username and password when you request a database.