![](https://secure.gravatar.com/avatar/39b623a1559cf9c69ac3d9d4fb44e7fe.jpg?s=120&d=mm&r=g)
16 Jul
2013
16 Jul
'13
8:52 p.m.
Hi, Roberto! On Jul 10, Roberto Spadim wrote:
other doubt... there's no plugin to read this file right? could i create a error_messages plugin? it will read the err file and return something like: ||Language|error code|error text|| |en_US|1234|hello|
What do you want to achieve? To have a list of all error messages in the information_schema table? What for?
where could i read all error codes? i was reading unireg there's some
include/mysqld_error.h
macros, but they are locale specific, there's some 'all locales' variable? or some function that could read this errors codes / messages?
ER() returns the error code in the current language. ER_DEFAULT() - in the default one. Regards, Sergei