Skip to content
This repository was archived by the owner on Jan 8, 2020. It is now read-only.

Commit f6093cb

Browse files
committed
修复一个低级错误
1 parent e663845 commit f6093cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lnmp.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ function InstallService() {
330330
echo -e "\n[client]\nsocket = /home/userdata/mysqld.sock" >> /etc/my.cnf;
331331

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

0 commit comments

Comments
 (0)