Brew services list shows mysql in the "error" state, but mysql is running correctly

When I start mysql with brew services start mysql the mysqld process is started correctly, and I can connect with mysql -uroot -p, but brew services show “error” for mysql.

Even though MySQL is running correctly, it seems to me something must be off. Is there something I can do to fix this?

launchctl output seems okay:

$ launchctl list | grep mysql
89005	1	homebrew.mxcl.mysql

In /var/log/system.log I do see some strange entries when running brew services restart mysql:

com.apple.xpc.launchd[1] (homebrew.mxcl.mysql[88489]): Service did not exit 5 seconds after SIGTERM. Sending SIGKILL.
com.apple.xpc.launchd[1] (homebrew.mxcl.mysql): This service is defined to be constantly running and is inherently inefficient.
com.apple.xpc.launchd[1] (homebrew.mxcl.mysql[88909]): Service exited with abnormal code: 1
com.apple.xpc.launchd[1] (homebrew.mxcl.mysql): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

I’ve run brew update and brew doctor shows no issues.

Exactly same behaviour here for mysql@5.7:

$ launchctl list | grep mysql
22762	1	homebrew.mxcl.mysql@5.7