I installed mysql in Mac after downloding its dmg file version 64 bit. While trying to create a database it gave me error 1006 -- can\'t create database. After browsing a nu
Check where is the root folder of mysql with:
mysql_config
If you are using Homebrew to install MySQL@5.7, the location is
/usr/local/Homebrew/var/mysql
I don't know if the location is the same for other versions.