How do I install command line MySQL client on mac?

前端 未结 14 2238
失恋的感觉
失恋的感觉 2020-12-22 15:58

I want to install the MySQL client for the command line, not a GUI. I have searched over the web but only found instructions on installing the MySQL server.

14条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-22 16:21

    Open the "MySQL Workbench" DMG file and

    # Adjust the path to the version of MySQL Workbench you downloaded
    cp "/Volumes/MySQL Workbench 6.3.9.CE/MySQLWorkbench.app/Contents/MacOS/mysql" /usr/local/bin
    # Make sure it's executable
    chmod +x /usr/local/bin/mysql
    

    Eject the DMG disk

提交回复
热议问题