One global variable for MySQL connection

Thanks for the answers all! I decided to accept the one guiding me to lazy_static. This is very easy to understand. The oncecell and mutex things are still a vague concept to grasp.