Grant admin privileges to admin

tags/smeserver-dl-0.2.1-1 0.1.2_el5
Daniel Berteaud 11 years ago
parent e51e9bf577
commit 8e51f07b72
  1. 4
      root/etc/e-smith/templates/etc/e-smith/sql/init/dl

@ -43,6 +43,10 @@ REPLACE INTO db (
'N', 'Y', 'Y');
FLUSH PRIVILEGES;
use $db
INSERT INTO user (\\`name\\`,\\`role_id\\`) VALUES ('admin', '1') ON DUPLICATE KEY update role_id='1';
EOF
END
}

Loading…
Cancel
Save