[MARIADB] 루트 패스워드 분실
Log on to your system as AdChapter 3 Resetting the Root Password: Windows Systemsministrator. Stop the MySQL server if it is running. For a server that is running as a Windows service, go to the Services manager: From the Start menu, select Control Panel , then Administrative Tools , then Services . Find the MySQL service in the list and stop it. If your server is not running as a service, you may need to use the Task Manager to force it to stop. Create a text file containing the following statements. Replace the password with the password that you want to use. UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root'; FLUSH PRIVILEGES; Write the UPDATE and FLUSH statements each on a single line. The UPDATE statement resets the password for all root accounts, and the FLUSH statement tells the server to reload the grant tables into memory so that it notices the passwor...