Actualizar password de mediawiki por comando (mysql)

Posted on novembre 25th, 2009 by admin


$ mysql -uusuario -p

mysql> use wikifarm;
mysql > update wiki_user set user_password = md5(concat(user_id,’-‘,md5(‘new_password’))) where user_name=’Admin’;
mysql > quit;

si no funciona comprobar las comillas.

This entry was posted on dimecres, novembre 25th, 2009 at 18:55 and is filed under bbdd, cms. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Response

« »

guy fawkes