SuPr3Me MoTF Posted May 4, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 45 Reputation: 1 Joined: 04/20/17 Last Seen: July 14, 2017 Share Posted May 4, 2017 Hellow, gusy! How can i change the Default place of the SQL FILES? I dont like the Flux running on the same local of my server main.. how can i change it? Link to comment Share on other sites More sharing options...
0 crazyarashi Posted May 4, 2017 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 776 Reputation: 239 Joined: 02/11/17 Last Seen: Yesterday at 01:17 PM Share Posted May 4, 2017 29 minutes ago, SuPr3Me MoTF said: Hellow, gusy! How can i change the Default place of the SQL FILES? I dont like the Flux running on the same local of my server main.. how can i change it? You Can Install Your Flux CP in a different server. then just arrange the config of your flux cp to connect with the your database :)) 1 Link to comment Share on other sites More sharing options...
0 SuPr3Me MoTF Posted May 4, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 45 Reputation: 1 Joined: 04/20/17 Last Seen: July 14, 2017 Author Share Posted May 4, 2017 19 hours ago, crazyarashi said: You Can Install Your Flux CP in a different server. then just arrange the config of your flux cp to connect with the your database :)) I cant find this conf in conf.php... I think this thing too, but, without success. Link to comment Share on other sites More sharing options...
0 Cyro Posted May 5, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted May 5, 2017 3 hours ago, SuPr3Me MoTF said: I cant find this conf in conf.php... I think this thing too, but, without success. this is the file you need to modfiy Link to comment Share on other sites More sharing options...
0 SuPr3Me MoTF Posted May 6, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 45 Reputation: 1 Joined: 04/20/17 Last Seen: July 14, 2017 Author Share Posted May 6, 2017 On 04/05/2017 at 10:50 PM, Cyro said: this is the file you need to modfiy array( 'ServerName' => 'FluxRO', // Global database configuration (excludes logs database configuration). 'DbConfig' => array( //'Socket' => '/tmp/mysql.sock', //'Port' => 3306, //'Encoding' => 'utf8', // Connection encoding -- use whatever here your MySQL tables collation is. 'Convert' => 'utf8', // -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available. // -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8) 'Hostname' => '127.0.0.1', 'Username' => 'ragnarok', 'Password' => 'ragnarok', 'Database' => 'ragnarok', 'Persistent' => true, 'Timezone' => null // Example: '+0:00' is UTC. // The possible values of 'Timezone' is as documented from the MySQL website: // "The value can be given as a string indicating an offset from UTC, such as '+10:00' or '-6:00'." // "The value can be given as a named time zone, such as 'Europe/Helsinki', 'US/Eastern', or 'MET'." (see below continuation!) // **"Named time zones can be used only if the time zone information tables in the mysql database have been created and populated." ), // This is kept separate because many people choose to have their logs // database accessible under different credentials, and often on a // different server entirely to ensure the reliability of the log data. 'LogsDbConfig' => array( //'Socket' => '/tmp/mysql.sock', //'Port' => 3306, //'Encoding' => null, // Connection encoding -- use whatever here your MySQL tables collation is. 'Convert' => 'utf8', // -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available. // -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8) 'Hostname' => '127.0.0.1', 'Username' => 'ragnarok', 'Password' => 'ragnarok', 'Database' => 'ragnarok', 'Persistent' => true, 'Timezone' => null // Possible values is as described in the comment in DbConfig. ), WHERE is the DbCpConfig? I only see the main and logs dbs array( 'ServerName' => 'FluxRO', // Global database configuration (excludes logs database configuration). 'DbCpConfig' => array( //'Socket' => '/tmp/mysql.sock', //'Port' => 3306, //'Encoding' => 'utf8', // Connection encoding -- use whatever here your MySQL tables collation is. 'Convert' => 'utf8', // -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available. // -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8) 'Hostname' => '127.0.0.1', 'Username' => 'ragnarok', 'Password' => 'ragnarok', 'Database' => 'ragnarok', 'Persistent' => true, 'Timezone' => null // Example: '+0:00' is UTC. // The possible values of 'Timezone' is as documented from the MySQL website: // "The value can be given as a string indicating an offset from UTC, such as '+10:00' or '-6:00'." // "The value can be given as a named time zone, such as 'Europe/Helsinki', 'US/Eastern', or 'MET'." (see below continuation!) // **"Named time zones can be used only if the time zone information tables in the mysql database have been created and populated." ), Link to comment Share on other sites More sharing options...
0 Akkarin Posted May 14, 2017 Group: Forum Manager Topic Count: 282 Topics Per Day: 0.06 Content Count: 3144 Reputation: 1630 Joined: 03/26/12 Last Seen: April 15 Share Posted May 14, 2017 At present the cp tables are stored in the same location as the server tables. You can have your cp Web files separate from your server files if your webhosting allows remote sql, but if not I'm afraid you can't separate them. I'd looked into keeping cp tables separate in the past, but for speed and for the sake of extra confusing configs I let the idea go. Link to comment Share on other sites More sharing options...
Question
SuPr3Me MoTF
Hellow, gusy!
How can i change the Default place of the SQL FILES? I dont like the Flux running on the same local of my server main.. how can i change it?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts