被一个小朋友问到,直接公布答案: If your MySQL client/server version is a 5.6.x a way to avoid the WARNING message are using the mysql_config_editor tools: mysql_config_editor set --login-path=local --host=localhost --user=username --password Then you can use in you…
转自 http://www.cnblogs.com/sunss/p/6256706.html 被一个小朋友问到,直接公布答案: If your MySQL client/server version is a 5.6.x a way to avoid the WARNING message are using the mysql_config_editor tools: mysql_config_editor set --login-path=local --host=localhost --…
结论: The source command is only available in bash, and the supervisor command is run by sh. I would recommend using a script to perform your commands 代码示例: [program:alarm_handler] command = bash /opt/disk2/var/www/maliksi/file_protect/management/com…