Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » RADICORE Installation Issues » How to consolidate all the Radicore databases into a single database
Re: How to consolidate all the Radicore databases into a single database [message #7655 is a reply to message #7654] Fri, 17 September 2021 17:45 Go to previous messageGo to previous message
PeterdePutter is currently offline  PeterdePutter
Messages: 4
Registered: September 2021
Location: Amersfoort
Junior Member
Sure, the relevant items as follows:
Please note that name of the (single) database has changed into "auditgame".

$GLOBALS['dbms']   = 'mysql';      // database engine is MySQL
$GLOBALS['dbhost'] = 'localhost';
$GLOBALS['SERVER_NAME'] = 'localhost';

$GLOBALS['dbusername'] = 'Peter';
$GLOBALS['dbprefix']   = 'k1593_';
$GLOBALS['dbport']     = 3306;
$GLOBALS['dbsocket']   = null;

// this demonstrates the multi-server option (see FAQ92)
if (preg_match('/^(127.0.0.1|localhost|desktop|laptop)$/i', $_SERVER['SERVER_NAME'])) {
    global $servers;
    $servers[0]['dbhost']     = $dbhost;
    $servers[0]['dbengine']   = $dbms;
    $servers[0]['dbusername'] = $dbusername;
    $servers[0]['dbuserpass'] = $dbuserpass;
    $servers[0]['dbport']     = $dbport;
    $servers[0]['dbprefix']   = $dbprefix;

// these are the database names used in the Data Dictionary
    $servers[0]['dbnames']    = 'audit, dict, menu, workflow';
// these are the database names used on the server
    $servers[0]['switch_dbnames'] = array('audit' => 'auditgame',
					  'dict' => 'auditgame',
					  'menu' => 'auditgame',
					  'workflow' => 'auditgame');
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Installation issue
Next Topic: V 2.19.0 - logon problem
Goto Forum:
  


Current Time: Mon Apr 29 23:13:22 EDT 2024

Total time taken to generate the page: 0.01148 seconds