Refer to mariadb documentation and fix old stuff
root account can have password blank if password used
Merge branch 'check_root' of https://github.com/openquery/mariadb-10.0