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`, `utm_source`, `utm_medium`, `utm_campaign`, `utm_term`, `user_id`, `information_data`, `answers`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) createStudent student_id=298 token_id=18 [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":298,"user_id":618,"email":"script1782469723@test.com"}] token=user=618 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":298,"user_id":303,"email":"nguyenthithuybvvq@gmail.com"}] 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