I get this error
PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]  Failed to parse address "localhost:3306:3306" in [myPath]/xxDb.php:32
Notice the "double" port in the address: localhost:3306:3306
xxDb.php line 32 looks like this:
$db = new PDO('mysql:host='.DB_HOST.';dbname='.DB_NAME.';charset=utf8', DB_USER, DB_PW, array( PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8" ));
dumping DB_HOST results in
I can not see where the second port part
3306 comes from which obviously exists during the connection initialization.
Any help is highly appreciated.