resetting mysql root password on 10.04
Mike McMullin
mmcmullin at cogeco.ca
Mon May 24 15:26:32 UTC 2010
On May 23, 2010 06:15:52 pm Hal Burgiss wrote:
> On Sun, May 23, 2010 at 4:46 PM, Colin Law <clanlaw at googlemail.com> wrote:
> >> On Ubuntu (and most linuxes):
> >>
> >> to stop mysql: /etc/init.d/mysql stop
> >>
> >> to start: /etc/init.d/mysql start
> >>
> >> Just like any service.
> >
> > I thought that now we use
> > sudo service mysql stop
>
> I suspect the 'service' thing is just a wrapper and the syntax I
> quoted would still work (at least it does on 9.10, which is where I
> am).
Yes it does, openSuSE has actual scripts in the /etc/init.d directory that
give other information, such as status, which would have been nice in this
situation, as issuing sudo /etc/init.d/mysql stop did not seem to work, the
.pid file just changed it's contents, which indicates that something kept
restarting it, but I have no idea what mythtv perhaps?.
More information about the ubuntu-users
mailing list