Frequently Asked Questions
Database information to enter into config.php?
-
Database information to enter into config.php?
Posted on July 29, 2005
Written by
Sasha (view more by Sasha)
Filed under FA-PHPHosting: Installation, FAQ, Flinx: Installation, PHPCalendar, PHPCurrently, PHPFanBase: Installation, PHPQuotes, Scripts
What do I enter in the config file under dbhost, dbname, dbuser and dbpass? How/Where do I get this information?
To install PHPFanbase, first you need to create a SQL Database to house all your member information in, and a username and password so PHPFanbase can access it. You can create these through your domain cPanel under MySQL or SQL. If done correctly the data you enter into PHPFanbase should then look something like this:
$dbhost = "localhost"; $dbname = "domainnam_fans"; $dbuser = "domainnam_yourname"; $dbpass = "password";
Depending on your host, you may need to enter your domain username as part of your username and/or database name.
If you have hosting on someone else’s domain and don’t have access to the main Control Panel, you need to ask your host to create a SQL database, username and password for you. The username they create for you also needs to have ALL ACCESS to the database for PHPFanbase to work properly.