You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found Warning: Using a password on the command line interface can be insecure.
was appearing on line 1 of my staging sql dump file. This was causing SQL syntax error when trying to import locally.
I didn't use SSH host option to connect to the server not sure if this has something to do with the error message?
As a temporary fix I removed the warning message by adding:
varpreoutput=exports.replace_urls(old_url,new_url,content);varoutput=exports.replace_urls("Warning: Using a password on the command line interface can be insecure."," ",preoutput);
Am I authenticating wrong which is causing the warning to appear? Authenticating using the ssh_host option seemed to not allow the sqldump to generate due to -jailshell: FkX: command not found errors appearing when trying to dump on the live server.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I found
Warning: Using a password on the command line interface can be insecure.
was appearing on line 1 of my staging sql dump file. This was causing SQL syntax error when trying to import locally.
I didn't use SSH host option to connect to the server not sure if this has something to do with the error message?
I found the same problem referenced here: http://stackoverflow.com/questions/20751352/suppress-warning-messages-using-mysql-from-within-terminal-but-password-written which suggests to use mysql_config_editor http://dev.mysql.com/doc/refman/5.6/en/mysql-config-editor.html.
As a temporary fix I removed the warning message by adding:
In util.js https://github.com/webrain/grunt-wordpress-deploy/blob/master/tasks/lib/util.js#L89
Am I authenticating wrong which is causing the warning to appear? Authenticating using the ssh_host option seemed to not allow the sqldump to generate due to
-jailshell: FkX: command not found
errors appearing when trying to dump on the live server.Thanks!
The text was updated successfully, but these errors were encountered: