Skip to content

Commit 7591950

Browse files
author
Arthur Gautier
committed
mysql5.6 now exits if run as root
Signed-off-by: Arthur Gautier <baloo@gandi.net>
1 parent bb005fa commit 7591950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/install_mysql56.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ echo 'log_slave_updates' | tee -a /etc/mysql/conf.d/gtid.cnf
4848
# Start mysql (avoid errors to have logs)
4949
/etc/init.d/mysql start || true
5050
tail -1000 /var/log/syslog
51-
nohup mysqld --log-bin=mysql-ctl-bin.log --server-id 2 --binlog-format=row --gtid_mode=on --enforce-gtid-consistency=on --log_slave-updates -P 3307 --socket=/var/run/mysqld/mysqld-ctl.sock --datadir=/var/ramfs/mysql-ctl --pid-file=/var/lib/mysql/mysql-ctl.pid &
51+
nohup mysqld --log-bin=mysql-ctl-bin.log --server-id 2 --binlog-format=row --gtid_mode=on --enforce-gtid-consistency=on --log_slave-updates -P 3307 --socket=/var/run/mysqld/mysqld-ctl.sock --datadir=/var/ramfs/mysql-ctl --pid-file=/var/lib/mysql/mysql-ctl.pid --user=root &
5252
#Give it time to start
5353
sleep 5
5454
tail -1000 nohup.out

0 commit comments

Comments
 (0)