It looks like you're new here. If you want to get involved, click one of these buttons!
I’m getting the following error
PDOException: SQLSTATE[HY000]  No such file or directory
When I connect using mysqli in php code it’s fine, but pdo code is causing an error, all the settings are the same so it doesn’t look like a settings issue.
Is it something to do with sockets?
Code works fine on my local environment.