Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Introduction to the steps to install mysql5.7.18

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

The following mainly brings you the steps to install mysql5.7.18. I hope these contents can bring you practical use, which is also the main purpose of my article on the steps to install mysql5.7.18. All right, don't talk too much nonsense, let's just read the following.

Download linux source package name mysql-5.7.18.tar.gz other versions are not source packages for example: i386 is 32-compiled, x86 / 64 is 64-bit

Yum-y install boost

Cmake-DCMAKE_INSTALL_PREFIX=/usr/local/mysql-DSYSCONFDIR=/etc-DMYSQL_DATADIR=/usr/local/mysql/data-DMYSQL_TCP_PORT=3306-DMYSQL_USER=mysql-DEXTRA_CHARSETS=all-DDOWNLOAD_BOOST=1-DWITH_BOOST=/usr/local/boost

. / bin/mysqld-initialize-insecure-user=mysql-basedir=/usr/local/mysql/-datadir=/usr/local/mysql/data/

Note that there is no my-default.cnf in downloading a copy of my.cnf from the Internet.

Chown-R mysql:mysql / usr/local/mysql/

Chown-R mysql:mysql / etc/my.cnf

For the above steps to install mysql5.7.18, you do not find it very helpful. If you need to know more, please continue to follow our industry information. I'm sure you'll like it.

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.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report