dredknight commented on issue #5587:
URL: https://github.com/apache/cloudstack/issues/5587#issuecomment-947389787


   Do you have any tip on how to create account with this ID safely?
   I created new account from GUI and tried to change the ID from the DB but it 
seems it is bound to some other tables so it wont allow me. 
   
   `Reason:
   SQL Error [1451] [23000]: (conn=12049652) Cannot delete or update a parent 
row: a foreign key constraint fails (`cloud`.`resource_count`, CONSTRAINT 
`fk_resource_count__account_id` FOREIGN KEY (`account_id`) REFERENCES `account` 
(`id`) ON DELETE CASCADE)`
   
   As alternative i don't mind resetting the whole usage server database if 
that will help. Just let me know how to do it, if possible.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to