Problems

General discussion about Extend-A-Story.

Moderator: Extend-A-Story Moderators

Post Reply
Crimson
Posts: 2
Joined: Wed Mar 02, 2005 5:37 am

Problems

Post by Crimson »

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.
JH
Posts: 1048
Joined: Sat Apr 26, 2003 4:31 pm
Location: UK
Contact:

Post by JH »

It might be a good idea for you to either PM or email Sir Toby, as I'm not sure how closely he's monitoring the Bulletin Board at present.
JH
User avatar
Sir Toby
Site Admin
Posts: 413
Joined: Sat Apr 26, 2003 3:42 pm
Location: Portland, Oregon, USA
Contact:

Re: Problems

Post by Sir Toby »

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.
Hi Crimson,

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.
Post Reply