mirror of
https://github.com/tommytran732/MariaDB-Root-Password-Reset
synced 2024-11-21 10:21:34 -05:00
Update mariadb-103.sh
This commit is contained in:
parent
52a108e92b
commit
035b38e954
@ -13,7 +13,7 @@ mariadb_root_reset(){
|
|||||||
SQL="${Q1}${Q2}${Q3}"
|
SQL="${Q1}${Q2}${Q3}"
|
||||||
mysql mysql -e "$SQL"
|
mysql mysql -e "$SQL"
|
||||||
pkill mysqld
|
pkill mysqld
|
||||||
service mariadb restart
|
service mysqld restart
|
||||||
output "Your MariaDB root password is $rootpassword"
|
output "Your MariaDB root password is $rootpassword"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user