Commit 6cd3d448 authored by root's avatar root
Browse files

Added a new clause to drop the gliders user before creating it again. There is...

Added a new clause to drop the gliders user before creating it again. There is a documented bug about that.
parent 381d231f
......@@ -61,6 +61,7 @@ sudo systemctl enable fetchlogs
echo "please enter your mysql root user password"
read -s pass
mysql -u root -p$pass < new_schema.sql
echo "DROP USER 'gliders'@'%';" | mysql -u root -p$pass
echo "CREATE USER 'gliders'@'%' IDENTIFIED BY '"$pass"' ;" | mysql -u root -p$pass
echo "GRANT ALL ON gliders.* TO 'gliders'@'%';" | mysql -u root -p$pass
cd bin
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment