public static string GetDefaultMysqlConnString() { string connstr; //connstr = DbConnMysql.GetConnectString("localhost", "root", "123456", "cdl"); connstr = DbConnMysql.GetConnectString("localhost", "root", "", "cdl"); //connstr = DbConnMysql.GetConnectString("192.168.0.254", "Test", "123456", "cdl"); //connstr = DbConnMysql.GetConnectString("192.168.0.188", "remote", "123456", "cdl"); return(connstr); }
public override DbconnBase Clone() { try { if (m_MySqlConnection != null) { DbConnMysql conn = new DbConnMysql(); conn.m_MySqlConnection = this.m_MySqlConnection.Clone(); return(conn); } } catch (Exception exp) { MyLog.Log("Clone:Exception:" + exp.Message); Close(); //throw; } return(null); }