Adds MySql Support
This commit is contained in:
parent
0997b5bd5d
commit
3e17e42a37
11 changed files with 96 additions and 30 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue