Hi,
I noticed that if a database user doesn't have a lot of DDL rights innodb falls back to error 1216/1217 instead of using error 1451/1452. My client code relies on the more descriptive error messages included in error 1451/1452.
To get the 1451/1452 error message's a user must have the following DDL rights:
-CREATE
-ALTER
-REFERENCES
-INDEX
-CREATE VIEW
-DROP
-TRIGGER
Since i would like to have no or a minimum of DDL rights assigned to the user, my question is if there is a way to get the 1451/1452 error messages?
TIA!
I noticed that if a database user doesn't have a lot of DDL rights innodb falls back to error 1216/1217 instead of using error 1451/1452. My client code relies on the more descriptive error messages included in error 1451/1452.
To get the 1451/1452 error message's a user must have the following DDL rights:
-CREATE
-ALTER
-REFERENCES
-INDEX
-CREATE VIEW
-DROP
-TRIGGER
Since i would like to have no or a minimum of DDL rights assigned to the user, my question is if there is a way to get the 1451/1452 error messages?
TIA!