关于PHP Fatal error: Invalid handle returned

博主使用ThinkPHP5以PDO方式连接SQL Server时出现‘PHP Fatal error: Invalid handle returned’错误,尝试多种网上方法后,发现要将端口写在主机后边,且修改后需清理数据库连接缓存,避免看到错误假象。

我在使用thinkphp5使用pdo的方式连接sqlserver的时候出现如此错误

尝试了网上的多种方法

PHP Fatal error: Invalid handle returned

端口写在了 主机的后边

 

并且  修改后 记得清理数据库连接缓存,要不然其实解决了,还是看的是错误的假象

posted on 2019-05-22 12:47  baker95935 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/baker95935/p/10905264.html

0> <info> app: Starting scan. 0> <warning> peer_manager_handler: pm_conn_secure() failed because the stored data for conn_handle 0 does not have a valid key. 0> <warning> peer_manager_handler: pm_conn_secure() failed because the stored data for conn_handle 0 does not have a valid key. 0> <info> peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Peer rank, action: Update, no change 0> <info> app: Connected. 0> <error> peer_manager_sm: Could not perform security procedure. smd_params_reply() or smd_link_secure() returned NRF_ERROR_INVALID_DATA. conn_handle: 0 0> <error> peer_manager_handler: Unexpected fatal error occurred: error: NRF_ERROR_INVALID_DATA 0> <error> peer_manager_handler: Asserting. 0> <error> app: Fatal error 0> <warning> app: System reset 0> <info> app_timer: RTC: initialized. 0> <info> app: Heart Rate collector example started. 0> <info> app: Starting scan. 0> <warning> peer_manager_handler: pm_conn_secure() failed because the stored data for conn_handle 0 does not have a valid key. 0> <warning> peer_manager_handler: pm_conn_secure() failed because the stored data for conn_handle 0 does not have a valid key. 0> <info> peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Peer rank, action: Update, no change 0> <info> app: Connected. 0> <error> peer_manager_sm: Could not perform security procedure. smd_params_reply() or smd_link_secure() returned NRF_ERROR_INVALID_DATA. conn_handle: 0 0> <error> peer_manager_handler: Unexpected fatal error occurred: error: NRF_ERROR_INVALID_DATA 0> <error> peer_manager_handler: Asserting. 0> <error> app: Fatal error 0> <warning> app: System reset 0> <info> app_timer: RTC: initialized. 0> <info> app: Heart Rate collector example started. 0> <info> app: Starting scan. 0> <warning> peer_manager_handler: pm_conn_secure() failed because the stored data for conn_handle 0 does not have a valid key. 0> <warning> peer_manager_handler: pm_conn_secure() failed because the stored data for conn_handle 0 does not have a valid key. 0> <info> peer_manager_handler: Peer data updated in flash: peer_id: 0, data_id: Peer rank, action: Update, no change 0> <info> app: Connected. 0> <error> peer_manager_sm: Could not perform security procedure. smd_params_reply() or smd_link_secure() returned NRF_ERROR_INVALID_DATA. conn_handle: 0 0> <error> peer_manager_handler: Unexpected fatal error occurred: error: NRF_ERROR_INVALID_DATA 0> <error> peer_manager_handler: Asserting. 0> <error> app: Fatal error 0> <warning> app: System reset 0> <info> app_timer: RTC: initialized. 0> <info> app: Heart Rate collector example started. 0> <info> app: Starting scan
最新发布
09-04
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值