当前位置:网站首页>wordpress提示建立数据库连接时出错
wordpress提示建立数据库连接时出错
2022-07-28 16:38:00 【Ripo_za】

wp-config.php文件存储的是wordpress连接数据库的信息。如果出现这个错误首先检查改文件,主要是主机和端口,不要省略端口不写
但是如果使用phpstudy建站的话,我们这时候还没有wp-config.php文件,就这么几个空,如果数据库已经创建好的话,主要问题也可能出现在端口上,比如我的mysql就是用的3308端口,这里要明确指出来。
这里即便是通过其他电脑使用域名访问这个页面,也可以填写localhost,wordpress知道是自己的主机。
边栏推荐
猜你喜欢

Use of multithreading
![[unity] how to play sprite Jiugongge?](/img/cf/112a048c0bb335d058806dd5604d10.png)
[unity] how to play sprite Jiugongge?

abstract、static、final

IO operation
![[p5.js] practical exercise - irregular symmetry](/img/b0/d5ce69db2304e5045e6e4fca43b478.png)
[p5.js] practical exercise - irregular symmetry

【机器学习笔记】Regularization : Ridge Regression(岭回归)

Idea error running 'application' command line is too long solution
![[C language note sharing] custom type: structure, enumeration, Union (recommended Collection)](/img/25/4a17c260b2b506ae1224520d9b85d1.png)
[C language note sharing] custom type: structure, enumeration, Union (recommended Collection)
![[C language note sharing] character function and string function (recommended Collection)](/img/0a/90cd617e3622d95f9bfc3e945a298a.png)
[C language note sharing] character function and string function (recommended Collection)
![[C language must see] yo, writing bugs, I'm sure you've stepped on the pit](/img/0b/6f0faeb6896824ca94ce7ca983065a.jpg)
[C language must see] yo, writing bugs, I'm sure you've stepped on the pit
随机推荐
[p5.js learning notes] local variable (let) and global variable (VaR) declaration
Prize essay solicitation | the 2022 cloud native programming challenge draft activity is open!
Pycharm connects to remote docker
How to upload a project to the code cloud using idea
电工学下册自学笔记1.23
电工学自学笔记1.22
OpenMV(一)--基础介绍与硬件架构
Grid in pytorch_ How to use sample
禅道项目管理软件,敏捷开发团队不可或缺的工具
@Detailed explanation of requestmapping
.net动态调用webservice的三种方式
LeetCode--45. 跳跃游戏Ⅱ(贪心)
MySQL详解
电工学自学笔记1.21
分支与循环语句
[p5.js learning notes] basic knowledge of code drawing
TensorFlow2.0(十二)--实现简单RNN与LSTM网络
Interviewer: the actual record of algorithm question brushing.pdf I can't even answer it
移动端overflow失效问题
2.1-运算符