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!
How to install 2 Ruko in a single BD?
- facciolini
- Posts: 73
- Joined: 04 Nov 2018, 14:39
- Name: Rosetta Facciolini
- Location: Treviso
- facciolini
- Posts: 73
- Joined: 04 Nov 2018, 14:39
- Name: Rosetta Facciolini
- Location: Treviso
Re: How to install 2 Ruko in a single BD?
Any ideas to make this happen?
-
- Posts: 174
- Joined: 23 Feb 2021, 16:31
- Name: Edi Supriyadi
- Location: BDG Indonesia
Re: How to install 2 Ruko in a single BD?
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).
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).
- facciolini
- Posts: 73
- Joined: 04 Nov 2018, 14:39
- Name: Rosetta Facciolini
- Location: Treviso
Re: How to install 2 Ruko in a single BD?
Thanks for the reply @eddydeniro
Good evening
Good evening