📜  mac 中 mysql_secure_installation 的默认密码 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:04:54.984000             🧑  作者: Mango

代码示例1
$ 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