Unable to connect Local mysql (PDOException) in sample WP site on Windows 10

Hi @Nick-B

PhpMyAdmin : just can’t use adminer having PhpMyAdmin.
Problem solved as mentioned in your given link, and the same way to solve PDO connexion problem with Local (see below).

PDO connexion with Local : don’t think realy a plugin specific issue, since perfectly work in production (6000+ active installs, see map widget at : [https://observatoiredelajustice.org]).

@ben.turner reported a bug for this :
[Cannot import database through SSH - #5 by emsixteen]
No news about bug solving, but a tip : just manually add the port to ‘localhost’ in Local config file (thank you Ben).

other same solution :
[ManageWP's Local Sync throwing DB error on latest "Local" version]


solution : manually add the port to ‘localhost’ in config file (Local and/or PhpMyAdmin)


other topics with same issue :
[Warning: mysqli_real_connect(): (HY000/2002): No connection could be registered because the target computer specifically refused it. in C:\Users\Isabelle\Local Sites\monsitet\app\public\wp-includes\wp-db.php on line 1753]
[PDO Exception after migrating from Flywheel to Local]

=> both closed. no answear. no solution.

I suggest to add this solution to FAQ, waiting for Ben’s bug solving.