weixin_41915416 2019-09-04 16:29 采纳率: 0%
浏览 442

搭建cacti服务器,在导入cacti.sql到MySQL时报错

搭建cacti服务器,在导入cacti.sql到MySQL时报错,过程如下:
[tony@localhost cacti]mysql -u cacti -p cacti < /var/www/html/cacti/cacti.sql
Enter password:
ERROR 1231 (42000) at line 6: Variable 'sql_mode' can't be set to the value of 'NO_AUTO_CREATE_USER'

MySQL版本是8.0.17.

请问此错误如何解决,谢谢各位。

  • 写回答

1条回答 默认 最新

  • zqbnqsdsmd 2019-10-04 15:46
    关注
    评论

报告相同问题?