Thursday, October 02, 2025

Re: mariadb-secure-installation doesn't connect to configured socket

On 2025-10-01 09:58, Michael Hekeler wrote:
> What happens if you add --socket=/var/www/run/mysql/mysql.sock to the
> command line when
> executing the script?

Indeed, that works!
--socket was not stated in the man page, but may be indirectly
documented via

> Other unrecognized options will be passed to the server.

?

Also seems to work using --defaults-file=/etc/my.cnf, which I skimmed
passed too quickly.

Thank you!


Paul

No comments:

Post a Comment