resetting mysql root password on 10.04

Tom H tomh0665 at gmail.com
Mon May 24 15:31:28 UTC 2010


On Mon, May 24, 2010 at 11:26 AM, Mike McMullin <mmcmullin at cogeco.ca> wrote:
> 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?.

The advantage of service is that you don't have to worry/know whether
the init script is in /etc/init.d or /etc/init.




More information about the ubuntu-users mailing list