当前位置:网站首页>About how to install mysql8.0 on the cloud server (Tencent cloud here) and enable local remote connection
About how to install mysql8.0 on the cloud server (Tencent cloud here) and enable local remote connection
2022-07-07 11:32:00 【Optimistic, medium】
Here we use the pagoda , First, find the installation method of pagoda suitable for personal environment on the pagoda official website and install it on the cloud server 
After installing pagoda, you can install it in the software store of pagoda mysql, And set up mysql After the username and password , You need to open 3306 port , At this time, the remote connection will still appear 1045 Error of , You need to modify the user's permissions later ( I don't know why , There have been many times 
The problem of , Online search is because the socket file is missing , But I repeatedly checked that I had not done the deletion operation , Finally, the problem can be solved by restarting the server , It's very metaphysical )
First, through CREATE USER 'your username'@'%' IDENTIFIED BY 'your password'; To create a new user ,
Re pass grant all privileges on *.* to 'your username'@'%' with grant option;(mysql8.0 Then use this ,8.0 I used to use grant all privileges on *.* to 'your username'@'%' identified by 'root' with grant option;) Give the user permission ,
After through flush privileges; Refresh the configuration of the database ,
And finally rely on sudo service mysql restart; restart , Finally, it can be used successfully Navicat Remote connection
边栏推荐
- Learning notes | data Xiaobai uses dataease to make a large data screen
- What development models did you know during the interview? Just read this one
- 【系统设计】指标监控和告警系统
- How much do you know about excel formula?
- After the uniapp jumps to the page in onlaunch, click the event failure solution
- 一度辍学的数学差生,获得今年菲尔兹奖
- The opacity value becomes 1%
- 《论文阅读》Neural Approaches to Conversational AI(1)
- CentOS系统下Redis安装和自启动配置的步骤
- Using ENSP to do MPLS pseudo wire test
猜你喜欢

聊聊SOC启动(十) 内核启动先导知识

Force buckle 1002 Find common characters

关于在云服务器上(这里用腾讯云)安装mysql8.0并使本地可以远程连接的方法

一度辍学的数学差生,获得今年菲尔兹奖

聊聊SOC启动(十一) 内核初始化

Poor math students who once dropped out of school won the fields award this year

The database synchronization tool dbsync adds support for mongodb and es

. Net Maui performance improvement

About the application of writing shell script JSON in JMeter

Talk about SOC startup (11) kernel initialization
随机推荐
关于jmeter中编写shell脚本json的应用
一度辍学的数学差生,获得今年菲尔兹奖
聊聊SOC启动(十) 内核启动先导知识
通过环境变量将 Pod 信息呈现给容器
STM32 entry development NEC infrared protocol decoding (ultra low cost wireless transmission scheme)
Audit migration
Graduation season | keep company with youth and look forward to the future together!
解决VSCode只能开两个标签页的问题
博客搬家到知乎
How to add aplayer music player in blog
How to remove addition and subtraction from inputnumber input box
互联网协议
CentOS系统下Redis安装和自启动配置的步骤
问下flinkcdc2.2.0的版本,支持并发,这个并发是指多并行度吗,现在发现,mysqlcdc全
Talk about SOC startup (11) kernel initialization
Le Cluster kubernets en cours d'exécution veut ajuster l'adresse du segment réseau du pod
Leetcode - interview question 17.24 maximum submatrix
Activity lifecycle
Neural approvals to conversational AI (1)
分布式数据库主从配置(MySQL)