[mythtv-users] Upgraded the Ubuntu 11.10 and not Myth can't connect to MySQL

Nick Morrott knowledgejunkie at gmail.com
Sat Oct 29 09:33:31 UTC 2011


On 29 October 2011 10:28, Damian <myth at surr.co.uk> wrote:
>
> I think the problem may be with mysql .. maybe it's not even running, or
> maybe it's just not accessible since the upgrade?
>
> I ran:
>
>  sudo netstat -tap | grep mysql
>
> And got nothing returned.
>
> So I ran:
>
>  sudo /etc/init.d/mysql restart
>
> and got:
>
> Rather than invoking init scripts through /etc/init.d, use the service(8)
> utility, e.g. service mysql restart
>
> Since the script you are attempting to invoke has been converted to an
> Upstart job, you may also use the stop(8) and then start(8) utilities,
> e.g. stop mysql ; start mysql. The restart(8) utility is also available.
> mysql start/running
>
> So I ran:
>
>  mysql restart

Try doing what is asked of you above:

sudo start mysql

or

sudo service mysql start


Cheers,
Nick


More information about the mythtv-users mailing list