Mysql: Disabling symbolic links using

Created on 11 Sep 2019  路  3Comments  路  Source: docker-library/mysql

mysql version 8

my.cnf

# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0

mysql logs Warning

[Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it' is deprecated and will be removed in a future release.

question

Most helpful comment

I believe what they're describing is the default behavior when starting a new container, because the default included my.cnf has that setting in it, but no longer needs it:
https://github.com/docker-library/mysql/blob/master/8.0/config/my.cnf

It's just log noise every time the container starts up.

All 3 comments

Could you describe the issue in more detail, I'm not sure what the issue is

The log output is just showing a warning for that option https://dev.mysql.com/doc/refman/8.0/en/server-options.html#option_mysqld_symbolic-links
You're using the provided default so this is the intended behavior

Default Value聽(>= 8.0.2) | OFF

I'm going to close since this isn't an error with the image

I believe what they're describing is the default behavior when starting a new container, because the default included my.cnf has that setting in it, but no longer needs it:
https://github.com/docker-library/mysql/blob/master/8.0/config/my.cnf

It's just log noise every time the container starts up.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mcandre picture mcandre  路  4Comments

BirkhoffLee picture BirkhoffLee  路  4Comments

TheNotary picture TheNotary  路  4Comments

axiqia picture axiqia  路  3Comments

whgibbo picture whgibbo  路  5Comments