How to use the MAMP Mysql command line client in a terminal

/Applications/MAMP/Library/bin/mysql -uroot -proot

如果要链接为默认的:

编辑 ~/.bash_profile

增加:

export PATH=$PATH:/Applications/MAMP/Library/bin

最后:

source ~/.bash_profile

测试下(打开MAMP):mysql -uroot -proot

参考:http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/

https://www.youtube.com/watch?v=0mC2R7Et2-c

© DeveWork.com 2018. sitemap  统计 Updated at 2018-01-06 22:22

results matching ""

    No results matching ""