I'm trying to create a database using MySQL but getting an error message as follows:

mysql> create database XXX
    -> ;
ERROR 3680 (HY000): failed to create schema directory 'XXX' (errno: 2 - No such
file or directory)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.