bernhardt Posted November 30, 2003 Share Posted November 30, 2003 I was wondering why I get this message everytime I attempt to link a user to a database... from the Cpanel. Connection Strings Perl $dbh = DBI->connect(\"DBI:mysql:bernhard_ee:localhost\",\"bernhard_e\",\"<PASSWORD HERE>\"); PHP $dbh=mysql_connect (\"localhost\", \"bernhard_e\", \"<PASSWORD HERE>\") or die (\'I cannot connect to the database because: \' . mysql_error()); mysql_select_db (\"bernhard_ee\"); Link to comment https://forums.phpfreaks.com/topic/1444-need-help/ Share on other sites More sharing options...
nysebamse Posted December 1, 2003 Share Posted December 1, 2003 What message do you get? Link to comment https://forums.phpfreaks.com/topic/1444-need-help/#findComment-4770 Share on other sites More sharing options...
bernhardt Posted December 1, 2003 Author Share Posted December 1, 2003 What message do you get? Connection Strings Perl $dbh = DBI->connect(\"DBI:mysql:bernhard_ee:localhost\",\"bernhard_e\",\"<PASSWORD HERE>\"); PHP $dbh=mysql_connect (\"localhost\", \"bernhard_e\", \"<PASSWORD HERE>\") or die (\'I cannot connect to the database because: \' . mysql_error()); mysql_select_db (\"bernhard_ee\"); When I try to install Invision... all it gives me is cannot connect to the database.. Link to comment https://forums.phpfreaks.com/topic/1444-need-help/#findComment-4771 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.