MySQL on Mac osx 10.5

At the time of this writing i have removed MySQL 5.1 and have gone back to 5.0.x - due to having lots of problems. I thought I'd make some notes, that might help people out.

1. Firstly install the server and then the startup item.

2. Then create a .profile within your home directory, if it doesn't already exist.

3. edit and include the following ->

# MySQL Commands
# - points to server for use
alias mysql=/usr/local/mysql/bin/mysql
alias mysqladmin=/usr/local/mysql/bin/mysqladmin

# - controls startups
alias start_mysql="/Library/StartupItems/MySQLCOM/MySQLCOM start"
alias stop_mysql="/Library/StartupItems/MySQLCOM/MySQLCOM stop"

4. Reload .profile file (from within the particular user directory)->

. ./.profile

NB. Please note security issues will need to dealt with separately.




Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo].

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.
Bg