Fixes #188 - remove legacy mysql method calls