确保是root,执行如下命令:
# vi ~/.my.cnf
[client]
host=localhost
user='root'
password='password'
# chmod 700 ~/.my.cnf
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/tech/bigdata/3895.html
确保是root,执行如下命令:
# vi ~/.my.cnf
[client]
host=localhost
user='root'
password='password'
# chmod 700 ~/.my.cnf
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/tech/bigdata/3895.html