MySQL library initialization failed (on "init")

Thomas Klausner wiz at NetBSD.org
Sat Oct 3 18:28:51 UTC 2009


On Sat, Oct 03, 2009 at 01:29:35PM -0400, Jeff Mitchell wrote:
> You could try adding a line after the "MySQL library initialization
> failed" line:
> 
> error() << "MySQL return code is " << mysql_errno( m_db );
> 
> This should give a numeric value that could be checked against errmsg.h
> or mysqld_error.h to see if it reveals anything.
> 
> Not sure what else to tell you...

amarok:                [ERROR!] MySQL return code is  2000

# grep -r 2000 /usr/pkg/mysqld/include/mysql/*err*
/* Copyright (C) 2000 MySQL AB
#define CR_MIN_ERROR            2000    /* For easier client code */
#define CR_ERROR_FIRST          2000 /*Copy first error nr.*/
#define CR_UNKNOWN_ERROR        2000

That's not very helpful :(
 Thomas



More information about the Amarok mailing list