简体   繁体   中英

MySQL installation on Mac OSX 10.9.4

I am trying to install mysql on my mac OSX maverics.

I have followed this guide and executed the following command:

Guide:

http://www.macminivault.com/mysql-mavericks/

I have executed the following command in terminal:

bash <(curl -Ls http://git.io/eUx7rg)

I got this error:

rocky$ bash <(curl -Ls http://git.io/eUx7rg)
Downloading MySQL Installers ... may take a few moments
######################################################################## 100.0%
...
...
Installing MySQL, administrator password required ...
Password:
Installing MySQL start up items...
Password:
installer: Package name is MySQL Startup Item
installer: Installing at base path /
installer: The install was successful.
...
...
Click Install to install the MySQL preferance pane
...
...
...
sudo: /usr/local/mysql/support-files/mysql.server: command not found
sudo: /usr/local/mysql/support-files/mysql.server: command not found
/dev/fd/63: line 126: SORRY, MySQL IS NOT RUNNING ... THERE MUST BE A PROBLEM: command not found

Am I missing something or should I install anything?

Thanks, R

you can do it with a GUI way, use this link http://dev.mysql.com/downloads/mysql/ and download your version. Install mysql and the options.

After that you will find the mysql option in your System Preferences.

I used that way on my MacBook Pro and works.

I managed to resolve this issue.

Steps to follow:

1) I restarted my MAC 2) I removed everything I have installed till now. 3) Did a fresh installation using script and it worked!

I managed to get it with HomeBrew

brew install mysql

Make sure that you have command line tools if you get some error

xcode-select --install

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM