当前位置:网站首页>Install MySQL database independently on Debian 10
Install MySQL database independently on Debian 10
2022-06-12 12:55:00 【Nyarime】
There's a lot of VPS Not all of our customers like the pagoda system , So we tested this model separately for data backup of many customers , Specific installation details are as follows :
First step
apt -y update && apt -y install bind-utils socat dnsutils libaio1 libaio-dev build-essential manpages-dev libncurses5 zip gnupg libaio1 wget curl screen unzip vim curl xz-utils openssl gawk file rpm && screen -S setupscreen
The second step
wget https://repo.mysql.com//mysql-apt-config_0.8.22-1_all.deb && dpkg -i mysql-apt-config_0.8.22-1_all.deb
The third step :
Re execution :apt -y update
Step four :
install MYSQL: apt -y install mysql-server
Step five :
see MYSQL Working state :systemctl status mysql
Step six :
systemctl is-enabled mysql
Step seven :
Basic mysql operation :service mysql start,service mysql stop,service mysql restart We should now Modify the database remote link function : Overall run statements : Log on first MYSQL Database execution statement :mysql -u root -p He will pop up the enter password option “Enter password: ” You can paste the password to log in and then execute the command to change the database, etc. as follows :
use mysql; select 'host' from user where user='root'; update user set host = '%' where user ='root'; ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY ' Your password '; flush privileges; exit; Now your database is installed , Can install BBR+FQ Agreement acceleration , And can pass through Navicat Premium Software for remote visual login
If 3306 Port of is blocked , Let's add one Debian 10 How to open the specified port of the firewall apt -y install iptables iptables-persistent After successful installation, use the following command to open ports iptables -I INPUT -p tcp --dport 3306 -j ACCEPT Then enter the following command to save the rule to continue to take effect netfilter-persistent save netfilter-persistent reload The last restart , All ports are connected ……
This article is from contributions , Does not represent the position of this site , If you reprint , Please indicate the source :https://blog.idc.moe/archives/install-mysql-on-debian10.html
边栏推荐
- When to use binary search
- itk itk::BSplineDeformableTransform
- C language [23] classic interview questions [2]
- El select data echo, display only value but not label
- Constant time delete / find any element in array
- 嵌入式驱动程序设计
- Source of routing information
- 嵌入式系统硬件构成-嵌入式系统硬件体系结构
- 用PyTorch进行语义分割
- itkMultiResolutionImageRegistrationMethod
猜你喜欢

Buu question brushing record - 5

MUI登录数据库完善与AJAX异步处理【MUI+Flask+MongoDB+HBuilderX】

提升管道效率:你需要知道如何识别CI/CD管道中的主要障碍

About paiwen

Microsoft Word tutorial, how to insert a header or footer in word?

Five ways to quickly download large files from Google cloud disk
![Brush questions [de1ctf 2019]shellshellshell](/img/73/00782a567e6596eb4b561b69142277.jpg)
Brush questions [de1ctf 2019]shellshellshell

Async/await for ES6

嵌入式系统概述3-嵌入式系统的开发流程和学习基础、方法

itk::SymmetricForcesDemonsRegistrationFilter
随机推荐
Object. Detailed explanation of assign()
机器人雅可比求解
一个ES设置操作引发的“血案”
Further understanding of the network
Embedded driver design
实战 | 巧用位姿解算实现单目相机测距
Design virtual network to realize communication between virtual machine instance and external network
A "murder case" caused by ES setting operation
When to use binary search
403 you don't have permission to access this resource
构建嵌入式系统软件开发环境-建立交叉编译环境
itk itk::BSplineDeformableTransform
【VIM】. Vimrc configuration, vundle and youcompleteme have been installed
itk neighbhood
路由信息的来源
442个作者100页论文!谷歌耗时2年发布大模型新基准BIG-Bench | 开源
Advanced C language -- storage of floating point in memory
The 4th Zhejiang CTF preliminary contest web pppop
Uniapp wechat applet long press the identification QR code to jump to applet and personal wechat
Source of routing information