A quick question regarding mysql, when i initialize it for the first time, do i need to close the connection? When i first initialize it, it checks if the database exists, if it doesnt, it creates it, after that, it checks if the table exists, if it doesnt, it also creates it, but do i need to close the connection? or does it close automatically when the query is finished?
Im not a SQL expert but. On each query, first check if the connection is open, if not open it. I dont think you need to close it after each query, just do it onDisable and i think you be fine
RainoBoy is right, opening the connection each time would introduce more lag, especially if you need to run multiple queries at that time.
offtopic: thanks for spelling my name right xD always ending up being called rain or rainbow Woo, Im now an expert on SQL, jk