Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1957

Fall back to error 1216/1217 without a lot of ddl user rights (no replies)

$
0
0
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!

Viewing all articles
Browse latest Browse all 1957

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>