PDA

View Full Version : What to enter and how to know?


Tino
30-05-2004, 09:15
// Begin User Config

$gllcts2_dbhost = "localhost"; // Host
$gllcts2_dbuser = "username"; // Username
$gllcts2_dbpass = "password"; // Password
$gllcts2_dbname = "gllcts2"; // Database
$gllcts2_dbprefix = "gllcts2_"; // Prefix for tables

// End User Config

First of all, what do I put in were, and how do I know my user name for the database and the location. I know, Im a nOOb.

This is for the webpost script.

In advance, Thanks

Tino

McAfee
30-05-2004, 12:54
gllcTS2 requires access to a MySQL database.
so your website must feature a MySql server.
without MySQL on your website gllcTS2 won't work.

$gllcts2_dbhost = "localhost"; // Host.
This is the location of the MySQL server. localhost if on the same machine, but if it lies elsewhere, you may supply an ip address. or hostname, but IP is highly recomended.

$gllcts2_dbuser = "username"; // Username
$gllcts2_dbpass = "password"; // Password
This is the user/pass combo for the mysql access. Most mysql servers start off with a "root" user. But since this user has full unrestricted access, it is highly recomended that a new user with just the access you need be created. Basicly one limited to the database you are gonna use.

$gllcts2_dbname = "gllcts2"; // Database
This is the name of the database where all the tables will be created. For neatness you can have gllcts2 on it's own database. But it can share an existing database with another application as well. The tables will be created automatically once mysql access is setup correctly. (Databases are not created automatically)

$gllcts2_dbprefix = "gllcts2_"; // Prefix for tables
This just adds prefix to tables, this is usefull when sharing databases. So you don't end up with 2 tables called "clients" or 2 tables called "servers", instead all gllcts2 tables will start of as "gllcts2_something".

I hope this clears things up.

Tino
30-05-2004, 14:29
thanks, realy did...

Im looking in to it now. And it looks like its working!
Atleast it has contact with SQL database!

Tino

Tino
30-05-2004, 15:13
well, Its not showing up. and I have waited like 20 min for it to come up.

I have done everything thats in the readme file... Strange!

Any one know what can be wrong?