![]() Commands end with or g.Ĭopyright (c) 2000, 2021, Oracle and/or its affiliates. Php started george brew services start Successfully started (label: mysql -u root $ brew install brew link -force -overwrite The following shows how to install MySQL 5.7 and how to start up the MySQL service, using the brew services command. ![]() Installing MySQL 5.7 with the brew command Homebrew provides a command ( brew services …) for starting and stopping a service, but I like having additional error checking and control that I can do in a shell script. I created a shell script that I use to start, stop, restart, and get process information about my running MySQL service. I will describe some tweaks that I made to my MySQL environment. It is very easy to install a working database system with Homebrew. We will again use Homebrew to install MySQL version 5.7. My Altoplace website uses MySQL 5.7, so this post will describe MySQL 5.7. I am creating a similar environment on my Mac. My current website host, Pair Networks, uses MySQL versions 5.6 and 5.7 (seems to default to 5.6). My original post supports static website development (for example, Grav). With the addition of MySQL to my Mac website development environment, I can now install Content Management Systems, such as WordPress that require a database system to function. This is a followup post to my earlier Configure Apache and PHP-FPM on macOS post.
0 Comments
Leave a Reply. |