当前位置:网站首页>寶塔服務器搭建及數據庫遠程連接
寶塔服務器搭建及數據庫遠程連接
2022-06-26 06:22: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的版本。
边栏推荐
- 工作积累——Web请求中使用ThreadLocal遇见的问题
- 个人博客系统需求分析
- DPDK——TCP/UDP协议栈服务端实现(二)
- China micronutrient market trend report, technical innovation and market forecast
- Reasons why MySQL indexes are not effective
- Play with a variety of application scenarios and share secrets with Kwai MMU
- 架构设计方法
- TCP連接與斷開,狀態遷移圖詳解
- How to design a good technical scheme
- Pytorch uses multi GPU parallel training and its principle and precautions
猜你喜欢

Go语言学习笔记 1.1

Typora activation method
The sysdig 2022 cloud native security and usage report found that more than 75% of the running containers have serious vulnerabilities

Underlying principle of MySQL index

Install pyinstaller

TCP連接與斷開,狀態遷移圖詳解

Several promotion routines of data governance

TCP连接与断开,状态迁移图详解

Tencent WXG internship experience (has offered), I hope it will help you!

Reasons why MySQL indexes are not effective
随机推荐
API and encapsulation of cookies
3.pyinstaller module introduction
A tragedy triggered by "yyyy MM DD" and vigilance before New Year's Day~
100 cases of go language
如何让主线程等待子线程执行完毕后再执行
Installing rainbow in various kubernetes with Helm
Several promotion routines of data governance
Logstash——Logstash将数据推送至Redis
数据可视化实战:实验报告
Customer Stories | Netease spring breeze: the "spring breeze" of the fun industry, reaching out to all areas through in-depth interaction
Evolution history of qunar Bi platform construction
PyTorch使用多GPU并行训练及其原理和注意事项
Multi thread synchronous downloading of network pictures
Solve the problem that Cmdr cannot use find command under win10
Requirement analysis of personal blog system
Laravel implements groupby to query the number of packets
MySQL-05
Gof23 - builder mode
Playing RTSP streaming video on Web pages (webrtc)
Introduction to the use of TS generics in functions, interfaces and classes