[英]Timeout connection Mysql in fuelPHP
I just wonder where the timeout_connection (MySQL) are set in Fuelphp framework? 我只想知道在Fuelphp框架中的timeout_connection(MySQL)设置在哪里? Because I can't see the information.
因为我看不到信息。 Thanks so much.
非常感谢。
timeout_connection is in php.ini, you could try with this: timeout_connection在php.ini中,您可以尝试以下操作:
Check your timeout: 检查您的超时时间:
echo ini_get('mysql.connect_timeout');
You could change it with: 您可以使用以下方法进行更改:
ini_set('mysql.connect_timeout',100);
Where "100" is the number of milliseconds 其中“ 100”是毫秒数
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.