when connecting to the database with wrong username SQLSTATE is null !!!!!!!! why?
best regards,Slavic