最新消息:关注【已取消】微信公众号,可以获取全套资料,【全套Java基础27天】【JavaEE就业视频4个月】【Android就业视频4个月】

We were able to connect to the database server(wordpress安装)

扩展 太平洋学习网 0浏览 评论

当我wordpress安装进行到第二步的时候会报如下wordpress安装错误:

We were able to connect to the database server (which means your username and password is okay) but not able to select the wordpress database.
Are you sure it exists?
Does the user root have permission to use the wordpress database?
On some systems the name of your database is prefixed with your username, so it would be like username_wordpress. Could that be the problem?
If you don’t know how to set up a database you should contact your host. If all else fails you may find help at the WordPress Support Forums.

解决以上问题很简单(how to deal?),如下。

1:检查你的mysql是否有远程连接的权限,如果没有的话,当你在本地navicate登录时就会报2003 - cant connect to MySQL server on x.x.x.x(10038)错误的,请先给root授权远程登录权限,授权方法请查看:http://www.tpyyes.com/a/mysql_oracle/2017/0223/72.html

2:如果已经有远程登录权限之后,请先手动新建一个名为wordpress的数据库,这样就一定ok了!wordpress安装程序好像不能自己新建数据库,我是如何看出来的?请看这句:

but not able to select the wordpress database.Are you sure it exists?

上面的英文表示:你确认wordpress数据库已经存在了吗?因此我就试了一下,果然可以继续安装wordpress网站程序了。

具体wordpress让你新建什么数据库名称,以图片的Database Name为准,如图所示。

QQ截图20171125104507.jpg


来源网站:太平洋学习网,转载请注明出处:http://www.tpyyes.com/a/kuozhan/403.html
"文章很值,打赏犒劳作者一下"
微信号: Javaweb_engineer

打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

与本文相关的文章

发表我的评论
取消评论

表情

您的回复是我们的动力!

  • 昵称 (必填)

网友最新评论