MySQL/MariaDB with Credentials File
2020-05-12 · 1 min read · mysql mariadb authentication permission credentials credentials-file mysql-security ·Using a configuration file for mysql is a good practice as you don't immediately expose credentials. Below, you are going to mysql cli and immediately using the db named dbName. 1mysql --defaults-file=/path/to/credentials.ini dbName where credentials.ini has this format: 1[client] …
Read More