搭建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.
请问此错误如何解决,谢谢各位。