---
mysql::configdir:          "/etc/mysql"
mysql::globalconfigprefix: ""
mysql::datadir:            "/data/mysql"
mysql::logdir:             "/var/log/mysql"

mysql::user: "root"
mysql::host: "%{::ipaddress}"
mysql::port: "3306"
mysql::socket: "/tmp/mysql.sock"

mysql::package: mysql-server
mysql::version: installed

---
mysql::configdir:          "/etc/mysql"
mysql::globalconfigprefix: ""
mysql::datadir:            "/data/mysql"
mysql::logdir:             "/var/log/mysql"

mysql::user: "mysql"
mysql::host: "0.0.0.0"
mysql::port: "3306"
mysql::socket: "/tmp/mysql.sock"

mysql::package: mysql-server
mysql::version: installed

Use the right user and host on debian
Use the right user and host on debian
