Autor Subiect: Resetare parola mysql/mariadb macos  (Citit de 24295 ori)

Admin

  • Administrator
  • guru
  • *****
  • Mesaje postate: 58
  • Karma: +0/-0
Resetare parola mysql/mariadb macos
« : Februarie 10, 2023, 04:42:49 p.m. »
$ 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

Bafta!