Adds MySql Support

This commit is contained in:
Twitchy 2011-07-12 13:31:36 +12:00
parent 0997b5bd5d
commit 3e17e42a37
11 changed files with 96 additions and 30 deletions

View file

@ -72,6 +72,12 @@ namespace TShockAPI
/// </summary>
public string StorageType = "sqlite";
public string MySqlHost = "localhost";
public string MySqlDbName = "";
public string MySqlPort = "3306";
public string MySqlUsername = "";
public string MySqlPassword = "";
public static ConfigFile Read(string path)
{
if (!File.Exists(path))