How to get MySql connection id when user login into your web/system?
In MySQL you can directly query "select connection_id()" and to get the list is "show full processlist" But how should make it in Laravel? that every time a user login into the web/system i will get the users' connection id and store it in my users table.
I tried DB query. DB::select('select connection_id');
but when i query in MySQL. The connection id that i stored in users table is not in the list.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community