解决mysql远程连接bug1.登录宝塔修改mysql数据库root账户密码2.ssh终端使用root账户登录mysql> mysql -u root -p
> 输入你的密码后回车3.按顺序一条一条执行如下命令:
===============================start===================================
-- 1. 使用mysql数据库
> use mysql;-- 2. 创建允许远程访问的用户
> CREATE USER 'root'@'%' IDENTIFIED BY 'your_password';-- 3. 授予该用户所有数据库的所有权限
> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';-- 4. 刷新权限使配置生效
> FLUSH PRIVILEGES;
==========================end====================================4. 然后就可以使用远程软件登录mysql啦
Humility requires you to recognize weakness in your own arguments and sometimes also to accept reasons on the opposite side.
谦逊需要你在自己的观点当中认识到自己的弱点并且有时也要求你接受反方的理由。
Humility requires you to recognize weakness in your own arguments and sometimes also to accept reasons on the opposite side.
谦逊需要你在自己的观点当中认识到自己的弱点并且有时也要求你接受反方的理由。
Humility requires you to recognize weakness in your own arguments and sometimes also to accept reasons on the opposite side.
谦逊需要你在自己的观点当中认识到自己的弱点并且有时也要求你接受反方的理由。
你无法比此刻更年轻