How to install/enable pdo_mysql? My software installer says I have no pdo_mysql extension
PDO_mysql is installed by default while you install MYSQL and enabled on top of your PHP latest version. The problem here might be that you have multiple PHP versions and when you installed MySQL it might be configured another PHP version which was the root version. So to resolve it do a specific php_mysql installation to the PHP version you need.
sudo apt install php8.2-mysql
Updated : 27 Mar 24