Skip to content

Commit 9ee33a3

Browse files
committed
Fix the instructions
1 parent c6f070e commit 9ee33a3

File tree

1 file changed

+11
-7
lines changed
  • root/etc/s6-overlay/s6-rc.d/init-mariadb-poststart

1 file changed

+11
-7
lines changed

root/etc/s6-overlay/s6-rc.d/init-mariadb-poststart/run

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,20 @@ else
1111

1212
#####################################################################################
1313
# #
14-
# Logrotate requires the following permission: #
15-
# GRANT ALL ON *.* TO root@localhost IDENTIFIED VIA unix_socket WITH GRANT OPTION ; #
16-
# You can grant it via: #
14+
# Logrotate Instructions #
15+
# #
16+
# Add the following to /config/custom.cnf under [mysqld]: #
17+
# log_error = /config/log/mysql/mariadb-error.log #
18+
# #
19+
# Login to the SQL shell inside the container using: #
1720
# mariadb -uroot -p<PASSWORD> #
21+
# And run the following command: #
22+
# GRANT ALL ON *.* TO root@localhost IDENTIFIED VIA unix_socket WITH GRANT OPTION ; #
1823
# #
19-
# You can read more about it here: #
20-
# https://mariadb.com/kb/en/authentication-from-mariadb-10-4/ #
24+
# Restart the container to apply the changes. #
2125
# #
22-
# And add the following to /config/custom.cnf under [mysqld]: #
23-
# log_error = /config/log/mysql/mariadb-error.log #
26+
# You can read more about root@localhost permissions here: #
27+
# https://mariadb.com/kb/en/authentication-from-mariadb-10-4/ #
2428
# #
2529
#####################################################################################
2630

0 commit comments

Comments
 (0)