Re: mysql: MySQL Security

Michael Widenius (monty@ANALYTIK.ANALYTIKERNA.SE)
Tue, 31 Mar 1998 21:25:23 +0200

>>>>> "Ben" == Ben Laurie <ben@algroup.co.uk> writes:

<cut>
Ben> b) if you've set the port <1024, so it gets filtered naturally by your
Ben> firewall, you have to run as root. The following patch fixes this
Ben> problem (on FreeBSD at least), if you add "MYSQL_USER=someuser; export
Ben> MYSQL_USER" to safe_mysqld.

Ben> Only lightly tested...

<cut>

Thanks for the patch! I have added this to MySQL 3.22, with the small
change that one should use mysqld --user=someuser instead of a
environment variable.

Yours,
Monty