Hi,
I have an issue where I'm not able to start MySQL server 5.5 on FreeBSD 9.1. MySQL is enabled in rc.conf and I get the following error message trying to initialise the MySQL command:
Running
I've tried both using and not using a my.cnf file but the it give identical errors. I've set up MySQL numerous times previously under Windows or Ubuntu but I'm quite new to FreeBSD so I appreciate any help, and your patience with a newbie!
Regards,
AC
I have an issue where I'm not able to start MySQL server 5.5 on FreeBSD 9.1. MySQL is enabled in rc.conf and I get the following error message trying to initialise the MySQL command:
Code:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Running
/usr/local/etc/rc.d/mysql-server start
does not throw out any errors but the server still fails to start. The error log under /var/db/mysql looks as follows:
Code:
130518 14:26:37 mysqld_safe mysqld from pid file /var/db/mysql/tnc.pid ended
130518 15:12:29 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
130518 15:12:29 InnoDB: The InnoDB memory heap is disabled
130518 15:12:29 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130518 15:12:29 InnoDB: Compressed tables use zlib 1.2.7
^G/usr/local/libexec/mysqld: Can't create/write to file '/tmp/ibLDywpJ' (Errcode: 13)
130518 15:12:29 InnoDB: Error: unable to create temporary file; errno: 13
130518 15:12:29 [ERROR] Plugin 'InnoDB' init function returned error.
130518 15:12:29 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130518 15:12:29 [ERROR] Unknown/unsupported storage engine: InnoDB
130518 15:12:29 [ERROR] Aborting
130518 15:12:29 [Note] /usr/local/libexec/mysqld: Shutdown complete
I've tried both using and not using a my.cnf file but the it give identical errors. I've set up MySQL numerous times previously under Windows or Ubuntu but I'm quite new to FreeBSD so I appreciate any help, and your patience with a newbie!
Regards,
AC