You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The script tries to create a new user for the database clone, this fails if the user already exists. You can modifiy the create user statement to use "CREATE USER IF NOT EXISTS"
The text was updated successfully, but these errors were encountered:
Unfortunately "IF NOT EXISTS" option of "CREATE USER" statement is introduced in MySQL 5.7. So I provided solution with checking if user exists with SELECT statement before executing "CREATE USER".
The script tries to create a new user for the database clone, this fails if the user already exists. You can modifiy the create user statement to use "CREATE USER IF NOT EXISTS"
The text was updated successfully, but these errors were encountered: