Install mysql and navicat

Under Mac installation navicat

Internet search installation package Navicat ; open the newspaper After installing corrupted.
Baidu search.

  1. Input terminals sudo xattr -r -d com.apple.quarantine do not perform, there are spaces
  2. Opening the finder will find your application will automatically add navicat dragged into the path, and then press Enter, enter the password. My pathsudo xattr -r -d com.apple.quarantine /Applications/Navicat\ for\ MySQL.app

Mac installed under mysql

  1. Mounting the homebrew, by the official network installation, and can replace the mirror Tsinghua
  2. brew doctor confirmed brew work
  3. brew update update package
  4. brew install mysql mysql installation
    solutions installed too slow

mysql_secure_installation can set a password (to start the service in order to set the password)
run brew service start mysql mysql can start the background
run mysql.server start reception start mysql (turn off the console, stop the service)

Guess you like

Origin www.cnblogs.com/mojin/p/12669088.html