When I try to create a database as the root user in mysql via:
create database db3;
I receive the following error:
ERROR 3680 (HY000): Failed to create schema directory 'db34' (errno: 2 - No such file or directory)
I've already uninstalled and reinstalled mysql via homebrew but that doesn't seem to help at all. Any ideas?
When I type:
SHOW VARIABLES LIKE 'datadir';
+---------------+------------------------+
| Variable_name | Value |
+---------------+------------------------+
| datadir | /usr/local/mysql/data/ |
Is this the issue?