VPS侦探论坛

 找回密码
 注册
查看: 3988|回复: 7

lnmp 创建vhost主机后安装wordpress提示数据库无法写入

[复制链接]
发表于 2019-7-31 19:20:55 | 显示全部楼层 |阅读模式

STATUS
The user [zy_yj] is missing the privileges [insert] on the database [zy_yj]

DETAILS
This test checks the privileges a user has when working with tables. Below is a list of all the privileges that the user can currently view. In order to successfully use Duplicator all of the privileges are required.

TABLE PRIVILEDGES ON [zy_yj]
Create: Pass
Select: Pass
Insert: Fail
Update: Pass
Delete: Pass
Drop: Pass





补充内容 (2019-7-31 19:42):
STATUS
The user [root] is missing the privileges [insert] on the database [zy_yj]

DETAILS
This test checks the privileges a user has when working with tables. Below is a list of all the privileges...

补充内容 (2019-7-31 19:43):
两个用户的权限都给了。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-8-1 22:05:55 | 显示全部楼层


mysql什么版本?
wordpress什么版本?
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2019-8-3 02:41:08 | 显示全部楼层

mysql 5.6
wordpress 5.2
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2019-8-3 02:42:17 | 显示全部楼层



服务器重新安装后,mysql8.0 php7.3 现在vhost可以使用了。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2019-8-3 04:58:53 | 显示全部楼层

ftp 建立好后,wordpress输入ftp用户和密码提示错误。但是之前搭建的vhost是可以用的,后来新建的vhost,在上传插件的时候提示说ftp用户和密码错误。

军哥运维代购:http://shop63846532.taobao.com/

发表于 2019-8-3 16:24:28 | 显示全部楼层

jameskook 发表于 2019-8-3 04:58
ftp 建立好后,wordpress输入ftp用户和密码提示错误。但是之前搭建的vhost是可以用的,后来新建的vhost,在 ...

wordpress提示输入ftp用户名和密码是因为目录权限问题,chown www:www -R 网站目录 就可以了
 楼主| 发表于 2019-8-26 16:43:49 | 显示全部楼层

licess 发表于 2019-8-3 16:24
wordpress提示输入ftp用户名和密码是因为目录权限问题,chown www:www -R 网站目录 就可以了 ...

目录权限已经更改了,ftp还是不能用。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2019-8-26 16:46:49 | 显示全部楼层

后来下载插件和主题,直接通过ftp软件上传上去使用了。不过上次重启服务器后wordpress目录权限问题自己好了。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-8 08:35 , Processed in 0.027533 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表