PATH="$PATH":/usr/local/mysql/bin复制代码
mysql -u root -p复制代码
show global variables like 'port';复制代码
首先下载Navicat for MySQL,史蒂芬周上有mysql
下载后打开,点击连接,sql
若是遇到这种状况 MySQL said: Authentication plugin 'caching_sha2_password' cannot be loaded: dlopen(/usr/local/lib/plugin/caching_sha2_password.so, 2): image not found数据库
解决方案:bash
在从新连接就行了ui