1. Write down your notes and go to the official website each time. It takes a long time to install and save time for yourself.
Mysql 5.1.45. /configure -- prefix =/usr/local/mysql5 -- without-debug -- without-example -- without-docs -- without-geometry -- without-ndb-debug -- with-fast-mutexes -- with-embedded-server -- with-charset = latin1 -- with-extra-charsets = all -- enable-thread-safe-client -- with-readline -- with-pthread -- enable-profiling -- enable-local-infile -- enable-plugin er -- with-big-tables -- with-plugins = federated, innodb_plugin, partition -- -Client-ldflags =-all-static -- with-mysqld-ldflags =-all-static -- with-innodb # with-client-ldflags, with-mysqld-ldflags compile to the client and mysqld server. # Mysql 5.5.30cmake. -DCMAKE_INSTALL_PREFIX =/usr/local/mysql55 \-DDEFAULT_CHARSET = latin1 \-character = all \-character = ON \-DENABLED_LOCAL_INFILE = ON \-DWITH_EMBEDDED_SERVER = 1 \-Hangzhou = 1 \ -DWITH_EXAMPLE_STORAGE_ENGINE = 1 \-DWITH_FEDERATED_STORAGE_ENGINE = 1 \-runtime = 1 \-runtime = 1 \-runtime = 1 \-DWITH_UNIXODBC = 1 \-DWITH_SSL = yes
This article is from My DBA life blog, please be sure to keep this source http://huanghualiang.blog.51cto.com/6782683/1302078