8000 使用php artisan code6:user-add <邮箱> <密码>  报错 · Issue #161 · 4x99/code6 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

使用php artisan code6:user-add <邮箱> <密码>  报错 #161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
barkosHuang opened this issue Sep 26, 2021 · 9 comments
Closed

使用php artisan code6:user-add <邮箱> <密码>  报错 #161

barkosHuang opened this issue Sep 26, 2021 · 9 comments

Comments

@barkosHuang
Copy link

我已经部署了,可以访问
但在创建用户时出错,可能是数据库的问题,麻烦帮忙定位是什么问题呢?
image

@yoonper
Copy link
Collaborator
yoonper commented Sep 26, 2021

确认一下是否能正常连接数据库,参考置顶 issue #1 第一点

@barkosHuang
Copy link
Author

image
请问这个创建这个库是code6 吗。要如何授权呢

@yoonper
Copy link
Collaborator
yoonper commented Sep 26, 2021

是的,码小六会自动创建数据表,授权请看置顶常见问题 1。

8000

@barkosHuang
Copy link
Author

image
image
image
当前容器执行 php artisan migrate 导入数据表,还是出错了

@barkosHuang
Copy link
Author

IP 怎么变成 172.17.03 的呢

@yoonper
Copy link
Collaborator
yoonper commented Sep 26, 2021

你确定改的是 docker 容器里的配置文件吗

@barkosHuang
Copy link
Author
8000

改过根目录的.env文件的地址

@barkosHuang
Copy link
Author

image
执行php artisan code6:user-add,报的错误

@yoonper
Copy link
Collaborator
yoonper commented Sep 26, 2021

如果实际 ip 是 .2 配置是 .3 重新启动一个容器试试
ip 没错,access denied 参考常见问题 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0