Skip to content

Commit ec825f0

Browse files
committed
Q:resolveConnection
1 parent 53d0353 commit ec825f0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -158,3 +158,8 @@ if (is_null(static::$_manager)) {
158158
```
159159
耦合太高,不建议这么搞,更多了解:https://www.workerman.net/doc/webman/di.html
160160
</details>
161+
162+
## 问题
163+
164+
* Laravel的驱动报错:`Call to a member function connection() on null|webman2.1/vendor/illuminate/database/Eloquent/Model.
165+
php|1918`。解决方案,请检查本地数据库代理是否正常,如使用了Docker容器主机地址`dnmp-mysql`可能会导致该问题出现。

0 commit comments

Comments
 (0)