当前位置:网站首页>宝塔服务器搭建及数据库远程连接
宝塔服务器搭建及数据库远程连接
2022-06-26 06:14:00 【heshuuqqq】
1.购买云服务器(本人推荐华为云)
2.进入宝塔官方将宝塔装入服务器(链接:https://www.bt.cn/admin/servers#wcu)
之后按照官方的推荐配置进行下载即可。安装完毕后会有如下弹框。
3.去云服务器的安全组里放行8888端口以及常用的一些端口,如3306等。
4.通过访问面板地址进入宝塔。
5.在安全列表栏内放行通用的端口
6.进入数据库栏添加数据库
设置数据库访问权限
7.使用数据库工具进行数据库远程连接
宝塔无法访问的解决方案
服务器安全组放行8888端口,这是宝塔的调用服务器的端口号,需要放行宝塔才能使用。
数据库远程连接报错的解决方案
1.服务器数据库远程连接权限没开。
2.3306号端口没有放行。
3.连接属性的用户名,密码填写错误(需要填写连接的远程数据库的用户名和密码,不是mysql的root账号和密码)。
4.mysql数据库版本过高,改为5的版本。
边栏推荐
猜你喜欢
![Selective search for object recognition paper notes [image object segmentation]](/img/cf/d3b08d41083f37c164b26a96b989c9.png)
Selective search for object recognition paper notes [image object segmentation]

实时数仓方案如何选型和构建

MySQL-08

ByteDance starts the employee's sudden wealth plan and buys back options with a large amount of money. Some people can earn up to 175%

Transformer中的Self-Attention以及Multi-Head Self-Attention(MSA)

数据可视化实战:实验报告

How to select and build a real-time data warehouse scheme
New generation engineers teach you how to play with alluxio + ml (Part 1)

Underlying principle of MySQL index

Connexion et déconnexion TCP, détails du diagramme de migration de l'état
随机推荐
GoF23—原型模式
Comparison between Prometheus and ZABBIX
Alarm operation and Maintenance Center | build an efficient and accurate alarm collaborative processing system
PyTorch混合精度原理及如何开启该方法
Data visualization practice: Experimental Report
Market trend report, technical innovation and market forecast of microencapsulated chemical pesticides in China
Efk upgrade to Clickhouse log storage practice
Import export simple
Customer Stories | Netease spring breeze: the "spring breeze" of the fun industry, reaching out to all areas through in-depth interaction
Getting to know concurrency problems
Thinking and summary of technical ability
China micronutrient market trend report, technical innovation and market forecast
Tencent WXG internship experience (has offered), I hope it will help you!
Keepalived to achieve high service availability
View analysis
Web components series (10) -- realize the basic layout of mycard
MVC source code sharing
在web页面播放rtsp流视频(webrtc)
numpy. log
MySQL-09