Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Pipeline + laravel pdoException driver not found

pbellerive February 24, 2018

Hi, 

Trying to setup laravel project with phpunit testing. 

1- Laravel  5.5

2- phpunit with trait RefreshDatabase, so the database is recreate with the test

3- I use this script https://confluence.atlassian.com/bitbucket/laravel-with-bitbucket-pipelines-913473967.html

 

I still get PDOException: could not find driver. I understand that it's probably my pdo_mysql extension the problem. But don<t understand how to fix it. 

 

Any suggestion?

1 answer

0 votes
Jeroen De Raedt
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 27, 2018

Hi @pbellerive,

There are some suggestions here: https://stackoverflow.com/questions/2852748/pdoexception-could-not-find-driver

Some tips on enabling PHP extensions in Bitbucket Pipelines can be found here: https://confluence.atlassian.com/bitbucket/php-with-bitbucket-pipelines-873907835.html 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events