Added a hint for the user in case the libmysqld fails to init.
This commit is contained in:
@ -1235,9 +1235,13 @@ int main(int argc, char **argv)
|
|||||||
if (mysql_errno(NULL) == 2000)
|
if (mysql_errno(NULL) == 2000)
|
||||||
{
|
{
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"*\n* Error : %s\n* Ensure that you have "
|
"*\n* Error : %s\n* Hint "
|
||||||
|
":\n* Ensure that you have "
|
||||||
"MySQL error messages file, errmsg.sys in "
|
"MySQL error messages file, errmsg.sys in "
|
||||||
"\n* %s\n*\n",
|
"\n* %s\n* Ensure that Embedded "
|
||||||
|
"Server Library version matches "
|
||||||
|
"exactly with that of the errmsg.sys "
|
||||||
|
"file.\n*\n",
|
||||||
mysql_error(NULL),
|
mysql_error(NULL),
|
||||||
language_arg);
|
language_arg);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user