MySQL Forums
Forum List  »  Newbie

load mysql data file error
Posted by: eric tang
Date: September 05, 2018 04:01AM

In my mysql 5.7.x , there is a db with function , trigger , stored procedure .

I follow the below URL to export the data with the command "mysqldump -u root -p --routines mydb > mydb.sql" , but I got the error "ERROR 1359 (HY000) at line 1541: Trigger already exists" when load into a empty db

Would advise what is wrong in my step , how to fix it ?



https://tecadmin.net/mysql-dumprestore-stored-procedures-and-triggers/

Options: ReplyQuote


Subject
Written By
Posted
load mysql data file error
September 05, 2018 04:01AM
September 05, 2018 09:43AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.