Changed mysql options from short to long
Change mysql short options to long

"Fix" some variables
"Fix" variables.

Removed unused variables
Changed mysql short options to long