otherwise stuff like this happens when people try to run it on a system where error_reporting != 0: https://stackoverflow.com/questions/53037144/cant-connect-datebase-with-script-running-on-localhost#53037144