Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.I am getting the following error when trying to clone an existing site. I have cloned over a dozen sites in the past and have not had this issue before.
Database import failed: ERROR 1044 (42000) at line 1265: Access denied for user 'rockrivernameles'@'localhost' to database 'oaksnamelessnetw'
rockrivernameles is the new user account created for the clone. I am not sure why that account needs access to the original DB since the database was already dumped.
I should note that I am cloning a site that is running CiviCRM.
Any help or direction would be great appreciated.
Thanks!










Comments
Comment #2
sleewok CreditAttribution: sleewok commentedComment #3
helmo CreditAttribution: helmo as a volunteer and at Initfour websolutions for Aegir Cooperative commentedSorry for the late response ... we haven't found time investigate yet. I'll ask around.
Comment #4
bgm CreditAttribution: bgm at Coop SymbioTIC commentedIt's probably caused by the mysql triggers that are added by CiviCRM.
- Can you dump the database and look for "DEFINER"?
- What version of MySQL/MariaDB?
Normally they get automatically removed, but maybe your version of mysql is generating an unsupported syntax.
I'm on MariaDB 10.2 + CiviCRM (& multilingual, which has a lot of views/triggers), and no issues there.
Comment #5
Shwele CreditAttribution: Shwele commentedTested on aegir hostmaster-7.x-3.151 , cloning process worked.
Using CiviCRM with apache, mysql and php.
BGM as per our agreement you can close this topic as cloning process is working as intended.
Comment #6
bgm CreditAttribution: bgm at Coop SymbioTIC commentedThanks for the feedback.