MySQL Crash in 2016R1 in Web Project

Im getting

Runtime Error
Please report what caused this error along with the information below.
Common/ClassLib/RuntimeThread.cpp: 1547
Failure Condition: !sCurrentThread->mCurrentException

When I open a DB in a connect method of a socket. Is this a bad thing to do in Xojo?