Scenario:
You are working as MariaDB / MySQL DBA and you need you change the password for root. How would you do that?Solution:
You can use mysqladmin command to change the password for root user. use below statement to change the passwordshell > sudo mysqladmin -u root -p password mynewpassword
Once you will hit enter, you will be asked to provide old password for root. Provide the password for root and hit Enter.
You are all set to login to MariaDB by using new root password. Use below command to login to MariaDB
shell> mysql -u root -p
provide new password, in my case it was mynewpassword.
Video Demo : How to change Root password in MariaDB or MySQL
Mua vé máy bay tại Aivivu, tham khảo
ReplyDeletesăn vé máy bay giá rẻ đi Mỹ
ve may bay my ve vietnam
giá vé nhật việt
vé máy bay từ đức về việt nam giá rẻ
khi nào có chuyến bay từ canada về việt nam
mua ve may bay tu han quoc ve viet nam
khách sạn cách ly