vim /etc/mysql/my.cnf

[mysqldump]
user=user_name
password=password

格式:
[只用密码的命令]
user=用户名
password=密码

  另外,在linux shell中,赋值的时候,=号前后千万不要出现空格

相关文章:

  • 2022-12-23
  • 2022-02-24
  • 2022-01-24
  • 2022-12-23
  • 2022-12-23
  • 2021-12-30
  • 2021-08-19
  • 2021-06-23
猜你喜欢
  • 2021-07-27
  • 2022-12-23
  • 2021-10-07
  • 2022-02-20
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案