Fixed some pdo connection problems,actually on SAE.