Skip to content
Snippets Groups Projects
Verified Commit 46845bd5 authored by David Beniamine's avatar David Beniamine
Browse files

Fix mysql cmdline

parent e5d70a5d
Branches
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ fi
user=$(awk -F '=' '/MYSQL_USER/{print $2}' .env)
db=$(awk -F '=' '/MYSQL_DATABASE/{print $2}' .env)
pass=$(awk -F '=' '/MYSQL_PASSWORD/{print $2}' .env)
mysql="mysql -u $user $db -p$pass"
mysql="mariadb -u $user $db -p$pass"
DIR="$(dirname $0)"
......@@ -122,6 +122,7 @@ case $action in
usage
;;
"mysql")
echo $cmdmy $mysql
$cmdmy $mysql
;;
"restart")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment