Wednesday, January 10, 2018

HOW 2s

  1. Connecting to mysql on mac:  

Step1: $sudo su - root (provide password as login pwd)  
Step2: $sudo /usr/local/mysql/bin/mysqld_safe --skip-grant-tables
Step3: Open another terminal and login with this command
$sudo /usr/local/mysql/bin/mysql -u root   Done.

No comments:

Post a Comment