[ 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 3] Install Memcached Storage Engine for MySQL on CentOS 5.4

[Level 1] How to install Jython on Ubuntu.

[Level 2] Solaris 10 Technical Conference ( 2009/10/25,11/13,12/4 ) -- Basic SMF hands-on lab