Centos7安装mariadb

yum install -y mariadb-server

我们提供的服务有:成都做网站、成都网站建设、成都外贸网站建设、微信公众号开发、网站优化、网站认证、保靖ssl等。为上1000+企事业单位解决了网站和推广的问题。提供周到的售前咨询和贴心的售后服务,是有科学管理、有技术的保靖网站制作公司

systemctl enable mariadb

systemctl start mariadb

systemctl status mariadb

MySQL_secure_installation

firewall-cmd --add-port=3306/tcp --permanent

firewall-cmd --reload

mysql -u root -p

MariaDB [(none)]> GRANT ALL ON . TO root@'%' IDENTIFIED BY "yourpassword";

MariaDB [(none)]> FLUSH PRIVILEGES;

MariaDB [(none)]> exit


当前题目:Centos7安装mariadb
URL标题:http://pwwzsj.com/article/ijphej.html