MySQL Port Question

Andrew Pantyukhin infofarmer at FreeBSD.org
Wed Jan 10 11:35:22 UTC 2007


On 1/10/07, Stan Halprin <stanhalprin at yahoo.com> wrote:
> Hello;
> I'm trying to build MySQL 5.0 (server) on FBSD 6.1 from port. I ran "make install clean" but now I'm lost. mysqld is not up. What is my username? Never asked me for one in the install. Tried this:
>
> # /usr/local/libexec/mysqld -umysql
> 070109 16:39:30  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.
>
> Looks like there's probably more that needs to be done to get an
> out-of-the-box MySQL port installation working. Please advise.
> Stan

# echo 'mysql_enable="YES"' >> /etc/rc.conf
# /usr/local/etc/rc.d/mysql-server start


More information about the freebsd-questions mailing list