my sql doesn’t work in laravel, whereas in wamp it shows as normal, without any errors, I’m using PHP 8.3.6 and the error line is this:
could not find driver (Connection: mysql, SQL: select table_name as name
, (data_length + index_length) as size
, table_comment as comment
, engine as engine
, table_collation as collation
from information_schema.tables where table_schema = ‘hotel’ and table_type in (‘BASE TABLE’, ‘SYSTEM VERSIONED’) order by table_name)
at C:UserscaiqueProjectsTCC-backupsbackup-2204TCCProjectvendorlaravelframeworksrcIlluminateDatabaseConnection.php:829
825▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
826▕ );
827▕ }
828▕
➜ 829▕ throw new QueryException(
830▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
831▕ );
832▕ }
833▕ }
1 C:UserscaiqueProjectsTCC-backupsbackup-2204TCCProjectvendorlaravelframeworksrcIlluminateDatabaseConnectorsC PDOException::(“could not find driver”)
2 C:UserscaiqueProjectsTCC-backupsbackup-2204TCCProjectvendorlaravelframeworksrcIlluminateDatabaseConnectorsConnector.php:65
[[meu connector](https://i.sstatic.net/MM2ENNpB.png)](https://i.sstatic.net/8Daag1TK.png)
funj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2