配置运行远程连接
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
配置使用账户密码登录
use mysql;update user set authentication_string=password('password'),plugin='mysql_native_password' where user='root';MariaDB [(none)]> set password for 'root'@'localhost'