2019 issue: is this real and can be fixed so the "-" are preserved in database names during import of the database (done when restoring cpanel account full backup - cpmove files)?
2020-04-15 -
Activity
Newest / Oldest
smtalk
DA conversion does that automatically and changes the name in .php, so, I'm not sure what's the problem with it?
I mentioned it is 2019 issue, so maybe problem is no longer there. You may know what was changed/fixed during the time. I even do not know which cpanel to DA migration system was used as i am not and i was not root admin. I reported what i faced in 2019. If you think this is fixed in the migration system/s you introduced, then please close this request. Thank You
i think that the problem is that this breaks sites. Content management system in PHP usually have some file where is added mysql details like a database name. This way old defined name containing "-" stop working because DA removed "-" from the database. So the php script attempts to contact non existing db.
This should not happen (DA support "-" in db names) or some internal hack/that would turn "-" into "") or at worst happen, but the old database name should be automatically replaced by new one (without "-") in files (.php file which contains also the database username).
DirectAdmin does not allow "-" in database names. What problem did you have with the conversion? It auto-changes DB name where needed, so your site must have been functional.
Activity Newest / Oldest
smtalk
DA conversion does that automatically and changes the name in .php, so, I'm not sure what's the problem with it?
reseller user
I mentioned it is 2019 issue, so maybe problem is no longer there. You may know what was changed/fixed during the time. I even do not know which cpanel to DA migration system was used as i am not and i was not root admin. I reported what i faced in 2019. If you think this is fixed in the migration system/s you introduced, then please close this request. Thank You
reseller user
i think that the problem is that this breaks sites. Content management system in PHP usually have some file where is added mysql details like a database name. This way old defined name containing "-" stop working because DA removed "-" from the database. So the php script attempts to contact non existing db.
This should not happen (DA support "-" in db names) or some internal hack/that would turn "-" into "") or at worst happen, but the old database name should be automatically replaced by new one (without "-") in files (.php file which contains also the database username).
smtalk
DirectAdmin does not allow "-" in database names. What problem did you have with the conversion? It auto-changes DB name where needed, so your site must have been functional.