![]() To login for the first time, you’ll have to use the root user. As stated above, this command will also install the MariaDB client. Leave it off if you want more control over the installation. To make that easier, just create an alias in the. -y directs apt-get to automatically answer yes to all prompts. Note, using Docker, you will need to force a TCP/IP connection to your MySQL container: mysql -u username -p -h 127.0.0.1 Close your terminal, open it again, and you should be good to go. ![]() Once MySQL Workbench is installed, you just need to add the path to the mysql binary to your path: /Applications/MySQLWorkbench.app/Contents/MacOS The command has a lot of options available, and you can check them out. ![]() Since I wanted MySQL Workbench installed anyway, this seemed like the easiest solution for me. See We have a list of sub-commands we can use: brew install, brew upgrade, brew uninstall, and more. You can’t download the client only from the MySQL Community Edition site (at least for Mac). To open the MySQL prompt, enter: sudo mysql. ![]() If, like me, you are using Docker or some other type of virtualization to provide a MySQL service for your Dev environment on a Mac, you will find that you do not have a MySQL client installed. Install and Configure MySQL connector C API Install through Homebrew brew install mysql-connector-c Configure mysqlconfig Find the file location by using the command ls -la which mysqlconfig Open the file with sudo privileges by any editor.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |