Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

forgot my mysql password mac

MacOSX MySql root Password Reset master solution
Step by step guide-
$ 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 -u root
 
PREVIOUS NEXT
Tagged: #forgot #mysql #password #mac
ADD COMMENT
Topic
Name
8+1 =