Open ghost opened 6 years ago
I forgot Special Caracters when I define a password through bash script but you could try to put it inside quote like this :
or put the escape caracters () before your Specials Caracters
You will find more info here
@fbg13 anyway most of the time unsolicited access to the database will come from a misconfiguration in a APPS
If you always define custom Username, custom Database and custom Table Prefix you will reduce the attack surface aka being protected from most botnet.
I'll recommend you to be explicit about which IP could access your SQL. As I said IP not Nameserver for a good reason; it's harder to spoof an IP than a server name.
It is resolved?
If the mysql password contains a "&" it gets messed up. My password was
6rfbQBV5Rq06S&fI
and it was saved as6rfbQBV5Rq06Spassword =fI
in /etc/mysql/debian.cnf.