Fix error when creating database using mysql dbms