I have moved my Laravel project from Windows to MacOS and it is working perfectly with connecting to PostgreSQL database.
But when run "php artisan migrate" command, it showing following error message
could not find driver (SQL: select * from information_schema.tables where table_schema = public and table_name = migrations and table_type = 'BASE TABLE')
When I check the phpInfo (I'm using PHP 7.3.27), it shows, PDO drivers for PostgreSQL (pdo_pgsql) is enabled.
How come this error trigger ONLY when I tried the migration command. All other functions are working perfectly.
https://stackoverflow.com/questions/67051542/error-when-migration-could-not-find-driver-on-macos April 12, 2021 at 09:04AM
没有评论:
发表评论