How to reset password in MariaDB on Windows? -


how reset password in mariadb? use windows not linux. know how reset mysql mariadb password. tried search on google did not help.

i bumped same problem. lost root password test server on windows development machine. following linux step:

after

net stop mysql  

try invoking mysqld

mysqld --skip-grant-tables 

mysqld exit short message

[note] mysqld.exe <...5.5.48.mariadb> starting process <pid> ... 

then quit. tried launch mysqld directly, there no mysqld.exe process. service start command might have argument combination enabled mysqld run. tried pass setting configuration file works.

put

skip-grant-tables=true 

into mariadb 5.5\data\my.ini restart mysqld,

net stop mysql && net start mysql

then able login root.

don't forget removing inserted line , restart mysqld again.


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -