[cvs] [Wiki] changed: RenameUsers

Wiki Guest wiki at wiki.horde.org
Wed Nov 23 15:46:34 PST 2005


guest [205.191.171.10]  Wed, 23 Nov 2005 15:46:34 -0800

Modified page: http://wiki.horde.org/RenameUsers
New Revision:  1.4
Change log:  Ooops... remove password. What a fool!

@@ -25,9 +25,9 @@
 function horde_rename() {
   new=$2; old=$1
   echo Rename $old \-\> $new
 
-  mysql -u horde -pdocile horde << EOF
+  mysql -u horde -ppassword horde << EOF
 update hermes_timeslices set employee_id = '$new' where employee_id = '$old';
 update horde_datatree set user_uid = '$new' where user_uid = '$old';
 update horde_datatree set datatree_name = '$new' where datatree_name = '$old' and user_uid = '$new';
 update horde_datatree_attributes set attribute_value = '$new' where attribute_value = '$old' and attribute_key = 'who';


More information about the cvs mailing list