[mythtv-users] Starting MythTV

Bill Meek keemllib at gmail.com
Fri Feb 17 23:14:38 UTC 2012


On 02/17/2012 03:19 PM, Duncan Gillibrand wrote:
...
> The problem I have is that mysql doesn't start unless I manually enter the
> following in a terminal .. What do I have to do to get it to "autostart"? I
> know it's cos mysqld.sock doesn't exist although I keep creating and
> re-creating it but after every reboot it's gone.
...

Hi;

Its likely gone if /var/run is a temporary file system. A mysql
startup script should be creating it.

Type: mount | grep run, and you'll likely see:

   none on /var/run type tmpfs (rw,nosuid,mode=0755)

Or on newer distributions just /run and /var/run is linked
to /run

For ubuntu 11.04, the upstart script for mysql is in /etc/init
(not /etc/init.d) and as others have said, it should start
automatically. Manually, it would be: sudo start mysql.

Try: grep -i mysql /var/log/syslog to see possible error messages.
And look in /var/log/mysql/error.log

-- 
Bill


More information about the mythtv-users mailing list