当前位置:网站首页>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
边栏推荐
- 一度辍学的数学差生,获得今年菲尔兹奖
- 自律,提升自制力原来也有方法
- STM32 entry development write DS18B20 temperature sensor driver (read ambient temperature, support cascade)
- Verilog 实现数码管显视驱动【附源码】
- How to add aplayer music player in blog
- R语言使用quantile函数计算评分值的分位数(20%、40%、60%、80%)、使用逻辑操作符将对应的分位区间(quantile)编码为分类值生成新的字段、strsplit函数将学生的名和姓拆分
- How much do you know about excel formula?
- QT implements the delete method of the container
- electron添加SQLite数据库
- Une fois que l'uniapp a sauté de la page dans onlaunch, cliquez sur Event Failure resolution
猜你喜欢
基于华为云IOT设计智能称重系统(STM32)
Table replication in PostgreSQL
The annual salary of general test is 15W, and the annual salary of test and development is 30w+. What is the difference between the two?
正在運行的Kubernetes集群想要調整Pod的網段地址
技术分享 | 抓包分析 TCP 协议
verilog设计抢答器【附源码】
数据库同步工具 DBSync 新增对MongoDB、ES的支持
如何在博客中添加Aplayer音乐播放器
请查收.NET MAUI 的最新学习资源
浙江大学周亚金:“又破又立”的顶尖安全学者,好奇心驱动的行动派
随机推荐
通过环境变量将 Pod 信息呈现给容器
基于STC8G1K08的0.96寸IIC液晶屏驱动程序
博客搬家到知乎
Activity lifecycle
Electron adding SQLite database
聊聊SOC启动(七) uboot启动流程三
【愚公系列】2022年7月 Go教学课程 005-变量
How to add aplayer music player in blog
R语言使用quantile函数计算评分值的分位数(20%、40%、60%、80%)、使用逻辑操作符将对应的分位区间(quantile)编码为分类值生成新的字段、strsplit函数将学生的名和姓拆分
关于SIoU《SIoU Loss: More Powerful Learning for Bounding Box Regression Zhora Gevorgyan 》的一些看法及代码实现
RationalDMIS2022 高级编程宏程序
Verilog realizes nixie tube display driver [with source code]
Learning notes | data Xiaobai uses dataease to make a large data screen
毕业季|与青春作伴,一起向未来!
R language Visual facet chart, hypothesis test, multivariable grouping t-test, visual multivariable grouping faceting boxplot, and add significance levels and jitter points
‘module‘ object is not callable错误
In my limited software testing experience, a full-time summary of automation testing experience
什么是高内聚、低耦合?
Talk about SOC startup (IX) adding a new board to uboot
Une fois que l'uniapp a sauté de la page dans onlaunch, cliquez sur Event Failure resolution