Jump to content
  • 0

FluxCP loading from a seperate MySQL db


Question

Posted (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 by Yetsuki

3 answers to this question

Recommended Posts

Posted (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 by Yetsuki
Posted

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."
 ),

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...