20.02.2014, 13:36
Where to start. First - using unthreaded queries will lag your server. Heavily. It looks like you are just starting development, search for tutorial (or read about ORM, it's even easier).
I am pretty sure your log should show something like "No cache active". Because you don't have any active cache. Also, your account system is weird. You are creating account on disconnect? Ok, but what if that player already has an account? You don't have to pass id to insert query, you retrieve it after execution.
I am pretty sure your log should show something like "No cache active". Because you don't have any active cache. Also, your account system is weird. You are creating account on disconnect? Ok, but what if that player already has an account? You don't have to pass id to insert query, you retrieve it after execution.