the other dude mysql query doesnt work and doesnt make you a network super admin, but this one does!
INSERT INTO `wp_users` (`user_login`, `user_pass`, `user_nicename`, `user_email`, `user_status`, `user_registered`) VALUES ('newadmin', MD5('password1234567890change_me'), 'firstname lastname', '[email protected]', '0', NOW());
INSERT INTO `wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (NULL, (Select max(id) FROM wp_users), 'wp_capabilities', 'a:1:{s:13:"administrator";s:1:"1";}');
INSERT INTO `wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (NULL, (Select max(id) FROM wp_users), 'wp_user_level', '10');
INSERT INTO `wp_sitemeta` ( `site_id`, `meta_key`, `meta_value` ) VALUES (1, 'site_admins', 'a:1:{i:0;s:8:"newadmin";}' );
now explaining this:
the most trickiest part for a super admin is the last query!
a:3:{i:0;s:5:"admin";i:1;s:9:"user12345";i:2;s:10:"user234567";}
“a:3” -> for network Admins, there will be 3. The succeeding text will now list them.
“i:0”, “i:1”, “i:2” -> This is the user order: Admin1, Admin2, Admin3, etc.
“s:5”, “s:9”, “s:10” -> This represents the number of characters of the declared username! This apparently was added as a security feature of sorts. If the number of characters are off than this will not work!
“admin,” “irisemedia,” etc. -> This is the declared username that will be associated with the Network Admins
To learn more about this read more here
Note: change the password!