I reported this on github about 6 months ago as I thought it was a valid bug report, and I never heard anything, so I wanted to ask you guys here is the community has ran into this issue, or if this is a known limitation of EE?
To have a mysql password with special characters (# for example) you have to enclose in in quotes in my.cnf (i.e. password = "p@s$") which seems to break the EE Site Create at the mysql portion even when both my.cnf files have the correct password in correct format.
Example:
(mysql root password is set to 'pass' & mysql command auto logs on) tail /etc/mysql/conf.d/my.cnf & tail /root/.my.cnf: [client] user = root password = pass This Works fine and "ee site create example.com --mysql" works perfectly
(mysql root password is set to 'p@$$' & mysql command auto logs on) tail /etc/mysql/conf.d/my.cnf & tail /root/.my.cnf: [client] user = root password = "p@$$" This does not work and "ee site create example.com --mysql" fails and the log validated it can not create the database due to failing logging into mysql.
my.cnf, and in turn mysql work fine with the special chars in the password with ether a double or single quote in my.cnf around the password, and mysql auto logs in using my.cnf both ways, but EE will not work with ether.
Anyone else notice this?