cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

db.tableprefix=brand_ not creating master tenant tables with slave tenant prefix ?

gopinath_nese
Explorer
0 Likes
565

Hi,

db.tableprefix=brand_ not creating master tenant tables with slave tenant prefix.

i have following configurations in my local_tenant_brand.properties file placed under config folder.

Properties are:

hac.webroot=/hac_brand

backoffice.webroot=/backoffice_brand

yacceleratorstorefront.webroot=/brand

db.tableprefix=brand_

db.driver=com.mysql.jdbc.Driver

db.url=jdbc:mysql://localhost:3306/hybris?useConfigs=maxPerformance&characterEncoding=utf8&useSSL=false

db.username=root

db.password=password

as per master tenant local.properties.

After this i have done System Update and Not Initialization as i don't want to loose the master tenant database tables data.

i don't see the tables generated with prefix given as per my tenant configuration.

can someone please advice what am i missing configurations or properties. If someone had experienced same problems, could you please share how you have resolved it.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

alex_alvarez1
Product and Topic Expert
Product and Topic Expert
0 Likes

On a local test instance try the following:

1. Rename the existing tables to add the prefix

2. Run the update

3. Generate the dry run system update DDLs from HAC and make sure that they execute properly on the local schema.