Example #1
0
        public static MySqlConnection GetDBConnection()
        {
            string datasource = @"127.0.0.1";
            string port       = "3306";
            string database   = "mes_interface";
            string username   = "******";
            string password   = "******";

            return(DbMySQLConnect.GetDBConnection(datasource, port, database, username, password));
        }
Example #2
0
        public static MySqlConnection GetDBConnection()
        {
            string datasource = @"172.16.0.22";
            string port       = "3306";
            string database   = "mes_2";
            string username   = "******";
            string password   = "******";


            return(DbMySQLConnect.GetDBConnection(datasource, port, database, username, password));
        }