Debug: the mysqli driver expect a dbname param.

Setting it to null make sure that it works both 
with pdo and mysqli.