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