![]() With Homebrewįind out which versions you have installed with Homebrew: brew list Do a quick search to find out how to do this with your setup. If you already have MySQL installed without Homebrew, you should backup your databases and stop any running services. Sequel Pro can not log in to MySQL 8.0 on localhost.If anyone knows of a better way to accomplish this, I do hope they will share their insight :) The basic idea here is that you need to install all MySQL versions one at a time and assign each its own data directory. ![]() I hope this guide can help you and the future me. ![]() So I picked up a few things here and there and finally managed to connect all the pieces of the puzzle. Multiple MySQL versions on MacOS with HomebrewĪt the time of writing (december 2018), there aren’t any up-to-date and easy to apply guides on how to switch between different MySQL version on a Mac using Homebrew. Your database data is stored on your machine, so you won't lose everything everytime you stop the server. It just runs the server on localhost, but inside a container. It's meant to be paired with a tool like Laravel Valet, but I don't think it is an absolute requirement. So you will need to have docker installed. It also supports many different databases running at the same time, but uses docker behind the scenes. DBngin appĪs and commented below, there is this extremely easy to use app called DBngin, which lets you setup multiple databases (not only MySQL) simultaneously using different ports:Īnother neat solution that launched last month (august 2020) is Takeout. Making multiple MySQL versions work with Homebrew was tricky to say the least.įortunately there are 2 new easy ways that I learned of to achieve this.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |