在安装MariaDB二进制包后,记录下如下步骤配置安全和远程访问,以便后期查阅。
mysql_secure_installation
允许root远程访问
CREATE USER 'root'@'%' IDENTIFIED BY 'your_password';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
在安装MariaDB二进制包后,记录下如下步骤配置安全和远程访问,以便后期查阅。
CREATE USER 'root'@'%' IDENTIFIED BY 'your_password';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;