标签:base sele mariadb HERE mysql数据库 mysq use tar 客户
yum install mariadb mariadb-server - 安装
systemctl start mariadb - 启动
systemctl status mariadb - 查看服务状态
netstat -nap | grep 3306 - 检查3306端口口是否绑定到MySQL服务
ps -ef | grep mysql - 检查是否有名为mysql的进程
mysql -u root -p
use mysql;
update user set password=password('123456') where
user='root';
flush privileges;
quit
select version(); 查看版本
show databases ; 查看已有数据库
标签:base sele mariadb HERE mysql数据库 mysq use tar 客户
原文地址:https://www.cnblogs.com/ham-731/p/12121643.html