You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to migrate the database but however i encountered this problem:
"Illuminate\Database\QueryException : could not find driver (SQL: select * from information_schema.tables where table_schema = 2ndshoe and table_name = migrations)
at C:\xampp\htdocs\2ndshoeapp\vendor\laravel\framework\src\Illuminate\Database\Connection.php:664
660| // If an exception occurs when attempting to run a query, we'll format the error
661| // message to include the bindings with SQL, which will make this exception a
662| // lot more helpful to the developer instead of just the database's errors.
663| catch (Exception $e) {
I tried to look up the drivers (;extension=php_pdo.dll and ;extension=php_pdo_mysql.dll) on my php.ini but couldn't find them. I uninstalled xampp and reinstalled again and the extension still isn't there.
I was wondering if its not the extension's problem but something else?
Really appreciate if anyone could help me with this!!
The text was updated successfully, but these errors were encountered:
It worked for the following development environment:
macOS 10.14.3, Laravel 5, XAMPP 7.1.27
– find config.inc.php. For my macOS, e.g. I need to 'cd Applications\xampp\phpMyAdmin'
– copy master username and password from the file and paste it into .env and error should be resolved.
Hi, I am trying to migrate the database but however i encountered this problem:
"Illuminate\Database\QueryException : could not find driver (SQL: select * from information_schema.tables where table_schema = 2ndshoe and table_name = migrations)
at C:\xampp\htdocs\2ndshoeapp\vendor\laravel\framework\src\Illuminate\Database\Connection.php:664
660| // If an exception occurs when attempting to run a query, we'll format the error
661| // message to include the bindings with SQL, which will make this exception a
662| // lot more helpful to the developer instead of just the database's errors.
663| catch (Exception $e) {
Exception trace:
1 PDOException::("could not find driver")
C:\xampp\htdocs\2ndshoeapp\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:68
2 PDO::__construct("mysql:host=127.0.0.1;port=3306;dbname=2ndshoe", "root", "", [])
C:\xampp\htdocs\2ndshoeapp\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:68
Please use the argument -v to see more details."
I tried to look up the drivers (;extension=php_pdo.dll and ;extension=php_pdo_mysql.dll) on my php.ini but couldn't find them. I uninstalled xampp and reinstalled again and the extension still isn't there.
I was wondering if its not the extension's problem but something else?
Really appreciate if anyone could help me with this!!
The text was updated successfully, but these errors were encountered: