How to install 2 Ruko in a single BD?

Ask your questions here.
Post Reply
User avatar
facciolini
Posts: 73
Joined: 04 Nov 2018, 14:39
Name: Rosetta Facciolini
Location: Treviso

How to install 2 Ruko in a single BD?

Post by facciolini »

HI,
I have to install a Ruko demo inside the same database, how can I do it?
I see the prefix app_ maybe there is a way to make a different prefix?
Thank you!
User avatar
facciolini
Posts: 73
Joined: 04 Nov 2018, 14:39
Name: Rosetta Facciolini
Location: Treviso

Re: How to install 2 Ruko in a single BD?

Post by facciolini »

Any ideas to make this happen?
eddydeniro
Posts: 174
Joined: 23 Feb 2021, 16:31
Name: Edi Supriyadi
Location: BDG Indonesia

Re: How to install 2 Ruko in a single BD?

Post by eddydeniro »

You mean you want to make the same table set with different prefix with two Rukovoditel installations referring to each prefix?
Generally, it's not possible. If you see the script, it's because table names in queries are all hardcoded.

In some circumstances, if you know what you're doing, it is possible but it needs you to change the core files. You have to replace all prefix app_ that refers to table name with the new one. It needs a lot of work because you can't just simply search and replace, the prefix app_ is not only goes to table names, but also some PHP variables or constants (esp if you search replace in insensitive-case).
User avatar
facciolini
Posts: 73
Joined: 04 Nov 2018, 14:39
Name: Rosetta Facciolini
Location: Treviso

Re: How to install 2 Ruko in a single BD?

Post by facciolini »

Thanks for the reply @eddydeniro
Good evening
Post Reply