mySQL install changes

according to OpenStack docs, we need a 'localhost' specific privilege per DB.

updated the mySQL DBs creation process to allow quicker copy-paste.

(excess changes due to trailing whitespaces being trimmed; i'm too lazy to separate the two commits)