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

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

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