In your original post, I missed you are using MariaDB 10 so the default port for it is 3307 instead of 3306 used by Maria DB 5.
I also should have mentioned a way to test your connection from remote. Are you running WeeWX on a Raspberry PI? If so, you can install just the MariaDB client using: sudo apt-get install mariadb-client-10.1 Once the client is installed, you can run this command to test your connection to the Synology (my Synology is at 192.168.71.4): $ mysql -usaimail -p -h 192.168.71.4 Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 7 Server version: 5.5.62-MariaDB Source distribution Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/822cafd7-4400-4836-844e-d9e695c58aa5%40googlegroups.com.