You might need to comment out the following in your php.ini file.
;extension=pdo_mysql.so
Taken from this post:
Laravel 5 PDOException Could Not Find Driver
. I think I had to do something exactly like this when setting up laravel on digital ocean.
More Related Contents:
- Laravel – only a zero is saved to the database
- The requested URL was not found on this server.
- PDOException SQLSTATE[HY000] [2002] No such file or directory
- How to do this in Laravel, subquery where in
- Laravel Eloquent select all rows with max created_at
- WAMP Cannot access on local network 403 Forbidden
- how to access the command line for xampp on windows
- Laravel: connect to databases dynamically
- MySQL/PHP Error:[2002] Only one usage of each socket address (protocol/network address/port) is normally permitted
- How to join three table by laravel eloquent model
- Laravel OrderBy relationship count
- Setting up Laravel on a Mac php artisan migrate error: No such file or directory [duplicate]
- Laravel 5.4 field doesn’t have a default value
- “No such file or directory” or “No such host is known” when running migrations
- Laravel 5.4 on PHP 7.0: PDO Exception – Could not find driver (MySQL)
- Laravel nested relationships
- getting the value of an extra pivot table column laravel
- Laravel Eloquent get results grouped by days
- php artisan migrate throwing [PDO Exception] Could not find driver – Using Laravel
- Change name of Laravel’s created_at and updated_at
- SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known
- How do I get database column names in Laravel?
- Laravel SQLSTATE[HY000] [2002] Connection refused
- Eloquent many-to-many-to-many – how to load distant relation easily
- Create a Insert… Select statement in Laravel
- PHP Laravel: No connection could be made because the target machine actively refused it
- How to create a database-driven multi-level navigation menu using Laravel
- Eloquent groupBy make “SQLSTATE[42000]” with valid SQL query in Laravel 5.3
- 500 Internal Server Error?
- find in set in laravel ? example