I have an error when i try to update my db or install a module with drush.
[info] Try to validate bootstrap phase 5 [0.11 sec, 10.08 MB]
[info] Unable to connect to database with message: SQLSTATE[HY000] [2002] No such file or directory. More debug information is available by running drush status
. This may occur when Drush is trying to bootstrap a site that has not been installed or does not have a configured database. In this case you can select another site with a working database setup by specifying the URI to use with the --uri parameter on the command line. See drush topic docs-aliases
for details. [0.11 sec, 10.31 MB]
[info] Could not bootstrap at phase 5 [0.11 sec, 10.29 MB]
this is my drush status.
Drupal version : 9.5.4
Site URI : http://default
DB driver : mysql
DB hostname : localhost
DB port : 3306
DB username : root
DB name : DruCar
PHP binary : /opt/homebrew/Cellar/[email protected]/8.1.15/bin/php
PHP config : /opt/homebrew/etc/php/8.1/php.ini
PHP OS : Darwin
PHP version : 8.1.15
Drush script : /usr/local/bin/drush
Drush version : 11.5.1
Drush temp : /tmp
Drush configs : /Applications/XAMPP/xamppfiles/htdocs/DruCar/recommended-project/vendor/drush/drush/drush.yml
Drupal root : /Applications/XAMPP/xamppfiles/htdocs/DruCar/recommended-project/web
Site path : sites/default
anyway, i cant install anything with drush en.
Thank you anticipate.