I was working on a MySQL Fabric installation, and had been working with disable_authentication set to yes:
...
[protocol.xmlrpc]
address = 0.0.0.0:32274
threads = 5
user = admin
password = hunter2
disable_authentication = yes
realm = MySQL Fabric
ssl_ca =
ssl_cert =
ssl_key =
...
I set it to 'no', and ran mysqlfabric manage stop
then mysqlfabric manage start --daemonize
. The client app broke, so I set disable_authentication back to 'yes' and ran mysqlfabric stop
again to restart it, but I got:
Permission denied.
I looked through the documentation, both locally and at online, and haven't seen any way to pass a username and password to the mysqlfabric
utility. I tried -u -p
as in MySQL and --user
and --password
, to no avail. The latter gives
mysqlfabric: error: no such option: --password
Which seems to suggest that --user
is a valid option, but I tried --pass
and -p
with no success.
I could probably just kill the process, but I'd like to know how to cleanly restart the server when authentication is enabled.