Bonjour,
j'essaie de faire fonctionner un programme utilisant MySQL Embedded ( le premier exemple de la doc ), seulement quand je lance le programme j'ai ceci comme message :
loris@mvision11:~/workspace/TestMysql/Debug$ ./TestMysql
InnoDB: The first specified data file /home/loris/workspace/TestMysql/Debug/data/ibdata1 did not exist:
InnoDB: a new database to be created!
060404 10:26:03 InnoDB: Setting file /home/loris/workspace/TestMysql/Debug/data/ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
060404 10:26:04 InnoDB: Log file /home/loris/workspace/TestMysql/Debug/data/ib_logfile0 did not exist: new to be created
InnoDB: Setting log file /home/loris/workspace/TestMysql/Debug/data/ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
060404 10:26:04 InnoDB: Log file /home/loris/workspace/TestMysql/Debug/data/ib_logfile1 did not exist: new to be created
InnoDB: Setting log file /home/loris/workspace/TestMysql/Debug/data/ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
060404 10:26:05 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
InnoDB: Error:startup called second time during the process lifetime.
InnoDB: In the MySQL Embedded Server Library you cannot call server_init()
InnoDB: more than once during the process lifetime.
060404 10:26:07InnoDB: Assertion failure in thread 16384 in file sync0sync.c line 1175
InnoDB: Failing assertion: sync_initialized == FALSE
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://dev.mysql.com/doc/mysql/en/Forcing_recovery.html
InnoDB: about forcing recovery.
Segmentation fault
Je n'ai pas demandé le controle des privilèges donc pourquoi me demande-t-il le fichier mysql.host ?
Est-ce normal que je reçoive les messages d'InnoDB alors que je n'ai pas décomenté les lignes dans le fichier my.cnf ?
Est-ce que j'ai plus de chances d'avoir une réponse dans la section C ?
Partager