VPS侦探论坛

 找回密码
 注册
查看: 2553|回复: 1

lnmp vhost 流程无法创建数据库了

[复制链接]
发表于 2020-5-14 21:55:22 | 显示全部楼层 |阅读模式

Create Virtul Host directory......
set permissions of Virtual Host directory......
You select the exist rewrite rule:/usr/local/nginx/conf/rewrite/wordpress.conf
Test Nginx configure file......
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
Reload Nginx......
Reload service php-fpm  done
ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for 'styjhb'@'localhost'
Add database failed!

这个同名的数据库被我删除过,然后就创建不成功了

我重启过LNMP和VPS都不行,请问军哥怎么接近?

美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2020-5-14 22:07:05 | 显示全部楼层


已经解决,删除mysql 用户名即可
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-21 17:50 , Processed in 0.025260 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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