当前位置:网站首页>Install MySQL database version 5.7.29 under ubuntu20.04 system
Install MySQL database version 5.7.29 under ubuntu20.04 system
2022-07-25 10:32:00 【colours starry sky】
because apt-get Can only be installed 8.0 edition , Considering that there are more information in the lower version , For the convenience of learning , Decide to install 5.7 edition
Here are the installation steps
1. download 5.7.29 edition
Download the first package DEB Bundle(mysql-server_5.7.29-1ubuntu18.04_i386.deb-bundle.tar)
- Unzip downloaded files : tar -xvf mysql-server_5.7.29-1ubuntu18.04_amd64.deb-bundle.tar
- Enter the following command in the terminal :
( Be careful , Here is the installation sequence . This is an important step , There are dependencies between files ):
dpkg -i libmysqlclient20_5.7.29-1ubuntu18.04_amd64.deb
dpkg -i libmysqlclient-dev_5.7.29-1ubuntu18.04_amd64.deb
dpkg -i libmysqld-dev_5.7.29-1ubuntu18.04_amd64.deb
dpkg -i mysql-common_5.7.29-1ubuntu18.04_amd64.deb
dpkg -i mysql-community-source_5.7.29-1ubuntu18.04_amd64.deb
dpkg -i mysql-community-client_5.7.29-1ubuntu18.04_amd64.deb
apt-get install libaio1 libtinfo5
dpkg -i mysql-client_5.7.29-1ubuntu18.04_amd64.deb
apt-get install libmecab2
dpkg -i mysql-community-server_5.7.29-1ubuntu18.04_amd64.deb
dpkg -i mysql-server_5.7.29-1ubuntu18.04_amd64.deb
3. After the installation is completed, test :
start-up mysql service :
service mysql start
Get into MySQL:
mysql -u root -p
modify mysql The binding port of
Abrupt 1. open mysql Configuration file for , Here is the default installation path , vi /etc/mysql/mysql.conf.d/mysqld.cnf
step 2. Add... In the last line port = 3307
step 3. After the save , restart mysql service ,service mysql restart
step 4. Command line login mysql,mysql -u root -p
step 5. Check the open port number ,show variables like 'port';
边栏推荐
- 配置FTP虚拟用户及访问控制
- 3.跟你思想一样DNS域名解析服务!!!
- 5. This simple "echo" usage, can the child next door!
- 8. SHELL file processing Three Musketeers sed
- Angr (VI) -- angr_ ctf
- Angr (III) - angr_ ctf
- MySQL offline deployment
- Angr(十)——官方文档(Part1)
- shortest-unsorted-continuous-subarray
- 3、 Five operation modes of unittest test cases
猜你喜欢
随机推荐
String longest common prefix
三、unittest测试用例五种运行方式
Notes on building dompteur container
Research summary of voice self-monitoring pre training model CNN encoder
平凡人的一生的意义是什么?
4、 Testfixture test fixture, or test firmware
Angr (IV) -- angr_ ctf
5. NFS shared services and SSH Remote Control Services
Angr (VIII) -- angr_ ctf
JS encryption parameter positioning
for循环:水仙花案例
Angr (IX) -- angr_ ctf
bug要素
微信小程序WxPrase中包含文件无法点击解决
FRP reverse proxy deployment
如何通过开源数据库管理工具 DBeaver 连接 TDengine
Supervisor deployment (offline deployment requires downloading the deployment package in advance)
Idea overall font size modification
Angr(六)——angr_ctf
1. Shell programming specifications and variables








