protected CreateConnection() throws MusicInfoException {
        try {
            if (isFirstAccess) {
                Properties dbProperties = initilizePropMySql(dbPropertiesFileName);
                final String driver = dbProperties.getProperty("mysql.driver");
                user = dbProperties.getProperty("mysql.user");
                password = dbProperties.getProperty("mysql.password");
                final String url = dbProperties.getProperty("mysql.url");
                final String port = dbProperties.getProperty("mysql.port");
                final String dbName = dbProperties.getProperty("mysql.name");
                connection_url = String.format("%s:%s/%s", url, port, dbName);
                logger.info(connection_url);
                Class.forName(driver);
            }
            conn = DriverManager.getConnection(connection_url, user, password);
            //Auto commit is disabled
            conn.setAutoCommit(false);

            if (isFirstAccess) {
                createTable();
                isFirstAccess = false;
            }

        } catch (SQLException | IOException | ClassNotFoundException ex) {
            logger.warn("{} was caught while trying to create Connection to db", ex.getClass().getName(), ex);
            throw new MusicInfoException(ex);
        }
        logger.debug("ConnectionCreator is initialized.");
    }