
Login to your server using SSH.These commands must be run with root user privileges.
Mysql recover root password how to#
Pic 2: Viewing the MySQL root password How to Reset/Change MySQL Password The MySQL root password that is displayed on your terminal screen at the end of the RunCloud agent installation on your server (example below is installation on DigitalOcean) is meant to be kept for safekeeping elsewhere, but if you forgot to copy it down, you can still retrieve it. If you are on a Mac or Linux, there is already a built-in Terminal app installed. On a Windows machine, you can download the PuTTY software.

If you have no prior experience managing MySQL, don’t worry, with RunCloud, it is as easy as ABC.įirst, you need a terminal to work on. However, if you want to avoid any of these risks then SSH is the way to go. But it remains popular as it is fairly simple to use, even for non-technical people, and it provides an easily accessible tool that can save you time when you just need to run some simple tasks. Some administrators do not like to use a public-facing web app like phpMyAdmin because of the potential security vulnerabilities that it poses. You can manage either by accessing the server using a terminal and run the commands from there or you can safely install a MySQL database manager like phpMyAdmin as a web app using the RunCloud script installer. On RunCloud, there are a few ways to manage your MySQL server and database. MariaDB is a community-driven package by the original developers of MySQL, with the promise of future compatibility, hence, terminal commands and software tools for MySQL database can be used for MariaDB as well.

RunCloud uses MariaDB, an enhanced drop-in replacement for MySQL, as a database. Ever forgotten or just wanted to change your MySQL password? You’ve come to the right place – in this guide, we’ll walk you through how to set, change and recover your MySQL root password as well as other useful MySQL commands.
