<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: duncang92@yahoo.com<br>To: mythtv-users@mythtv.org<br>Date: Fri, 17 Feb 2012 16:19:11 -0500<br>Subject: [mythtv-users] Starting MythTV<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML"><style>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri","sans-serif";}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass span.ecxEmailStyle17
{font-family:"Calibri","sans-serif";color:windowtext;}
.ExternalClass .ecxMsoChpDefault
{font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;}
.ExternalClass div.ecxWordSection1
{page:WordSection1;}
</style><div class="ecxWordSection1"><p class="ecxMsoNormal">Can I apologise for being a N00B? I’ve looked everywhere and can’t find out what my prob is.</p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal">I have successfully installed and can run MythTV under XBMC and I love it.</p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal">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.</p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal">Sudo –s</p><p class="ecxMsoNormal">Mkdir /var/run/mysqld</p><p class="ecxMsoNormal">Touch /var/run/mysqld.mysqld.sock</p><p class="ecxMsoNormal">Chown Duncan /var/run/mysqld/mysqld.sock</p><p class="ecxMsoNormal">Chown –R Duncan /var/run/mysqld/</p><p class="ecxMsoNormal">Mysqld</p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal">And then in another terminal run “mythbackend”</p><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal">Thanks in advance, Duncan</p></div><br>_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-users<br><br>Your distribution (Ubuntu,Mythbuntu,opensuse, etc) should have respective startup scripts that take care of these steps for you.<br>Type:<br>$ sudo /etc/init.d/mysql start <br>and it will start the daemon, taking care of all these.<br><br>To check if it set to start automatically on boot (it won't be in your case), type<br>$ sudo /sbin/chkconfig mysql<br><br>It should reply<br>mysql off<br><br>To have it run automatically at startup, type <br>$ sudo /sbin/chkconfig mysql on<br><br>If you installed mythtv from packages and not compiled it from source, you can do the same with the mythbackend.<br><br>Welcome!<br><br><br>Yianni.<br></div>                                            </div></body>
</html>