You can download the the latest version of mysql on following site :
http://dev.mysql.com/downloads/
Download the "mysql-standard-version-osxversion-platform.dmg".
Double-click the disk image to mount it, double-click the installer,
and get installing!
After the installation done, we need to start the mysql server mannually.
For that open the terminal window and enter following command :
$ sudo /usr/local/bin/mysqld_safe5
Once MySQL is running, you can tell it to run in the background by hitting Ctrl-
Z, then entering this command:
$ bg
Now you can close the terminal window, if you want to check whether mysql server
is up and running please have following command :
$ ps -ax | grep mysql
This command should return a few processes that relate to MySQL.
Finally we need to connect MySQL database, please have following command :
$ mysql5
No comments:
Post a Comment