Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 2020 17:25:24 +0000 (UTC)
From:      doug <>
To:        wa5qjh <>
Subject:   Re: service mysql start 
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, 13 Oct 2020, wa5qjh wrote:

> Prints Starting mysql.
> Delays briefly then prints
>  then: then/endif not found
> And mysql not started. Upon reboot you see in the message
>  then: then/endif not found
> Indeed, in /usr/local/etc/mysql/mysql-server file there are many "then" but no "endif".
> And I'm just guessing thats where the problem is. I dont really know
> So, is there a way to start mysql server any other way?
> I just ran freebsd-update upgrade -r 12.1  from a zfs based 11.2 installation followed by pkg upgrade -f  to hopefully bring the system up to a useable 12.1 system. The first time sinceFreeBSD 1.5 to try this.
> Gary Corell
> Ya gotta see time beyond the end of your nose

First endif is a csh construct. The local rc.d scripts are written in sh 
and should start with `#!/bin/sh`. That said use `mysqld --verbose --help` 
to see how to start mysql manually. `man -k mysql` gives more info. As a 
last resort: :)

Want to link to this message? Use this URL: <>