MySQL Forums
Forum List  »  Install & Repo

Re: Automated root password reset on new install
Posted by: Todd Farmer
Date: May 19, 2014 01:46PM

This error can be caused by one of two factors:

1. The mysql client is older (than 5.6) and doesn't indicate it can handle expired passwords in the capabilities flags.

2. The newer (5.6 or later) mysql client is being used in batch mode, which explicitly disables capability for expired password unless --connect-expired-password is used.

The solution for the first is to ensure you are using a mysql client from version 5.6 or later; the solution to the second is to include the --connect-expired-password option.

http://dev.mysql.com/doc/refman/5.6/en/mysql-command-options.html

Hope that helps!

--
Todd Farmer
MySQL @ Oracle
http://www.oracle.com/mysql/

Options: ReplyQuote


Subject
Written By
Posted
Re: Automated root password reset on new install
May 19, 2014 01:46PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.