本文主要向大家介绍了MySQL数据库之zabbix 安装时 到第三步时 database type 没有mysql选项 ,通过具体的内容向大家展现,希望对大家学习MySQL数据库有所帮助。
没有MySQL选项:
思路首选想到httpd:
一些问题都会从日志中反映出来:
# tail -f error_log
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/pdo_mysql.so‘ - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
[Fri May 26 19:33:13 2017] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations
[Fri May 26 19:44:17 2017] [notice] caught SIGTERM, shutting down
[Fri May 26 19:44:17 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri May 26 19:44:17 2017] [notice] Digest: generating secret for digest authentication ...
[Fri May 26 19:44:17 2017] [notice] Digest: done
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/