Skip to content

Commit

Permalink
修复一个低级错误
Browse files Browse the repository at this point in the history
  • Loading branch information
maicong committed Feb 23, 2016
1 parent e663845 commit f6093cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lnmp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ function InstallService() {
echo -e "\n[client]\nsocket = /home/userdata/mysqld.sock" >> /etc/my.cnf;

if [ "$mysqlV" != "MySQL-5.7-Dev" ]; then
[ "$mysqlV" != "MySQL-5.6" ] && \
[ "$mysqlV" == "MySQL-5.6" ] && \
sed -i "s@symbolic-links=0@symbolic-links=0\nexplicit_defaults_for_timestamp@g" /etc/my.cnf;
mysql_install_db --user=mysql;
else
Expand Down

0 comments on commit f6093cb

Please sign in to comment.