Error 1005 "Can't create table (errno: 13)"
Found the answer here https://stackoverflow.com/a/4037158/5285571. I was having trouble because my database was not located at /var/lib/mysql
. I ended up having to do sudo chown -R mysql:mysql /usr/local/mysql/data/my_database
.