public static bool SelectDB(string db_name) { return(MySQL1.Initialized && !(MySQL1.SQL == IntPtr.Zero) && MySQL1.mysql_select_db(MySQL1.SQL, db_name) == 0); }