Exemplo n.º 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));
        }
Exemplo n.º 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));
        }