*** empty log message ***
[fa-stable.git] / config_db.php
1 <?php
2
3 /*Connection Information for the database
4 - $def_coy is the default company that is pre-selected on login
5
6 - host is the computer ip address or name where the database is the default is localhost assuming that the web server is also the sql server
7
8 - user is the user name under which the database should be accessed - need to change to the mysql (or other DB) user set up for purpose
9   NB it is not secure to use root as the user with no password - a user with appropriate privileges must be set up
10
11 - password is the password the user of the database requires to be sent to authorise the above database user
12
13 - DatabaseName is the name of the database as defined in the RDMS being used. Typically RDMS allow many databases to be maintained under the same server.
14   The scripts for MySQL provided use the name logicworks */
15
16
17 $def_coy = 0;
18
19 /*--- for advanced users, manually install, uncomment this, fill in the correct information and erase the rows below
20 $tb_pref_counter = 1;
21
22 $db_connections = array (
23         0 => array ('name' => 'Training Co.',
24                 'host' => 'localhost',
25                 'dbuser' => 'your_db_user_name',
26                 'dbpassword' => 'your_db_password',
27                 'dbname' => 'your_db_name',
28                 'tbpref' => '0_')
29         );
30 */
31
32 $tb_pref_counter = 0;
33
34 $db_connections = array ();
35
36 ?>