Access MAMP's MySQL from Terminal

前端 未结 7 1211
时光说笑
时光说笑 2020-12-07 13:34

I want to practice using SQL instead of phpMyAdmin.

How do I log into MAMP\'s MySQL from the terminal?

相关标签:
7条回答
  • 2020-12-07 14:37

    I could not get any of the above working :/ I went to http://blog-en.mamp.info/2009/08/using-mysql-command-line-with-mamp.html and it worked perfectly. Hope this helps.

    Open a new terminal window, copy and paste the section below and TADA!

    /Applications/MAMP/Library/bin/mysql --host=localhost -uroot -proot

    0 讨论(0)
提交回复
热议问题