May 27, 2003

Starting MySQL from a Terminal

I am always going to the MySQL Manual because I've forgotten some little thing. Like to start the damn thing. Because I'm not in MySQL all the time, I don't want it running all the time. But when I go to login into it, it's not running, and the command to start it has just fled my head. Every single time. So here it is, for Mac OS X.
shell> cd /usr/local/mysql shell> sudo ./bin/mysqld_safe (Enter your password, if necessary) (Press CTRL+Z) shell> bg (Press CTRL+D to exit the shell)
You should now be able to connect to MySQL by running '/usr/local/mysql/bin/mysql'.
Post Info

Tagged As MySQL

Comments are Open (1)

Posted at 12:27 PM

Comments

Daniel

hey me to man, i found this page on a google whilst trying to start the damn thing b/c i was to lazy to open the manual. Thanks for the post, as old as it may be.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Search
Comments on this post
Categories
Info
Tony Stephens
Copyright © 1995-2005
Site Version:
10
Licensed:
Creative Commons
Validate:
XHTML, CSS, 508, RSS
Subscribe
Blog-Fu, Link-Fu