In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The following mainly brings you mysql 5.7.19 compiler-free installation tutorial parsing, I hope that mysql 5.7.19 compiler-free installation tutorial parsing can bring you practical use, which is also the main purpose of my editing this article. All right, don't talk too much nonsense, let's just read the following.
Setting: Mysql directory = / soft/mysql-5.7.19
Data directory = / data/mysql
$mkdir / soft / data/mysql-- create a directory
$cd / soft
$wget https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.19-linux-glibc2.12-i686.tar.gz-download
$tar xvf mysql-5.7.19-linux-glibc2.12-i686.tar.gz # decompress
$mv mysql-5.7.19-linux-glibc2.12-i686 mysql-5.7.19 # change the name for easy to remember
$useradd mysql # create users
$chown mysql:mysql-R / soft/mysql-5.7.19 & & chown mysql:mysql-R / data/mysql
$cd mysql-5.7.19
$vim / etc/my.cnf-create a new configuration file
Add:
[client]
Default-character-set = utf8
[mysqld]
Basedir=/soft/mysql/mysql-5.7.19
Datadir=/data/mysql
Character_set_server=utf8
$. / bin/mysqld-- initialize-- user=mysql-- initialize the database and remember the password shown on the last line root@localhost: IVy.sXjTrap0v0
11. $vim / soft/mysql-5.7.19/support-files/mysql.server
Set the path:
Basedir=/soft/mysql-5.7.19-set the number and diameter of mysql paths
Datadir=/data/mysql-sets the data storage path
12.$ln / soft/mysql-5.7.19/support-files/mysql.server / sbin/mysqld-set the link to make it easy to call
13.$ln / soft/mysql-5.7.19/bin/mysql / sbin/mysql-set the link to make it easy to call
14.$mysqld start-start the mysqld service
15.$mysql-paired IVy.sXjTrap0v0'-- Log in to mysql
Mysql > set password=password ('123456')-password must be changed before it can be used, here it is changed to 123456
Mysql > use mysql
Database changed
Mysql >
For the above mysql 5.7.19 compiler-free installation tutorial analysis, we do not think it is 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.