Using Option Files .My.Cnf – Mysql User & Password Site Editor August 6, 2019 2:50 am No Comments Warning! If someone gains access to your account they will be able to easily escalate to root privileges. Create file ~/.my.cnf and add the following lines in