I need some help getting started with using MySQL in plugins. How do I connect and insert things into tables? I know how it works in web development, but in PM plugins I just get confused with everything.