This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-17. For the latest, interactive version please visit https://mariadb.com/kb/.

Basic works for hardening MariaDB.

Hello, I'm using "mysql Ver 15.1 Distrib 10.3.17-MariaDB, for Linux (x86_64) using readline 5.1" on CentOS 8. How can I set "max_password_errors" and "bind-address=127.0.0.1"? Which file must be edit? The "/etc/my.cnf" or "/etc/my.cnf.d/mariadb-server.cnf"?

Thank you.

Answer Answered by Ian Gilfillan in this comment.

I see you are running MariaDB 10.3. max_password_errors was added in MariaDB 10.4.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.