In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains the "CentOS MySQL software installation and startup and shutdown command introduction", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "CentOS MySQL software installation and startup and shutdown command introduction" bar!
I. CentOS MySQL software preparation
Apache-2.2.8
Php-5.2.6
Mysql-5.0.45.tar.gz
ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
The recommended order for installation is mysql- > gd- > apache- > php- > zend
II. Installation of CentOS MySQL software
Wget http://download.softagency.net/MySQL/Downloads/MySQL-5.0/mysql-5.0.45.tar.gz
Tar zxvf mysql-5.0.45.tar.gz
Cd mysql-5.0.45
/ configure-- prefix=/usr/local/mysql-- without-innodb-- without-debug-- with-mysqld-ldflags=-all-static-- with-client-ldflags=-all-static-- with-linuxthreads-- enable-thread-safe-client-- with-charset=gbk
-- without-debug\ remove debug mode
-- without-innodb\ remove innodb tables support innodb is a table that supports transaction processing and is suitable for enterprise applications
-- enable-thread-safe-client\ compiles the client in a threaded manner
-- with-client-ldflags=-all-static\
-- with-mysqld-ldflags=-all-static\ compiles the server and client statically
Make
Make install
Cp support-files/my-medium.cnf / etc/my.cnf
Groupadd mysql
Useradd-g mysql-s / sbin/nologin mysql
Cd / usr/local/mysql
Bin/mysql_install_db-user=mysql
Chown-R root.
Chown-R mysql var
Chgrp-R mysql.
CentOS MySQL start and shut down command
/ usr/local/mysql/share/mysql/mysql.server start
/ usr/local/mysql/share/mysql/mysql.server stop
Thank you for your reading, the above is the content of "the introduction of the installation and startup and shutdown commands of MySQL software under CentOS". After the study of this article, I believe you have a deeper understanding of the installation and startup and shutdown commands of MySQL software under CentOS, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.