Wishlist 0 ¥0.00

mysql server安装报错_安装VtigerCRM报错:MySQL Server should be configured with

安装报错提示如下:

MySQL Server should be configured with:

sql_mode = ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

主要原因是:

使用的mysql版本高了

解决办法:

1、替换低版本的mysql,最好mysql版本<5.7

2、修改相关文件,使用以下命令,或直接修改文件后上传

sudo nano /etc/mysql/my.cnf

在底部添加如下代码后,保存:

[mysqld]

sql_mode=ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

487402d88b89f2b2e969ea0921f164e0.png

通过FTP下载修改

7c83573fbdc5fc4f5fbb50f90f8dae15.png

修改my.cnf

最后一步,运行如下命令重启mysql:

sudo service mysql restart

0e374fbb990d376cd9f4b80c3041e512.png

重启mysql

再试一次安装vtigerCRM,报错消失,可以正常安装!

About Us

Since 1996, our company has been focusing on domain name registration, web hosting, server hosting, website construction, e-commerce and other Internet services, and constantly practicing the concept of "providing enterprise-level solutions and providing personalized service support". As a Dell Authorized Solution Provider, we also provide hardware product solutions associated with the company's services.
 

Contact Us

Address: No. 2, Jingwu Road, Zhengzhou City, Henan Province

Phone: 0086-371-63520088 

QQ:76257322

Website: 800188.com

E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.