标签:关闭防火墙 user sql ble maria 服务 emc service lld
一. 安装
1.yum install mariadb-server -y // 在线安装数据库
2.systemctl start mariadb.service // 启动数据库服务
3.systemctl enable mariadb.service // 设置开机启动
二. 访问设置:关闭防火墙
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
三. 设置root 默认密码
1, mysql_secure_installation
四.新增用户及授权
create user dms identified by ‘dms‘;
grant all on *.* to dms@‘%‘;
五.新增数据库
create database DMS default charset ‘utf8‘;
标签:关闭防火墙 user sql ble maria 服务 emc service lld
原文地址:https://www.cnblogs.com/liumwen/p/9311657.html