Yetsuki Posted December 19, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 34 Reputation: 7 Joined: 04/24/12 Last Seen: December 19, 2012 Share Posted December 19, 2012 (edited) I'm not the best at PHP but is this possible? I think it's a little silly that it's loaded onto *athena's MySQL database by default.. Was wondering if anyone has already done this or could guide me through doing it? Edited December 19, 2012 by Yetsuki Link to comment Share on other sites More sharing options...
clydelion Posted December 19, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 754 Reputation: 186 Joined: 05/22/12 Last Seen: October 15, 2022 Share Posted December 19, 2012 FluxCP use *athena's database for in-game data only. You can use a different sql server for FluxCP-only tables. check config/servers.php Link to comment Share on other sites More sharing options...
Yetsuki Posted December 19, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 34 Reputation: 7 Joined: 04/24/12 Last Seen: December 19, 2012 Author Share Posted December 19, 2012 (edited) sooooo just set what's in servers.php to the database I want FluxCP to install to? and not pointing to my *athena's database? EDIT: -facepalm- it worked, dunno why I didn't just try that sooner. Thank you sir ^^; Edited December 19, 2012 by Yetsuki Link to comment Share on other sites More sharing options...
clydelion Posted December 19, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 754 Reputation: 186 Joined: 05/22/12 Last Seen: October 15, 2022 Share Posted December 19, 2012 This part is the fluxcp database servers.php '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." ), Link to comment Share on other sites More sharing options...
Question
Yetsuki
I'm not the best at PHP but is this possible? I think it's a little silly that it's loaded onto *athena's MySQL database by default.. Was wondering if anyone has already done this or could guide me through doing it?
Edited by YetsukiLink to comment
Share on other sites
3 answers to this question
Recommended Posts