Viewing file: config_db.php (1.27 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*Connection Information for the database $def_coy - the default company that is pre-selected on login
'host' - the computer ip address or name where the database is. The default is 'localhost' assuming that the web server is also the sql server.
'port' - the computer port where the database is. The default is '3306'. Set empty for default.
'dbuser' - the user name under which the company database should be accessed. NB it is not secure to use root as the dbuser with no password - a user with appropriate privileges must be set up.
'dbpassword' - the password required for the dbuser to authorise the above database user.
'dbname' - the name of the database as defined in the RDMS being used. Typically RDMS allow many databases to be maintained under the same server. 'collation' - the character set used for the database. 'tbpref' - prefix on table names, or '' if not used. Always use non-empty prefixes if multiply company use the same database. */
$def_coy = 0;
$tb_pref_counter = 1;
$db_connections = array ( 0 => array ( 'name' => '[[site_name]]', 'host' => '[[softdbhost]]', 'port' => '', 'dbname' => '[[softdb]]', 'collation' => 'utf8_xx', 'tbpref' => '0_', 'dbuser' => '[[softdbuser]]', 'dbpassword' => '[[softdbpass]]', ), );
|