Demonstration of one-click installation method of MySQL
This article mainly gives you a brief introduction to the one-click installation method of MySQL. You can check the relevant professional terms on the Internet or find some related books to supplement them. We will not dabble here, so let's go straight to the topic. I hope this article on the one-click installation method of MySQL can bring you some practical help.
#! / bin/bash#baishuchao qq:995345781#MAKE_RUN=$ (($(more / proc/cpuinfo | grep processor | wc-l) + 1)) groupadd mysqluseradd-g mysql- s / sbin/nologin mysqltar zxvf mysql-5.0. 51a.tar.gzcd mysql-5.0.51a./configure\-prefix=/usr/local/mysql\-- enable-assembler\-- without-debug\-- with-mysqld-ldflags=-all-static\-- with-charset=utf8\-- with-extra-charsets=all\-- with-innodb\-- with-unix-socket-path=/usr/local/mysql/mysql. Sock\-enable-thread-safe-client\-with-mysqld-user=mysqlmake-j ${MAKE_RUN} make install/usr/local/mysql/bin/mysql_install_db-- user=mysqlcd..
MySQL installation method will first tell you here, for other related issues you want to know can continue to pay attention to our industry information. Our section will capture some industry news and professional knowledge to share with you every day.