You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ebean:
test:
shutdown: remove
platform: mysql
ddlMode: dropCreate
dbName: A # here I can't declare multi dbName
As the log show, it only create database A and only grant permissions On A.* to user A
// some logging output2024-10-29 09:46:42 [ForkJoinPool.commonPool-worker-2] TRACE io.ebean.test.containers - sqlRun: show databases like 'A'2024-10-29 09:46:42 [ForkJoinPool.commonPool-worker-2] DEBUG io.ebean.test.containers - sqlRun: create database A2024-10-29 09:46:42 [ForkJoinPool.commonPool-worker-2] DEBUG io.ebean.test.containers - sqlRun: set global log_bin_trust_function_creators=12024-10-29 09:46:42 [ForkJoinPool.commonPool-worker-2] TRACE io.ebean.test.containers - sqlRun: select User from user where User = 'A'2024-10-29 09:46:42 [ForkJoinPool.commonPool-worker-2] DEBUG io.ebean.test.containers - sqlRun: create user 'A'@'%' identified by 'test'2024-10-29 09:46:42 [ForkJoinPool.commonPool-worker-2] DEBUG io.ebean.test.containers - sqlRun: grant all on A.* to 'A'@'%'Caused by: java.sql.SQLException: Error executing [create table B.B ( id integer auto_increment not null, name varchar(255), constraint pk_b primary key (id))] error[CREATE command denied to user 'A'@'192.168.65.1' for table 'B']
The text was updated successfully, but these errors were encountered:
Expected behavior
Success init all schema and tables
Actual behavior
Got a permission denied error
Steps to reproduce
Define model classes
declare application-test.yaml
As the log show, it only create database A and only grant permissions On A.* to user A
The text was updated successfully, but these errors were encountered: