Skip to content

Commit

Permalink
remove default user from init sql
Browse files Browse the repository at this point in the history
  • Loading branch information
paderlol committed Aug 2, 2024
1 parent e682001 commit 4a4243f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions operator/config/sql/nacos-mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,3 @@ CREATE TABLE IF NOT EXISTS `permissions` (
UNIQUE INDEX `uk_role_permission` (`role`,`resource`,`action`) USING BTREE
);

INSERT IGNORE INTO users (username, password, enabled) VALUES ('nacos', '$2a$10$EuWPZHzz32dJN7jexM34MOeYirDdFAZm2kuWj7VEOJhhZkDrxfvUu', TRUE);

INSERT IGNORE INTO roles (username, role) VALUES ('nacos', 'ROLE_ADMIN');

0 comments on commit 4a4243f

Please sign in to comment.