object(PDOException)#6 (8) { ["message":protected]=> string(142) "SQLSTATE[42000]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Cannot open database "mother" requested by the login. The login failed." ["string":"Exception":private]=> string(0) "" ["code":protected]=> string(5) "42000" ["file":protected]=> string(29) "/var/www/html/classes/App.php" ["line":protected]=> int(271) ["trace":"Exception":private]=> array(4) { [0]=> array(5) { ["file"]=> string(29) "/var/www/html/classes/App.php" ["line"]=> int(271) ["function"]=> string(11) "__construct" ["class"]=> string(3) "PDO" ["type"]=> string(2) "->" } [1]=> array(5) { ["file"]=> string(29) "/var/www/html/classes/App.php" ["line"]=> int(477) ["function"]=> string(13) "getConnection" ["class"]=> string(3) "App" ["type"]=> string(2) "::" } [2]=> array(5) { ["file"]=> string(29) "/var/www/html/classes/App.php" ["line"]=> int(552) ["function"]=> string(20) "GetImageFromDatabase" ["class"]=> string(3) "App" ["type"]=> string(2) "::" } [3]=> array(5) { ["file"]=> string(28) "/var/www/html/404Handler.php" ["line"]=> int(24) ["function"]=> string(12) "HandleNewUrl" ["class"]=> string(3) "App" ["type"]=> string(2) "::" } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> array(6) { [0]=> string(5) "42000" [1]=> int(4060) [2]=> string(125) "[Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Cannot open database "mother" requested by the login. The login failed." [3]=> string(5) "28000" [4]=> int(18456) [5]=> string(92) "[Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Login failed for user 'image-handler'." } } {"Success":false,"Message":"Can't connect to server: SQLSTATE[42000]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Cannot open database \"mother\" requested by the login. The login failed.","Data":""}