You are trying to make access via a dns name. Please first verify that that is even possible. MySQL is probably set to only allow localhost connections… Likely you meant to use 127.0.0.1 or localhost instead of the name you gave.
I assume you want to run the app on the same server as your database…
Use “MySQL (Transactional)” not " … PDO".