Last active
July 26, 2020 16:25
-
-
Save valerio-bozzolan/b10199e2e2f835b7ca9a to your computer and use it in GitHub Desktop.
Debian GNU/Linux MySQL-MariaDB autologin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
######################################## | |
# MySQL | MariaDB autologin | |
######################################## | |
# Put in your .bashrc | |
alias mysql='mysql --defaults-file=/etc/mysql/debian.cnf' | |
alias mysqldump='mysqldump --defaults-file=/etc/mysql/debian.cnf' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment