Deepin 安装 MySQL 8
MySQL 8 开启权限
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
MySQL 操作
mysql -u root -p
# 本机 登陆
mysql -u root -h 192.168.217.82 -p
# 远程登陆
sudo service mysql restart
# 重启
sudo service mysql status
# 查看MySQL服务运行状态
远程连接
- Term
mysql -u root -h 192.168.217.82 -p
-
Navicat Premium
-
idea