FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

My Sql does not work at all.

 


[FuN]goku
ok mysql is really screwed and wont work.. when i add a user to the db it gives me this message

Quote:
Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:fungoku_work:localhost","fungoku_","<PASSWORD HERE>");
PHP $dbh=mysql_connect ("localhost", "fungoku_", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("fungoku_work");
althalus
That's just the example connections you get when you have added the user to the database. Whether you use perl or php you'd use that code (with modifications) to connect to the database in a script.

I'm not that great with mySQL, but I hope that answers your concern. Smile
orno
create the database and the users for it through cPanel...then just adjust the parameters in the web app u want to use the database for
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.