PDA

View Full Version : Server setup.


Kether Rowan
12-20-2003, 12:41 PM
Okay, so I'm impatient. ;>

I havn't been able to find documentation/directions on creating the initial account through mysql (I believe) and what needs to be done to dbconnect.php to have the game itself running. I believe I have everything else configured correctly, or could, once I knew I had something messed up.

Could somone point me to these last two steps to getting the game running?

Talisman
12-20-2003, 01:09 PM
Are you setting this up on a local machine or on a hosted site?

If local machine, do you have phpMyAdmin installed?
If hosted site, how many SQL databases are you permitted?

The correct answer to creating your database is dependent on the above info.

The dbconnect info is:

$DB_USER="xxx"; //The name you use to log into your SQL database
$DB_PASS="yyyyy"; //The password used by the above name
$DB_HOST="localhost"; //Database Hostname (usually localhost will work)
$DB_NAME="lotgd"; //The name of the database, either as created in your local SQL database or as provided by your webhost.

Kether Rowan
12-20-2003, 11:24 PM
It's up and running, localhost only, at least during the learning-curve time. But I've got it now, thanks again for the hand. If it goes live, I'll have it regd and use it as another code-testing base. Right now, I'm going to see what I can alter just to learn this stuffs.

Talisman
12-21-2003, 04:02 AM
Glad to have been of help...

Forloyn
02-03-2004, 05:10 AM
and if you get

'no database selected'

what then?


$DB_USER="xxx";
$DB_PASS="yyy";
$DB_HOST="localhost";
$DB_NAME="lotgd";


yea the database is named lotgd, just to make it simple on my feble mind.

Talisman
02-03-2004, 02:12 PM
Did you run the SQL script to create the tables, fields and data in the database?