Fix mysql compatibility

Must not include mysql class directly, just via mysql::server.
Also remove dependencies that cause cycle in mysql dependencies.