In Progress CPANEL-42266 - Addon domain converter - database prefixes

sparek-3

Well-Known Member
Aug 10, 2002
2,149
265
388
cPanel Access Level
Root Administrator
So with the Convert Addon Domain to Account - the database name and database user name prefixes don't change?

Is that wise?

If you ask me, that's a recipe for disaster later on.

So if user1 has an addon domain - myaddondomain.com - that's using a database - user1_wp1 and they want to split that addon domain into it's own account with a username of user2. So now user2 owns the database user1_wp1 while user1 continues to own all of the user user1_ prefixed databases.

I don't like that. That's going to be so confusing 6 years down the road when trying to figure out who owns user1_wp1.

Wouldn't a better solution been to create a user2_wp1 database and dump the contents of user1_wp1 into this new user2_wp1 database?

This setup seems ill-conceived.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,158
2,407
363
cPanel Access Level
Root Administrator
Hey hey! I agree, and I made case CPANEL-42266 for our team to check this out.

I know there will be some pushback around "but what about the database connection strings!" But really, the root user is the only person that can perform the conversion, so they should be aware.

I'll post any updates as I get them!