Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

« Newer Snippets
Older Snippets »
4 total  XML / RSS feed 

Manually Starting & Stopping MySQL in Leopard

This is for software built from source according to:

Start MySQL
sudo launchctl unload -w /Library/LaunchDaemons/com.mysql.mysqld.plist

Stop MySQL
sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysqld.plist

MySQL 5 macports setup

You have to symlink mysql to the location on osx

first find out where mysql has put the socket:
mysql_config5 --socket

Next symlink /tmp/mysql.sock to the right location of the socket
sudo ln -s path-of-mysql.sock-from-above /tmp/mysql.sock

Start MySQL
sudo /opt/local/share/mysql5/mysql/mysql.server start


Stop MySQL
sudo /opt/local/share/mysql5/mysql/mysql.server stop

Starting and stopping MySQL on leopard.

#starting SQL:
sudo /usr/local/mysql/support-files/mysql.server start

Stoping SQL:
sudo /usr/local/mysql/support-files/mysql.server stop

Trac: Running the Standalone Server

Running the Standalone Server
After having created a Trac environment, you can easily try the web interface
by running the standalone server tracd:
  $ tracd --port 8000 /path/to/projectenv

Then, fire up a browser and visit http://localhost:8000/. You should get a
simple listing of all environments that tracd knows about. Follow the link
to the environment you just created, and you should see Trac in action.
« Newer Snippets
Older Snippets »
4 total  XML / RSS feed