Talk:How to install a MySQL Server
From NetBSD Wiki
I think you should add: "Do a '# chown -R mysql /var/mysql'"
Or you'll get this error:
Starting mysqld daemon with databases from /var/mysql
mysqld started
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 ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
STOPPING server from pid file /var/mysql/main.pid
mysqld ended
May be it only happens to me, but I don't know.
