You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docker/docker-init.sh
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,9 @@ if ! /etc/init.d/mysql status; then
29
29
/etc/init.d/mysql start
30
30
fi
31
31
32
+
# Give debian-sys-maint access, to avoid complaints later
33
+
mysql mysql <<<"GRANT ALL PRIVILEGES on *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY '$(awk '/^password/ {print $3; exit}' /etc/mysql/debian.cnf )' WITH GRANT OPTION; FLUSH PRIVILEGES;"
34
+
32
35
echo"Checking if the IETF database exists at $MYSQLDIR ..."
33
36
if [ !-d$MYSQLDIR/ietf_utf8 ];then
34
37
if [ -z"$DATADIR" ];then
@@ -97,4 +100,4 @@ cd /home/$USER/$CWD || cd /home/$USER/
0 commit comments