示例#1
0
        public MySQLDatabaseInterface kapcsolodas()
        {
            MySQLDatabaseInterface mdi = new MySQLDatabaseInterface();

            mdi.setErrorToUserInterface(true);
            mdi.setErrorToGraphicalUserInterface(false);
            mdi.setConnectionServerData("192.168.0.100", "szoftverf", "3306");
            mdi.setConnectionUserData("szoftverf", "szoftverf");
            mdi.makeConnectionToDatabase();

            return(mdi);
        }
示例#2
0
        public MySQLDatabaseInterface getDatabaseInterface()
        {
            MySQLDatabaseInterface mdi = new MySQLDatabaseInterface();

            mdi.setErrorToUserInterface(true);
            mdi.setErrorToGraphicalUserInterface(false);
            mdi.setConnectionServerData("127.0.0.1", "pizza", "3306");
            mdi.setConnectionUserData("root", "");
            mdi.makeConnectionToDatabase();

            return(mdi);
        }
示例#3
0
        public MySQLDatabaseInterface kapcsolodas()
        {
            MySQLDatabaseInterface mdi = new MySQLDatabaseInterface();

            mdi.setErrorToUserInterface(true);
            mdi.setErrorToGraphicalUserInterface(false);
            mdi.setConnectionServerData("localhost", "hungairshop", "3306");
            mdi.setConnectionUserData("root", "");
            mdi.makeConnectionToDatabase();

            return(mdi);
        }