Thứ Năm, 2 tháng 11, 2017

.my.cnf – mysql user & password

Create file ~/.my.cnf and add following lines in it and replace mysqluser & mysqlpass values.
[client]
user=mysqluser
password=mysqlpass
For safety, make this file readable to you only by running chmod 0600 ~/.my.cnf

Share This!


Không có nhận xét nào:

Đăng nhận xét