public static void Initialize( frmMain Form ) { mForm = Form; ConnectionHolder con = new ConnectionHolder( "localhost", 3306, "eathena_test", "eathena_test", "eathena_test" ); mSql = new FinalSoftware.MySql.MySqlWrapper(); if( mSql.Init( con ) != MysqlError.None ) throw mSql.LastError; }
public static void Initialize(frmMain Form) { mForm = Form; ConnectionHolder con = new ConnectionHolder("localhost", 3306, "eathena_test", "eathena_test", "eathena_test"); mSql = new FinalSoftware.MySql.MySqlWrapper(); if (mSql.Init(con) != MysqlError.None) { throw mSql.LastError; } }