It is possible to have a # in a password, which is parsed as a comment. By quoting the password this is no problem.
It makes way more sense to just allow it as a class param. Also added some additional config for setting bind address and port. Added management of /etc/mysql/my.cnf Documented a dependency on create_resources 0.0.1