db挿入1

603 ワード


ソース:https://stackoverflow.com/questions/32858216/error-1045-28000-access-denied-for-user-rootlocalhost-using-password-n
$ brew services stop mysql
$ pkill mysqld
$ rm -rf /usr/local/var/mysql/ # NOTE: this will delete your existing database!!!
$ brew postinstall mysql
$ brew services restart mysql
$ mysql -uroot