Tag: databases

My MySQL set-up

Install MySQL via homebrew brew install mysql Data will be stored by default at /usr/local/var/mysql. You can confirm this as follows: $>mysql.server start $>mysql -u root mysql> select @@datadir; +-----------------------+ | @@datadir | +-----------------------+ | /usr/local/var/mysql/ | +-----------------------+ 1 row in set (0.00 sec) $>mysql.server stop Moving the data directory means editing the my.cnf file …

Read more