编译
进入unix目录下, make
注意要关闭防火墙
数据库mariadb
MariaDB [mysql]> CREATE USER 'loguser'@'%' IDENTIFIED BY 'loguser';
Query OK, 0 rows affected (0.00 sec)
MariaDB [mysql]>
MariaDB [mysql]> GRANT ALL PRIVILEGES ON *.* TO 'loguser'@'%' WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)
MariaDB [mysql]>
MariaDB [mysql]> flush privileges;
Query OK, 0 rows affected (0.00 sec)