What OS are the two running on? Are they on the same box? Are you sure MySQL is running? If its a linux type system try netstat -antp and look for mysql listening on a port. Other than that I think we need a little more information about how you have things setup.