[mythtv-users] Starting MythTV

Alasdair Macdonald wewalkforonereason at gmail.com
Sun Feb 19 11:59:39 UTC 2012


I believe that this mysql problem has been brought on by Ubuntu. I
encountered it during an Ubuntu upgrade, although probably a year prior to
your experience. And that's why I can't recall what solutions I tried; I
think that I ended up uninstalling and re-installing mysql (both server and
client).

In my case, I had 2 Ububtu systems that I was upgrading. You didn't say if
your installs were fresh or if they had ever gone through the Ubuntu
upgrade process. Suffice to say, I believed that my problems would not have
occurred with a fresh install and I stopped upgrading Ubuntu after last
years desktop changes.
On 18 Feb 2012 20:59, "Duncan Gillibrand" <duncang92 at yahoo.com> wrote:

> Cheers Bill.
>
> I checked apparmor and all looks same as yours in option 2.
>
> I do believe that all my issues are owner/permissions based although after
> I
> created a user mysql and changed ownership of files to be mysql then there
> was no way that I could get the database to run etc..
>
> I am confused as to owners and users of files between root, mysql and
> mythtv
> as to who should own what and what should be entered into files such as
> mysql.txt etc..
>
> Is there a good guide as to how to set this all upanywhere? I originally
> followed http://www.mythtv.org/wiki/User_Manual:Initial_Installation but
> had
> changed user to duncan vs. mythtv ... I think I remember that I could not
> access the database with the mysql -u duncan -p until I had changed the
> owners of the files to be Duncan.
>
>
> -----Original Message-----
> From: mythtv-users-bounces at mythtv.org
> [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Bill Meek
> Sent: Saturday, February 18, 2012 1:12 PM
> To: mythtv-users at mythtv.org
> Subject: Re: [mythtv-users] Starting MythTV
>
> On 02/18/2012 11:28 AM, Duncan Gillibrand wrote:
> ...
>
> Duncan;
>
> > Ubuntu 11.10
>
> Good, did you upgrade from an earlier release?
>
> > I've tried all of the suggestions and I'm still stuck.
> ...
>
> I'm running the same version, keep using: sudo start mysql.
> FYI, the entry in /etc/init.d should be a symbolic link:
>
>   mysql -> /lib/init/upstart-job
>
> I disagree with: user = duncan in my.cnf. At least in mine, user = mysql.
>
> All files under /var/lib/mysql should all be have both owner and group set
> to mysql.
>
> Just to save an email, go to /etc/apparmor.d and check this file:
>
>   usr.sbin.mysqld
>
> Does it have two lines like:
>
>   /var/run/mysqld/mysqld.pid w,
>   /var/run/mysqld/mysqld.sock w,
>
> Or this:
>
>   /{,var/}run/mysqld/mysqld.pid w,
>   /{,var/}run/mysqld/mysqld.sock w,
>
> The 2nd version is correct.
>
> --
> Bill
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20120219/cdf5ed8d/attachment.html 


More information about the mythtv-users mailing list