Add user and password dialog to enable user to connect to MySQL.
Fix some bugs.
Merge remote-tracking branch 'remotes/origin/master'
Fix some bugs.