resetting mysql root password on 10.04
Colin Law
clanlaw at googlemail.com
Sun May 23 20:46:53 UTC 2010
On 23 May 2010 19:48, Hal Burgiss <hal at burgiss.net> wrote:
> On Sun, May 23, 2010 at 2:14 PM, Mike McMullin <mmcmullin at cogeco.ca> wrote:
>>
>> For some odd reason following the instructions on locating the .pid file
>> and killing the process fails. Each time that I try and invoke the
>> mysql_safe command with the init file option I get an error telling me
>> that a mysqld process already exists. I decided to beat it dead by
>> uninstalling everything and then reinstalling everything associated with
>> it. I now have the access that I wanted. On to other problems with the
>> migration.
>
> 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
Colin
More information about the ubuntu-users
mailing list