CentOS 7 安装 MariaDB wangxiuwen 2018-11-24 技术 tech, 技术 0 评论 字数统计: 43(字) 阅读时长: 1(分)安装1234yum install mariadb mariadb-serversystemctl start mariadb systemctl enable mariadb mysql_secure_installation #设置root密码等相关允许远程连接1234mysql -uroot -puse mysql;update user set host = '%' where user = 'root';flush privileges;