Thread: mySQL Question
View Single Post
Old 03-06-2005, 04:13 PM  
DateDoc
Outside looking in.
 
DateDoc's Avatar
 
Industry Role:
Join Date: Feb 2005
Location: To Hell You Ride
Posts: 14,243
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.......

What do I need to do?
__________________
DateDoc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote