mysql won't start on boot
Joshua Lokken
joshua.lokken at gmail.com
Wed Dec 8 12:48:38 PST 2004
On Wed, 8 Dec 2004 12:05:13 -0800, Vonleigh Simmons
<nospam at illusionart.com> wrote:
> > What happens if you run "/usr/local/etc/rc.d/mysql-server.sh start"
>
> # /usr/local/etc/rc.d/mysql-server.sh start
> Starting mysql.
>
> Yet mysql never started up, here is the error log:
> ---
> 041208 14:07:26 mysqld started
> 041208 14:07:26 [ERROR] Can't find messagefile
> '/usr/local/share/mysql/english/errmsg.sys'
> 041208 14:07:26 [ERROR] Aborting
>
> 041208 14:07:26 mysqld ended
> ---
The documentation specifies that the above is not the way to
start mysql.
>
> If I start it up with mysql_safe using what I think the script is
> using as startup:
>
> # /usr/local/bin/mysqld_safe --user=mysql --datadir=/var/db/mysql
> --pid-file=/var/db/mysql/alpargata.net.pid &
>
> Then it starts up just fine:
> ---
> 041208 14:07:32 mysqld started
> 041208 14:07:32 InnoDB: Started; log sequence number 0 43912
> /usr/local/libexec/mysqld: ready for connections.
> Version: '4.1.7' socket: '/tmp/mysql.sock' port: 3306 FreeBSD port:
> mysql-server-4.1.7
> ---
And you found the correct way. However, I do not know why it is
not starting at boot time.
--
Joshua Lokken
Open Source Advocate
More information about the freebsd-questions
mailing list