2024-04-21 06:03:25 +02:00
|
|
|
# This should go to `/etc/mysqladm/config.toml`
|
|
|
|
|
2024-08-19 16:47:34 +02:00
|
|
|
[server]
|
|
|
|
# Note that this gets ignored if you are using socket activation.
|
|
|
|
socket_path = "/var/run/mysqladm/mysqladm.sock"
|
|
|
|
|
2024-04-21 06:03:25 +02:00
|
|
|
[mysql]
|
2024-08-19 16:47:34 +02:00
|
|
|
|
|
|
|
# if you use a socket, the host and port will be ignored
|
|
|
|
# socket_path = "/var/run/mysql/mysql.sock"
|
|
|
|
|
2024-04-21 06:03:25 +02:00
|
|
|
host = "localhost"
|
2024-05-14 02:21:23 +02:00
|
|
|
port = 3306
|
2024-08-19 16:47:34 +02:00
|
|
|
|
|
|
|
# The username and password can be omitted if you are using
|
|
|
|
# socket based authentication. However, the vendored systemd
|
|
|
|
# service is running as DynamicUser, so by default you need
|
|
|
|
# to at least specify the username.
|
2024-04-21 06:03:25 +02:00
|
|
|
username = "root"
|
2024-07-09 21:34:59 +02:00
|
|
|
password = "secret"
|
2024-08-19 16:47:34 +02:00
|
|
|
|
2024-07-09 21:34:59 +02:00
|
|
|
timeout = 2 # seconds
|