make sure the mysql daemon is running.
can you connect throught the mysql client (in the terminal?)
can you connect from a php script?
If you're going to have to be using mysql a lot, and admining your own system, I suggest picking up a book on it. Then when you have problems, you won't have to stress about it, you can just troubleshoot it and fix it.