osx - Will the MAMP(PRO) mysql conflict with brew install mysql on macos -


i'm trying install clean mysql on macos sierra. installed brew, decided use stackoverflow answer. nevertheless, before installation, these pre-install check done:

  1. i have checked bash line mysql command, , found no such command.
  2. i brew info mysql, , found mysql not installed.
  3. however, still have doubt on might not have clean installation environment. use find / -name mysql -type d search directory mysql. , i've found there mysql included in mamp. these line writes:

    /applications/mamp/db/mysql /applications/mamp/db/mysql/mysql /applications/mamp/library/lib/perl5/site_perl/5.22.0/darwin-2level/auto/dbd/mysql /applications/mamp/library/lib/perl5/site_perl/5.22.0/darwin-2level/dbd/mysql 

i've installed mamp 2 years ago. want learn mysql in command line rather one-click environment mamp. , wonder if can install mysql using brew generic mysql environment if don't uninstall mamp? , why mamp will/will not affect mysql installed brew?

not really, wont' on conflict.

mamp use port, , brew use default mysqm port 3306

mamp use foder: /applications/mamp/library/bin/mysql

brew use own folder : /usr/local/cellar/mysql/(version...)

with brew don't need use path execute bin files, type 'mysql -uroot -p' on terminal.


Comments

Popular posts from this blog

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -