mariadb(mysql)[详解]
本文链接: https://blog.csdn.net/root__oo7/article/details/82817501 安装: [root@bogon ~]# yum install mariadb -y #客户端 [root@bogon ~]# yum install mariadb-server -y #服务端 启动服务: [root@bogon ~]# systemctl start mariadb [root@bogon ~]# ss -tnl | grep 3306 #查看端口确定是否被监听 LISTEN 0 50 *:3306 *:* 说明:若是mysql启动 将mariadb改为mysql即可 进入mariadb: [root@bogon ~]# mysql #注意 Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 2 Server version: 5.5.56-MariaDB MariaDB Server Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to