How do I find my MariaDB root password?
Answer
Reset the MySQL/MariaDB Root Password
Answer
Reset the MySQL/MariaDB Root Password
- mysqladmin –user=root password “newpassword” …
- Or, if a password has already been previously set and you’d like to change it to a new one, you can use the following syntax:
- mysqladmin –user=root –password=oldpassword password “newpassword”