Configuring MariaDB/MySQL server to only use UNIX socket – OpenBSD 6.4


by Özgür Kazanççı · November 25th, 2018 · My OpenBSD Tutorials

Hello there.

Today, I’m going to explain configuring MariaDB/MySQL server to only use UNIX socket – ignoring the TCP networking. This will prevent MariaDB/MySQL from using any TCP/IP communication, setting only Unix socket locally&connecting through it, and that brings better security and much better connection performance.

Unix sockets are faux-files, so they’re accessible ONLY from/within the local server.
Continue reading Configuring MariaDB/MySQL server to only use UNIX socket – OpenBSD 6.4