Beispiel #1
0
        public static MySqlConnection GetDBConnection()
        {
            string host     = "192.168.70.5";
            int    port     = 3306;
            string database = "Temper";
            string username = "******";
            string password = "******";

            return(DBMySQLUtils.GetDBConnection(host, port, database, username, password));
        }
Beispiel #2
0
        public static MySqlConnection GetDBConnection()
        {
            string host     = "localhost";
            int    port     = 3306;
            string database = "test";
            string username = "******";
            string password = "******";

            return(DBMySQLUtils.GetDBConnection(host, port, database, username, password));
        }