mysql 말아먹었을경우 root 권한 재부여
# 안전모드로 mysql 실행 mysqld --datadir="C:/ProgramData/MySQL/MySQL Server 8.0/Data" --console --skip-grant-tables --shared-memory mysql -u root use mysql update user set Select_priv = 'Y', Insert_priv = 'Y', Update_priv = 'Y', Delete_priv = 'Y', Create_priv = 'Y', Drop_priv = 'Y', Reload_priv = 'Y', Shutdown_priv = 'Y', Process_priv = 'Y', File_priv = 'Y', Grant_priv = 'Y', References_priv = 'Y', Ind..
2020. 10. 6.