tidied up spacing around mysql connection and made the code match that of embedded device
tidied up spacing around mysql connection and made the code match that of embedded device