This is the simplest way to restart the server on Mac OSX that I found
my-computer:~ me$ mysqladmin -uroot -p shutdown
Enter password:
my-computer:~ me$ sudo mysqld_safe
Starting mysqld daemon with databases from /sw/var/mysql
Monday, October 20, 2008
Thursday, October 16, 2008
Wednesday, October 8, 2008
MySQL Python API
If you try to install the python API for MySQL on Leopard, and receive the following message:
lipo: can't open input file: /var/tmp//ccDsRjet.out (No such file or directory)
make sure you check out this.
lipo: can't open input file: /var/tmp//ccDsRjet.out (No such file or directory)
make sure you check out this.
Monday, June 9, 2008
Friday, June 6, 2008
Installing BerkeleyDB perl module from CPAN
I was getting an error executing:
cpan -i BerkeleyDB
This seemed to be because I did not have Berkeley installed on my mac. Well no problem, just execute
port install db46
from Macports. After that finishes, just set up a link in /usr/local e.g.
ln -s /usr/local/BerkeleyDB.4.6/ /usr/local/BerkeleyDB
and then
cpan -i BerkeleyDB
should work.
Tuesday, June 3, 2008
Enable sending email on Mac OS X
It wasn't completely obvious to me, but here is what you need to execute in order to be able to send email from your Mac.
in a terminal:
postfix start
Subscribe to:
Posts (Atom)