Saturday, November 06, 2010

Xampp on Ubuntu maverick 10.10 64 bit

* downloaded development package and stable package
* extracted to /opt

sudo /opt/lampp/lampp start 
causes mysql was not started with following error in /opt/lampp/var/mysql/copmuter.err
101106 20:18:59 mysqld_safe Starting mysqld daemon with databases from /opt/lampp/var/mysql
101106 20:18:59 [Note] Plugin 'FEDERATED' is disabled.
/opt/lampp/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
101106 20:18:59 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
101106 20:18:59  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name /opt/lampp/var/mysql/ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
101106 20:18:59 mysqld_safe mysqld from pid file /opt/lampp/var/mysql/ms-HP-620.pid ended 

following helped:
 sudo chown -R nobody /opt/lampp/var/mysql

No comments: