![]() ![]() For Mac, you can use Sequel Pro to manage local and remote MySQL databases. It is always nice to have a GUI tool for managing databases. If you wish to change it though, you can use mysqladmin -u root password 'new-password'. It doesn't really matter for a local development database. ![]() Note: By default, the MySQL user root has no password. To connect with the command-line client, run: mysql -uroot You can see the different commands available for rver with: rver -help ![]() To stop it when you are done, run: rver stop Or, if you don't want/need a background service you can just use the rver tool: rver start To have launchd start MySQL now and restart at login: brew services start mysql Note: Sequel Pro does not support latest MySQL (version 8), because of that you may want to install MySQL 5.7 instead - brew install brew install mysql We will install MySQL using Homebrew, which will also install some header files needed for MySQL bindings in different programming languages (MySQL-Python for one). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |