标签:like systemctl 服务器 set ati adb show from mys
yum install mariadb-server
systemctl start mariadb
systemctl enable mariadb
mysql_secure_installation
此处设置的是数据库root密码,和系统root无关。
开始root密码默认为空,直接回车,然后设置root密码
mysql -u root -p
use mysql;
select host, user from user;
update user set host=‘%‘ where host=‘上面命令你自己看到的主机名‘;
flush privileges;
修改vim配色方案
cd ~
vim .vimrc
colorscheme desert
修改服务器字符集
vim /etc/my.cnf
在mysqld节下
character-set-server=utf8mb4
show variables like "%character%";show variables like "%collation%";
标签:like systemctl 服务器 set ati adb show from mys
原文地址:https://www.cnblogs.com/alantop/p/12237864.html