bdclient ...

This commit is contained in:
Your Name
2025-10-06 21:38:16 +02:00
parent 8e0a6d1a4a
commit 725945c71e
2 changed files with 4 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
services: services:
payara: payara:
image: payara/server-full:6.2025.9-jdk17 image: payara/server-full:6.2025.9-jdk17
container_name: payara
ports: ports:
- "8080:8080" - "8080:8080"
- "4848:4848" - "4848:4848"
@@ -15,6 +16,7 @@ services:
# - db # - db
db: db:
image: mariadb image: mariadb
container_name: db
ports: ports:
- "3336:3306" - "3336:3306"
env_file: env_file:

View File

@@ -71,8 +71,9 @@ INSERT INTO `salarie` (`idSal`, `login`, `mdp`, `estAdmin`) VALUES
(2, 'mdavid', 'md', 0); (2, 'mdavid', 'md', 0);
COMMIT; COMMIT;
DROP USER 'adminBDClient'@'%';
CREATE USER 'adminBDClient' IDENTIFIED BY "mdpBDClient"; CREATE USER 'adminBDClient' IDENTIFIED BY "mdpBDClient";
GRANT ALL PRIVILEGES ON `bdclient`.* TO 'adminBDClient'@'%' WITH GRANT OPTION; GRANT ALL PRIVILEGES ON bdclient.* TO 'adminBDClient'@'%' WITH GRANT OPTION;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;