[ Level 3 ] How to build MySQL client tool - mysql

First, you have to download MySQL source and use the following command to build it.
$ ./configure --without-server --enable-thread-safe-client 
  --with-client-ldflags=-all-static --prefix=/usr/local/mysql 
   --with-machine-type=powerpc --with-zlib-dir=/usr/local/zlib 
    --without-debug  --without-docs --with-big-tables 
If you don't want to build it, there is a way to get it. (The sample is for Ubuntu only.)
$ apt-get install libmysqlclient15-dev

Wish this helps.

regards,
Stanley Huang

Comments

Popular posts from this blog

[Level 1] Rar tool for Solaris.

[Level 2] iif in Python