Grant admin privileges to admin

This commit is contained in:
Daniel Berteaud 2014-02-04 11:33:09 +01:00
parent e51e9bf577
commit 8e51f07b72
1 changed files with 4 additions and 0 deletions

View File

@ -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
}