SQLSTATE [HY000] [2002]连接时间(sql:select * sessions` w from`id` id` = me2deg11zq4pjbhzcowlhzcowlhzwzwzuwpebkdgplyhuleg limit 1)

发布于 2025-02-13 16:19:16 字数 254 浏览 1 评论 0原文

我有问题,我的网站正在毫无问题地工作,但是当我输入任何产品时,该网站不起作用并给出此错误 我制作了

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

故事和酒 2025-02-20 16:19:16

我只是在.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 of DB_HOST to 127.0.0.1

"change DB_HOST=mysql to DB_HOST=127.0.0.1"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文