Problems
Moderator: Extend-A-Story Moderators
- Sir Toby
- Site Admin
- Posts: 413
- Joined: Sat Apr 26, 2003 3:42 pm
- Location: Portland, Oregon, USA
- Contact:
Re: Problems
Hi Crimson,Crimson wrote:Having trouble getting the program to find the database. Need more info about what to replace the fields in db.php to make it work.
Sorry for the delay in responding. As JH has mentioned, I have not been following the forum too closely lately.
As for answering your question, the fields in db.php need to be set as follows:
$host is the hostname of the computer where the database is on. If the database is the same computer as the web server, this will be 'localhost'. Otherwise, you'll need to find the hostname or IP address of the computer running the database and put it there.
$user is the name of the MySQL user you will be using to access the database. If you are using a hosted service providing access to a MySQL database, they will likely have provided a username for you to use. If you are configuring your own MySQL database, refer to the documentation for how to create a user.
$password is the password for the user you are using above.
$database is the name of the database you will be using to store the Extend-A-Story data. Again, if you are using a hosted service providing access to a MySQL database, they will likely have given you a database to use. If you are configuring your own MySQL databae, refer to the documentation for how to create a database.
Hopefully this solves your problem. If you still have issues, don't hesitate to ask.