This updates our dev environment instructions to tell the user to install MariaDB instead of MySQL.
Details
- Reviewers
atul tomek - Commits
- rCOMM2a76b8cc3a0a: [docs] Switch from MySQL to MariaDB
I ran these instructions on my own machine and confirmed things work. I also created this Gist with instructions for migrating
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Was able to switch over from MySQL to MariaDB on my MacBook. I can confirm that TablePlus continues to work with the steps in this doc.
After following the steps, I ran into:
ERROR 1006 (HY000): Can't create database 'comm' (errno: 2 "No such file or directory")
when I tried running:
CREATE DATABASE comm;
After minimal research online, it seemed like it was a permissions-related issue. I decided to restart my computer on a whim (I'd stopped the mysql service and uninstalled and unlinked mysql@5.7, but figured just in case there was something still lingering from the previous mysql installation?), and that seemed to resolve the issue for me.
I realize "restart your computer" isn't a great solution nor does it help determine the root cause... but it got things working for me.
Realized that something is a bit borked with backup/restore on MariaDB, so holding off on this for now