Update class.MySQLL.php

add error query log and bug fix