test
test
@yanhuqing666 I have the same problem. E-R childTable: insert into table ('column1','column2','column3') values (1,1,1),(2,2,2); error: err: **ChildTable multi insert not provided** I would like to be able to provide multi...
> Is this related to databases you're _creating_ using the package? Could this be related to #515? Hi. In `Stancl\Tenancy\Database\DatabaseManager` ``` /** * Create the tenant database connection. */ public...
> Is this related to databases you're _creating_ using the package? Could this be related to #515? Yes, it solved my problem. Thank you
> $maxLifetime = 3600; // 连接的最长生命周期 > > 注意这个,要检查和mysql的my.cnf有个配置是连接闲置时间,mysql会自动kill连接,所以 $maxLifetime 要小于那个mysql配置的时间。 感谢解答,不过我在MySQL的配置中发现wait_timeout的值是8小时,即28800啊。那么我在程序中设置的最大生存时间3600应该是远小于mysql的wait_timeout的,应该不会报错的。 我现在尝试把wait_timout改为和$maxLifetime一致再试试 这是我修改后的mysql设置: ``` SHOW VARIABLES LIKE '%timeout%'; connect_timeout 10 delayed_insert_timeout 300 have_statement_timeout YES innodb_flush_log_at_timeout 1 innodb_lock_wait_timeout 50 innodb_rollback_on_timeout...
> > https://www.kancloud.cn/onanying/mixphp2-2/1712317 感谢老哥,我下午测试的$maxLifetime = interactive_timeout 和wait_timeout依旧会出现错误,我现在试试把$maxLifetime改为3500试试