I'm trying to create a connection to a local Database Server through a VPN connection first.
From the VPN connection I receive this IP for my network: 192.168.30.2
DB-Server: 192.168.40.150
If I try to ping the DB Server IP via PHP, I also get a response from the Server. When, however, I try to make the PDO connection or with "mysqli", I receive the following error:
lluminate \ Database \ QueryException: SQLSTATE [HY000] [1045] Access denied for user 'xxxx'@'192.168.30.2' (using password: YES) (SQL: select * from `xxxx`) in file
If I use a Mysql Client from my PC it's working fine!
Any idea?