当前位置:网站首页>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
边栏推荐
- RationalDMIS2022 高级编程宏程序
- Talk about SOC startup (VI) uboot startup process II
- 基于DE2 115开发板驱动HC_SR04超声波测距模块【附源码】
- Talk about SOC startup (x) kernel startup pilot knowledge
- audit 移植
- What development models did you know during the interview? Just read this one
- 毕业季|与青春作伴,一起向未来!
- JS array delete the specified element
- Drive HC based on de2115 development board_ SR04 ultrasonic ranging module [source code attached]
- Verilog 实现数码管显视驱动【附源码】
猜你喜欢
. Net Maui performance improvement
Using ENSP to do MPLS pseudo wire test
正在运行的Kubernetes集群想要调整Pod的网段地址
Table replication in PostgreSQL
The opacity value becomes 1%
Suggestions on one-stop development of testing life
关于测试人生的一站式发展建议
Activity lifecycle
The post-90s resigned and started a business, saying they would kill cloud database
聊聊SOC启动(六)uboot启动流程二
随机推荐
對比學習之 Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
普通测试年薪15w,测试开发年薪30w+,二者差距在哪?
技术分享 | 抓包分析 TCP 协议
使用MeterSphere让你的测试工作持续高效
The running kubernetes cluster wants to adjust the network segment address of pod
R language uses image of magick package_ Mosaic functions and images_ The flatten function stacks multiple pictures together to form a stack layers on top of each other
[Yugong series] go teaching course 005 variables in July 2022
大佬们有没有人遇到过 flink oracle cdc,读取一个没有更新操作的表,隔十几秒就重复读取
Array object sorting
禁锢自己的因素,原来有这么多
测试优惠券要怎么写测试用例?
What is cloud computing?
软件设计之——“高内聚低耦合”
Briefly introduce closures and some application scenarios
RationalDMIS2022 高级编程宏程序
自动化测试框架
How much do you know about excel formula?
Le Cluster kubernets en cours d'exécution veut ajuster l'adresse du segment réseau du pod
Network protocol concept
In my limited software testing experience, a full-time summary of automation testing experience