From bc138686c18c60e3ec79d80ce5530f94b35e0de0 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 8 Mar 2025 01:48:41 +0100 Subject: [PATCH] Update mysql_setup.md --- tutorials/mysql_setup.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tutorials/mysql_setup.md b/tutorials/mysql_setup.md index dd19485b..5d092c6e 100644 --- a/tutorials/mysql_setup.md +++ b/tutorials/mysql_setup.md @@ -77,4 +77,6 @@ Open `my.cnf`, add text below to the bottom of the file and save it: [mysqld] bind-address=0.0.0.0 ``` +Restart MySQL/MariaDB to apply these changes. This will override the default MySQL configuration, which by default will only accept requests from localhost. Updating this will allow connections on all interfaces, and thus, external connections. Make sure to allow the MySQL port (default 3306) in your firewall. + If your Database and Wings are on the same machine and won't need external access, you can also use the `pterodacrtyl0` interface IP address rather than `127.0.0.1`. This IP address is from wings' docker interface and can be found in the `config.yml` of your wings instance, the default is `172.18.0.1`.