Why can I connect to the MySQL database?
Well, first check to see if you can log in to the MySQL db using PHPMYADMIN from the link on the UCI CIS Server home page. If you cannot log in from PHPMYADMIN, then the login and password you are trying to use is not what we used when we set up the MySQL db for you… please notify us and we will try to correct that for you (in person visit is best, but e-mail from your personal UCI e-mail account is okay). If you can log in, then your login/password is fine and there is probably an error in your code. I had a problem with invisible characters that was easy enough to fix but took me a long time to figure out that there was nothing wrong with the code, per se, but there were some invisible characters in it that were causing a PARSE ERROR. Look for things like that, too.