SQLSTATE [HY000] [2002]连接时间(sql:select * sessions` w from`id` id` = me2deg11zq4pjbhzcowlhzcowlhzwzwzuwpebkdgplyhuleg limit 1)
我有问题,我的网站正在毫无问题地工作,但是当我输入任何产品时,该网站不起作用并给出此错误 我制作了
php artisan cache:clear
php artisan key:generate
php artisan cache:clear
php artisan make:command FlushSessions
php artisan session:flush
,然后将数据删除到数据库内的会话表中 但是问题尚未解决
I have a problem, my web site was working without problems, but when I enter any product, the web site does not work and gives this error
I made
php artisan cache:clear
php artisan key:generate
php artisan cache:clear
php artisan make:command FlushSessions
php artisan session:flush
And I Deleted the data into the sessions table inside the Database
But the problem has not been resolved
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我只是在
.env
文件中遇到相同的问题,文件将db_host
的值更改为127.0.0.0.1
“更改
db_host = mysql
代码>到db_host = 127.0.0.1
”I have the same issue just in
.env
file change the value ofDB_HOST
to127.0.0.1
"change
DB_HOST=mysql
toDB_HOST=127.0.0.1
"