Problems encountered in linux project deployment

1: mysql is case sensitive

Remove case sensitivity during project operation

1: service mysql stop

2: Modify the my.cnf configuration file (/etc/mysql/my.cnf), pay attention to modify the permissions, chmod 777 my.cnf 

Add under the [mysqld] section:

#Make MYSQL case insensitive

lower_case_table_names=1

3: Start the mysql service

service mysql start (error is reported due to too many permissions in my.cnf)

Mysql Warning: World-writable config file '/etc/my.cnf' is ignored

4: Modify the permissions of the my.cnf file to

chmod 644/etc/my.cnf

 5: Just start myslq

service mysql start

 

2: Pay attention to the permissions of the project file under tomcat, otherwise it will not be accessible

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326753115&siteId=291194637