FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


MySQL Problem





mtorregiani
Hi

I'm installing a script on my Frihost Account and I had some trouble with the databases

I got this error

Code:
Access denied for user: 'mtorregi_short@localhost' to database 'dd'



This is the part of the code what should be wrong

Code:
// MySQL Configuration
$sqldatabase = "localhost"; // MySQL HOST
$sqlusername = "mtorregi_db"; // MySQL Username
$sqlpassword = "mtorex1"; // MySQL Password
$sqldb = "db"; // The Database the Information is stored


////////////////////MySQL Connection, DO NOT TOUCH!!///////////////////////////////////////
$conn = mysql_connect($sqldatabase, $sqlusername, $sqlpassword) or die(mysql_error());/////
mysql_select_db($sqldb,$conn) or die(mysql_error()); //////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////
?>


Can anyone explain my problem?



Thanks a lot! Very Happy
mathiaus
Try ...
Code:
$sqldb = "mtorregi_db"; // The Database the Information is stored
mtorregiani
Thanks a lot

It works now.
gnomme
is there any problem with the mysql website? I am having problems with the site, specialy with the downloads
Related topics
mysql problem
ALTER TABLE mySQL problem.
mysql problem
What is useful way in this php+mysql problem?
MySQL problem...
Mysql problem
MySQL HELP!!
MySQL problem (as usual)
MySQL problem :'(
mysql problem
mySQL problem
header already sent? (and now introducing a mysql problem)
server -4 Mysql problem
MySQL problem - Can't insert stuff in to database
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

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