iT邦幫忙

0

zabbix 安装报错

错误

MariaDB [(none)]> create database zabbix character set utf8 collate utf8_bin;
Query OK, 1 row affected (0.000 sec)

MariaDB [(none)]> grant all privileges on zabbix.* to zabbix@localhost identified by 'password';
Query OK, 0 rows affected (0.000 sec)

MariaDB [(none)]> quit
Bye
[root@zabbix ~]# zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix
Enter password:
ERROR 1118 (42000) at line 1278: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.

但如果是用默认的计算机名 localhost,则可以正常安装。

我有尝试更改 grant 处的用户名为 zabbix@zabbix,但还是不行,这个还需要改哪里吗?

as900 iT邦新手 1 級 ‧ 2020-04-09 14:26:03 檢舉
安装的时候,安装的是 “mariadb-server” ,换成 “mysql-server” 就好了

1 個回答

0
echochio
iT邦高手 1 級 ‧ 2020-04-03 10:17:00
ERROR 1118 (42000) at line 437: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.

....ERROR 1118

innodb_strict_mode  = 0

.... 改改看

as900 iT邦新手 1 級 ‧ 2020-04-09 14:27:12 檢舉

已经好了,我把安装的 mariadb-server 换成 mysql-serve 就好了,谢谢你!

我要發表回答

立即登入回答