Dark Knight
Dark Knight

Reputation: 503

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

Upvotes: 0

Views: 6401

Answers (3)

Daniel Georgiev
Daniel Georgiev

Reputation: 1340

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

Upvotes: 0

torre87
torre87

Reputation: 59

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.

Upvotes: 1

Dark Knight
Dark Knight

Reputation: 503

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!

Upvotes: 0

Related Questions