Skip to content

Instantly share code, notes, and snippets.

@agrimm
Created January 16, 2010 11:37
Show Gist options
  • Save agrimm/278791 to your computer and use it in GitHub Desktop.
Save agrimm/278791 to your computer and use it in GitHub Desktop.
192-168-1-6:~ agrimm$ sudo port install mysql5 +server
---> Computing dependencies for mysql5
---> Fetching mysql5
---> Attempting to fetch mysql-5.1.42.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/mysql5
---> Verifying checksum(s) for mysql5
---> Extracting mysql5
---> Applying patches to mysql5
---> Configuring mysql5
---> Building mysql5
---> Staging mysql5 into destroot
---> Installing mysql5 @5.1.42_0
The MySQL client has been installed.
If you also want a MySQL server, install the mysql5-server port.
---> Activating mysql5 @5.1.42_0
---> Cleaning mysql5
192-168-1-6:~ agrimm$ sudo port install mysql5 +server
Password:
---> Computing dependencies for mysql5
---> Cleaning mysql5
192-168-1-6:~ agrimm$ sudo port install mysql5-server
---> Computing dependencies for mysql5-server
---> Fetching mysql5-server
---> Verifying checksum(s) for mysql5-server
---> Extracting mysql5-server
---> Configuring mysql5-server
---> Building mysql5-server
---> Staging mysql5-server into destroot
---> Creating launchd control script
###########################################################
# A startup item has been generated that will aid in
# starting mysql5-server with launchd. It is disabled
# by default. Execute the following command to start it,
# and to cause it to launch at startup:
#
# sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist
###########################################################
---> Installing mysql5-server @5.1.42_0
******************************************************
* In order to setup the database, you might want to run
* sudo -u _mysql mysql_install_db5
* if this is a new install
******************************************************
---> Activating mysql5-server @5.1.42_0
---> Cleaning mysql5-server
192-168-1-6:~ agrimm$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment