you need to make sure that the MySQL server is running at the time you are trying to access.
The best thing to do would be to start it as a Windows XP service on startup.
Also make sure that you are connecting to an existing database and you are using a valid username and password.
It would be helpful if you could tell us the SQL error that you are getting when you were trying to access the database.