dongzhong5967 2017-03-10 11:38
浏览 177

如何跟踪任何查询的laravel数据库连接实例?

How to trace for Mysql db connection(mysql connections) in Laravel ?

Let me explain it more, I have a db, and I want to know currently how many connections are open to that mysql Db (through mysql prompt ? or any way on ubuntu ), as my laravel application is utilizing that mysql db instance.

And for a particular query how can I know, which connection instance(hoping some type of resource object) is being used.

If there any way please let me know ?

  • 写回答

0条回答 默认 最新

    报告相同问题?