aria_log_control? ? ib_logfile0? mysql-bin.000001? test
http1.stu31.com.pid? ib_logfile1? mysql-bin.index
12.测试启动
加入mysql路径进环境变量
[root@http1 mysql]# vim /etc/profile.d/mysqld.sh
export PATH=/usr/local/mysql/bin:$PATH
[root@http1 mysql]# source /etc/profile.d/mysqld.sh
[root@http1 mysql]# mysql
Welcome to the MariaDB monitor.? Commands end with ; or \g.
Your MariaDB connection id is 2
Server version: 5.5.36-MariaDB-log MariaDB Server
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> select version();
+--------------------+
| version()? ? ? ? ? |
+--------------------+
| 5.5.36-MariaDB-log |
+--------------------+
1 row in set (0.00 sec)
安装完成!