SQLSTATE[42S22]: Column not found: 1054 Unknown column – Laravel

Posted by

Error:

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'provider' in 'field list' (Connection: mysql, SQL: insert into `oauth_clients` (`user_id`, `name`, `secret`, `provider`, `redirect`, `personal_access_client`, `password_client`, `revoked`, `updated_at`, `created_at`) values (?, MyHospitalNow.com Personal Access Client, nS6QBk2lNjAyUIuUX2TH4z0CjXiEn8aucive8Mav, ?, http://localhost, 1, 0, 0, 2023-11-25 06:52:01, 2023-11-25 06:52:01)) at vendor/laravel/framework/src/Illuminate/Database/Connection.php:822

Solution:

Go to phpMyadmin and insert the column “provider” oauth_clients table

the purpose of the provider column in oauth_clients table

Problem is solved

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x