macports + mysql5
macports installs all the mysql 5 commands with a ‘5’ at the end. If you only have mysql5 and don’t care for having to remember to type that ‘5’ at each command, just run
for file in /opt/local/bin/mysql*; do
sudo ln -s $file `echo $file | sed "s/5$//"`;
done;
and be happy.
Written by Anton Stroganov
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mysql
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#