Fix indentation for .my.cnf
This commit is contained in:
parent
580ff1307e
commit
9ff6846c36
|
@ -441,12 +441,12 @@ EOT
|
||||||
|
|
||||||
my_cnf_file="$HOME_DIR_USER/.my.cnf"
|
my_cnf_file="$HOME_DIR_USER/.my.cnf"
|
||||||
cat >$my_cnf_file <<-EOT
|
cat >$my_cnf_file <<-EOT
|
||||||
[client]
|
[client]
|
||||||
user = $in_login
|
user = $in_login
|
||||||
password = "$in_dbpasswd"
|
password = "$in_dbpasswd"
|
||||||
|
|
||||||
[mysql]
|
[mysql]
|
||||||
database = $in_dbname
|
database = $in_dbname
|
||||||
EOT
|
EOT
|
||||||
chown $in_login $my_cnf_file
|
chown $in_login $my_cnf_file
|
||||||
chmod 600 $my_cnf_file
|
chmod 600 $my_cnf_file
|
||||||
|
|
Loading…
Reference in a new issue