racespec Posted February 5, 2008 Posted February 5, 2008 Hey Guys Doing a new install for a new site I am setting up? What i want to know is how to setup the Connection String for the DATABASE Connection Strings Perl $dbh = DBI->connect("DBI:mysql:dmaxaus_dmaxaus:localhost","dmaxaus_dmaxaus","<PASSWORD HERE>"); PHP $dbh=mysql_connect ("localhost", "dmaxaus_dmaxaus", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error()); mysql_select_db ("dmaxaus_dmaxaus"); my configure.php file is ok But how can i put the connection strings under the user for that database Thanks Tarek RACESPEC
masat Posted February 6, 2008 Posted February 6, 2008 I'm not sure what exactly you are doing here but you must first have access to the databse authorized via mysql privs. Also I have needed to change localhost from "localhost" to "mydomainname.com". Sorry I don't recognize your code you posted. How do you know when you know what you want to do for the rest of your life?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.