Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:mac:builds:mysql [2007/12/07 21:18] – billh | docs:mac:builds:mysql [2012/04/25 22:09] (current) – [mysql] billh | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== mysql ====== | ====== mysql ====== | ||
* download source from http:// | * download source from http:// | ||
- | * [[..: | + | * [[..: |
< | < | ||
- | ./configure --prefix=/ | + | ./configure --prefix=/ |
+ | --mandir=/ | ||
+ | --infodir=/ | ||
+ | --enable-local-infile \ | ||
+ | --enable-thread-safe-client | ||
make | make | ||
Line 19: | Line 23: | ||
sudo chown -R root . | sudo chown -R root . | ||
sudo chown -R mysql var | sudo chown -R mysql var | ||
+ | |||
+ | (note - if you get a socket error when trying the command below to start the server, you need to create the socket file like this) | ||
+ | cd /tmp | ||
+ | sudo touch mysql.sock | ||
+ | sudo chown mysql:wheel mysql.sock | ||
(start the MySQL server) | (start the MySQL server) | ||
Line 29: | Line 38: | ||
sudo / | sudo / | ||
</ | </ | ||
+ | ===== thread safe client ===== | ||
+ | The **%%--enable-thread-safe-client%%** flag tells mysql to build mysqlclient_r. | ||
+ | ===== See Also ===== | ||
+ | * [[..: | ||
+ | ===== External Links ===== | ||
+ | * [[http:// | ||
+ | * http:// |