Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Saeedsikandar's avatar

Trouble Installing Telescope in Fresh Project - "Could Not Find Driver"Error

Hey everyone,

I hope you're all doing well. I'm currently facing a bit of a roadblock while trying to install Telescope in a fresh Laravel project, and I could really use some guidance or suggestions.

Issue Overview:

I've been working on setting up Telescope for debugging purposes in my Laravel project. However, after following the installation instructions meticulously, I seem to have hit a snag. When I access the Telescope dashboard, it keep scanning and scannig when I open the network tab I found an erorrr -> "Could not find driver". with a status code 500 This is puzzling to me because I've made sure that the MySQL driver is functioning properly, and I've even run all the necessary migrations.My Configuration:

My Configuration:

  • Laravel Version: 10.18.0
  • PHP Version: 8.1.21
  • Composer Version: 2.4.2

Steps Taken:

Here's what I've done so far:

  • Installed Telescope using Composer.
  • Added the Telescope service provider to my config/app.php file.
  • Published the Telescope configuration and assets.
  • Run Telescope migrations using php artisan telescope:install.
  • Ensured that the MySQL driver is working fine for my project.

Error Details:

The error message I'm encountering specifically states: "Could not find driver." I'm a bit perplexed by this, as I've already confirmed that the MySQL driver is operational and that my database connections are configured correctly.

Error SS.

0 likes
4 replies
whoamiken's avatar

I'm also having this error my pgsql driver is working perfect.

could not find driver (Connection: pgsql, SQL: insert into "telescope_entries" ("batch_id", "content", "created_at", "family_hash", "type", "uuid") values (9d5208a9-acdc-44e1-bb37-6fac1bbc499a, , 2024-10-24 15:56:22, ?, command, 9d5208a9-abcc-4619-9d06-595d6158c084))

whoamiken's avatar

Finally fix this. The one costing the problem is Laravel Extra Intellisense if you're working with docker with wsl and you have installed laravel extra intellisense extension run this command apt-get install php-pgsql. It's running a command php artisan list

Please or to participate in this conversation.