DateDoc |
03-06-2005 04:13 PM |
mySQL Question
I can add users to mySql but when I add a user to a database I get this error:
Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:xxxpornb_wordpress:localhost", "xxxpornb_admin","<PASSWORD HERE>");
PHP $dbh=mysql_connect ("localhost", "xxxpornb_admin", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("xxxpornb_wordpress");
I also went and checked another domain I have on the same server and it has the same error when I go to mySQL there. It never had that error before. Repaired all tables and all are 'OK' but still cannot at a user to a database....... :mad: :mad: :helpme :helpme
What do I need to do?
|