Config DB for testsite_ican_works: testsite_ican_works Actual DB: testsite_ican_works getTenantConnectionByRequest: testsite_ican_works [SQL testsite_ican_works] insert into `icanid_user_logs` (`ican_id`, `email`, `ip`, `browser`, `device`, `user_agent`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?) [SQL testsite_ican_works] select * from `students` where `phone` = ? and `students`.`deleted_at` is null limit 1 [SQL testsite_ican_works] insert into `users` (`name`, `username`, `email`, `password`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?) [SQL testsite_ican_works] insert into `personal_access_tokens` (`tokenable_type`, `tokenable_id`, `name`, `token`, `abilities`, `expires_at`, `created_at`, `updated_at`) values (?, ?, ?, ?, ?, ?, ?, ?) [SQL testsite_ican_works] select `id` from `personal_access_tokens` where `token` = ? limit 1 [SQL testsite_ican_works] insert into `students` (`email`, `name`, `username`, `phone`, `user_id`, `information_data`, `zeus_id`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?) [SQL testsite_ican_works] insert into `student_tracking` (`name`, `email`, `phone`, `ref_code`, `utm_source`, `utm_medium`, `utm_campaign`, `utm_term`, `user_id`, `information_data`, `answers`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) createStudent student_id=384 token_id=328 [SQL mysql] SELECT id, user_id, email FROM `testsite_ican_works`.students WHERE id = ? [SQL mysql] SELECT id, tokenable_id, token FROM `testsite_ican_works`.personal_access_tokens WHERE id = ? DB testsite_ican_works: student=[{"id":384,"user_id":5334,"email":"script1790056076@test.com"}] token=user=5334 hash match in testsite_ican_works: YES [SQL mysql] SELECT id, user_id, email FROM `lms_hocmai_test`.students WHERE id = ? [SQL mysql] SELECT id, tokenable_id, token FROM `lms_hocmai_test`.personal_access_tokens WHERE id = ? DB lms_hocmai_test: student=[{"id":384,"user_id":389,"email":"hai.nguyenthuy3010@gmail.com.vn"}] token=null [SQL testsite_ican_works] select * from `personal_access_tokens` where `id` = ? limit 1 [SQL testsite_ican_works] select * from `students` where `user_id` = ? and `students`.`deleted_at` is null limit 1 getUserInfoByToken: OK