# # Mandatory: no # Default: #说明:指定数据库信息,对于mysql,若设置为localhost则mysql用SOCKET来连接(需配合参数 DBSocket 使用),否则用IP连接;若DHHOST值为空,则默认连接PostgreSQL # DBHost=localhost DBHost= ### Option: DBName # Database name. # For SQLite3 path to database file must be provi...
3662:20190414:024445.767 [Z3001] connection to database 'zabbix' failed: [2059] Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib64/mysql/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory 3662:20190414:024445.767 Cannot connect to...
我也是重启了之后再次打开web界面显示:Database error No such file or directory但是我检查了数据库,我的zabbix数据库还在啊,为啥嘞,咋整嘞 扎扎亿个 LV1 1 楼主我的也发生了和你的一样的,怎么解决在线求 NoYoWiFi 吧主 9 这种问题一般是数据库连不上,链接数据库的地方有3处1,/etc/zabbix/zabbix_server...
2、Error connecting to database: No such file or directory 将Database host 的localhost改为127.0.0.1 3、Unable to create the configuration file. 点击Download the configuration file 进行下载配置文件 在上传到web站点下 /opt/www/zabbix/conf 4、date.timezone 找不到 vim php.ini date.timezone = "...
database error Error connecting to database: No such file or directory 解决办法: ln -s /var/lib/mysql/mysql.sock /tmp/ vim /usr/local/php/etc/php.ini mysqli.default_socket = /var/lib/mysql/mysql.sock ./php-fpm 再次访问:(正常了)...
然后修改为合适的值2.数据库连接报错Error connecting to database:No such file or directory 修改php.ini,在最后添加一行: mysqli.default_socket=/var/run/mysqld/mysqld.sock3.Unable to create the configuration file web服务器的用户对zabbix的前端目录的conf文件夹没有写权限,可以直接下载文件传进去或者赋权...
问题4:zabbix connection to database 'zabbix' failed,具体错误如下: $sudo vim /var/log/zabbix/zabbix_server.log 1359:20180123:060245.885 [Z3001] connection to database 'zabbix' failed: [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) ...
连接数据库时说我Error connecting to database: No such file or directory 我这是php与mysql的调用出毛病了,加个软连接 ln -s /var/lib/mysql/mysql.sock /tmp/ 之后修改php.ini文件加上mysqli.default_socket = /var/lib/mysql/mysql.sock
故障3:引导database/mysql/schema.sql时报错找不到该文件 [root@linux-A mysql]# mysql -uroot zabbix < database/mysql/schema.sql -bash: database/mysql/schema.sql: No such file or directory 解决: [root@linux-A mysql]# find / -name schema.sql ...
Error connecting to database: No such file or directory 这个是我们程序连接数据库的时候连接失败了。我找到了两种解决方式 1、建立软连接 ln -s /var/lib/mysql/mysql.sock /tmp/ 2、设置php监听mysql 默认的 socket 地址 # 编辑php的配置文件