SQLSTATE[HY000]: General error: 1 cannot ATTACH database within transaction