时间:2021-07-01 10:21:17 帮助过:5人阅读
1.service mariadb status/start/stop/restart
一系列的mariadb的常用命令
2.新增一个yangsf的用户,密码是yangsf,可以从本机或者任何一台机器上连接
GRANT ALL PRIVILEGES ON *.* TO ‘yangsf‘@‘localhost‘ IDENTIFIED BY ‘yangsf‘ WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO ‘yangsf‘@‘%‘ IDENTIFIED BY ‘yangsf‘ WITH GRANT OPTION;
mariadb使用总结
标签: