![]() ![]() There are rver command available under /usr/local/bin directory, which is used to manage MySQL service. Type '\c' to clear the current input statement. Other names may be trademarks of their respective Oracle is a registered trademark of Oracle Corporation and/or itsĪffiliates. Commands end with or \g.Ĭopyright (c) 2000, 2018, Oracle and/or its affiliates. Now, Connect to MySQL server using the command: mysql -u root -p You can use above file to customize your MySQL server. The main confiugration file is created at: Configuration file: /usr/local/etc/my.cnf The binary files are installed under /usr/local/bin directory and all the MySQL related files are created under “/usr/local/var/mysql” directory. MySQL server has been installed on your system. ![]() mysqladmin -u root password 'newpassword' Use the following command to set a new password. Now you just need to configure things so that your MySQL server is auto-started brew services start mysqlĪlso, you have to set a strong password for the MySQL root account. Wait for the installation process finish. Start a terminal and run command to install MySQL: brew install mysql Here is the Homebrew installation tutorialĪt this time of writing this tutorial, Homebrew has MySQL 5.7.21 version in its main repository. Homebrew: Homebrew is a popular package management tools used for installing most open source software like Node.Terminal: You must have Mac Terminal access and little knowledge about working with the terminal application.Before starting the installation of MySQL using this tutorial you must have the following prerequisites ![]()
0 Comments
Leave a Reply. |