Hello everyone,
We are using Pipelines to deploy our Bitbucket code and currently making some adjustments in our deploy script.
I have followed the article here: https://confluence.atlassian.com/bitbucket/laravel-with-bitbucket-pipelines-913473967.html
but the message that I am getting is:
<span> php <a href="https://bitbucket.org/bitmeta/meta/src/2ae38ae0fc1a36a46b4eaf00976fb1582d53dfd6/artisan" target="_blank" rel="noopener noreferrer">artisan</a> migrate</span><span> Illuminate\Database\QueryException : could not find driver (SQL: select * from information_schema.tables where table_schema = forge and table_name = migrations)</span><span> at /opt/atlassian/pipelines/agent/build/vendor/laravel/framework/src/Illuminate/Database/Connection.php: 664</span><span> 660|<br>....<br></span><span>PDO::__construct("mysql:host=127.0.0.1;port=3306;dbname=forge", "forge", "", [])</span>
Before php artisan migrate I also run:
eb setenv DB_HOST=hosthere DB_DATABASE=dbhere DB_USERNAME=userHere DB_PASSWORD=passHere
Any help would be highly appreciated.