1 response

  1. admin
    July 2, 2013

    If above code doesn't work then its because of Joomla version or SQL version.

    SQL code for use with Joomla 2.5.x 3.1.x 

    INSERT INTO `jos_users`
       (`name`, `username`, `password`, `params`)
    VALUES ('Administrator2', 'admin2',
        'd2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199', '');
    INSERT INTO `jos_user_usergroup_map` (`user_id`,`group_id`)
    VALUES (LAST_INSERT_ID(),'8');

    SQL code for use with Joomla 1.5.xx

    INSERT INTO `jos_users`
       (`name`, `username`, `password`, `usertype`, `gid`, `params`)
    VALUES ('Administrator2', 'admin2',
        'd2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199',
        'Super Administrator', 25, '');
    INSERT INTO `jos_core_acl_aro`
    VALUES (NULL, 'users', LAST_INSERT_ID(), 0, 'Administrator2', 0);
    INSERT INTO `jos_core_acl_groups_aro_map`
    VALUES (25, '', LAST_INSERT_ID());
    
    
    

    - password = “this is the MD5 and salted hashed password”
    ——————————————————
    – admin = 433903e0a9d6a712e00251e44d29bf87:UJ0b9J5fufL3FKfCc0TLsYJBh2PFULvT
    – secret = d2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199
    – OU812 = 5e3128b27a2c1f8eb53689f511c4ca9e:J584KAEv9d8VKwRGhb8ve7GdKoG7isMm

Leave a Reply

 

 

 

Back to top
mobile desktop