Hi,
I'm having trouble getting the mysql plugin to work. I had mysql installed before and after uninstalling and then installing the plugin I get this error.
Code
Failed to execute command 'export LANG=C; invoke-rc.d 'mysql' start 2>&1': Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed! invoke-rc.d: initscript mysql, action "start" failed.
And syslog says:
Code
Dec 6 14:17:21 omv mysqld_safe: Starting mysqld daemon with databases from /media/afa5342b-7ff6-41a3-aef2-3c7f6af3e34a/mysql-data
Dec 6 14:17:21 omv mysqld: 131206 14:17:21 [Note] Plugin 'FEDERATED' is disabled.
Dec 6 14:17:21 omv mysqld: #007/usr/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
Dec 6 14:17:21 omv mysqld: 131206 14:17:21 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
Dec 6 14:17:21 omv mysqld: 131206 14:17:21 InnoDB: Initializing buffer pool, size = 8.0M
Dec 6 14:17:21 omv mysqld: 131206 14:17:21 InnoDB: Completed initialization of buffer pool
Dec 6 14:17:21 omv mysqld: 131206 14:17:21 InnoDB: Operating system error number 13 in a file operation.
Dec 6 14:17:21 omv mysqld: InnoDB: The error means mysqld does not have the access rights to
Dec 6 14:17:21 omv mysqld: InnoDB: the directory.
Dec 6 14:17:21 omv mysqld: InnoDB: File name ./ibdata1
Dec 6 14:17:21 omv mysqld: InnoDB: File operation call: 'create'.
Dec 6 14:17:21 omv mysqld: InnoDB: Cannot continue operation.
Dec 6 14:17:21 omv mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld.pid ended
Dec 6 14:17:35 omv /etc/init.d/mysql[28520]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Dec 6 14:17:35 omv /etc/init.d/mysql[28520]: #007/usr/bin/mysqladmin: connect to server at 'localhost' failed
Dec 6 14:17:35 omv /etc/init.d/mysql[28520]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Dec 6 14:17:35 omv /etc/init.d/mysql[28520]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Dec 6 14:17:35 omv /etc/init.d/mysql[28520]:
Alles anzeigen
Seems like some wierd permissions problem. But I've tried a lot of things now, like completly removing mysql and any files related to it rebooting and then installing again, changing permissions of the mysql-data folder, nothing has worked so far.