[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: akonadi failing to connect to database



On Sat, Jul 20, 2013 at 8:34 AM, Kevin Krammer <kevin.krammer@gmx.at> wrote:

Hmm.
Can you run the mysqld command manually?
for me it looks like:
/usr/sbin/mysqld \\
--defaults-file=/home/kevin/.local/share/akonadi/mysql.conf \\
--datadir=/home/kevin/.local/share/akonadi/db_data/ \\
--socket=/home/kevin/.local/share/akonadi/socket-persephone/mysql.socket

I cannot Running the equivalent command on my machine gives me

130720 12:17:45 [Warning] One can only use the --user switch if running as root

130720 12:17:45 [Note] Plugin 'FEDERATED' is disabled.
/usr/sbin/mysqld: Table 'mysql.plugin' doesn't exist
130720 12:17:45 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
130720 12:17:45 InnoDB: The InnoDB memory heap is disabled
130720 12:17:45 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130720 12:17:45 InnoDB: Compressed tables use zlib 1.2.7
130720 12:17:45 InnoDB: Using Linux native AIO
130720 12:17:45 InnoDB: Initializing buffer pool, size = 128.0M
130720 12:17:45 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file ./ib_logfile0 is of different size 0 67108864 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
130720 12:17:45 [ERROR] Plugin 'InnoDB' init function returned error.
130720 12:17:45 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130720 12:17:45 [ERROR] /usr/sbin/mysqld: unknown variable 'defaults=/home/storm/.local/share/akonadi/mysql.conf'
130720 12:17:45 [ERROR] Aborting

130720 12:17:45 [Note] /usr/sbin/mysqld: Shutdown complete

Now, having said that, the blunt-force trauma approach seems to have worked. I deleted $HOME/.config/akonadi and $HOME/.local/share/akonadi seems to have done the trick. kmail/kontact  is working now.

Thanks all!
--b

Reply to: