This commit is contained in:
mark 2012-11-10 20:06:36 +00:00
parent 8ff1a903a0
commit 14873aaa3e
78 changed files with 360 additions and 231 deletions

View file

@ -10,20 +10,20 @@ namespace Server.Engines.MyRunUO
public static bool Enabled = false;
// Details required for database connection string
public static string DatabaseDriver = "{MySQL ODBC 3.51 Driver}";
public static string DatabaseServer = "localhost";
public static string DatabaseName = "MyRunUO";
public static string DatabaseUserID = "username";
public static string DatabasePassword = "password";
public const string DatabaseDriver = "{MySQL ODBC 3.51 Driver}";
public const string DatabaseServer = "localhost";
public const string DatabaseName = "MyRunUO";
public const string DatabaseUserID = "username";
public const string DatabasePassword = "password";
// Should the database use transactions? This is recommended
public static bool UseTransactions = true;
public const bool UseTransactions = true;
// Use optimized table loading techniques? (LOAD DATA INFILE)
public static bool LoadDataInFile = true;
public const bool LoadDataInFile = true;
// This must be enabled if the database server is on a remote machine.
public static bool DatabaseNonLocal = ( DatabaseServer != "localhost" );
public const bool DatabaseNonLocal = ( DatabaseServer != "localhost" );
// Text encoding used
public static Encoding EncodingIO = Encoding.ASCII;