MySQL Auto Upgrade Old Password -


i'm wanting upgrade older server php 5.6 mysqlnd, not going accept mysql "old" passwords. possible configure mysql or php mysql driver automatically upgrade 16-char password upon successful login 41-char format?

logically speaking, this:

  1. login -> good.
  2. old password? -> upgrade update mysql.user set password = password('password_just_used_to_auth') user = 'current_user' limit 1;

... [ few days later ] ...

  1. upgrade php 5.6 when no 16-char passwords remain.

or recourse hunt through web apps mysql passwords , upgrade them manually?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -