in reply to Can't Connect to MySQL Database

A couple of different to look at:

1. Have you tried connecting to the database via the localhost address (127.0.0.1)?

2. Is the database server actually up and running?

3. Can you connect via the command-line client?

4. Do you have a user and password set up to connect with?

5. It helps a great deal if you can show the code that is giving you trouble.

-- Brett