550 db fixes

http://jenkins.buttonweavers.com:8080/job/buttonmen-ManvilleFog/23/console

executed properly in sqlYog
finished SUCCESS

I have to fix Kubla - forgot to change H to Y for Hoskins - but I want to get this pull request out so you can see the differences. 

Fixes #550.