<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Feb 22, 2015 at 12:33 AM, Hika van den Hoven <span dir="ltr"><<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hoi Karl,<br>
<br>
Sunday, February 22, 2015, 6:40:18 AM, you wrote:<br>
<br>
> On Sat, Feb 21, 2015 at 2:57 PM, david brooke <<a href="mailto:david2012brooke@gmail.com">david2012brooke@gmail.com</a>><br>
> wrote:<br>
<br>
>> On Sat, Feb 21, 2015 at 12:28 PM, Bill Meek <<a href="mailto:keemllib@gmail.com">keemllib@gmail.com</a>> wrote:<br>
>><br>
>>> On 02/21/2015 11:10 AM, Karl Newman wrote:<br>
>>><br>
>>>> On Sat, Feb 21, 2015 at 1:49 AM, Mike Perkins <<br>
>>>> <a href="mailto:mikep@randomtraveller.org.uk">mikep@randomtraveller.org.uk</a>><br>
>>>> wrote:<br>
>>>><br>
>>>>  On 21/02/15 04:56, david brooke wrote:<br>
>>>>><br>
>>>> ...<br>
>>><br>
>>>> 4. You'll also need to check that the "networking" feature of MySQL is<br>
>>>>>> turned on. Check that /etc/mysql/my.cnf does not contain<br>
>>>>>> skip-networking.<br>
>>>>>> If it does, either remove that line or comment it out. Also verify that<br>
>>>>>> bind-address is set to your IP address instead of 127.0.0.1. If you<br>
>>>>>> change<br>
>>>>>> either of these items, restart MySQL.<br>
>>>>>><br>
>>>>> ...<br>
>>><br>
>>> I would check the /etc/mysql/my.cnf file and see if it has a line<br>
>>> like this:<br>
>>><br>
>>>     !includedir /etc/mysql/conf.d<br>
>>><br>
>>> probably at the end of the file. If so, then make any changes to<br>
>>> the configuration in a file under conf.d. Call the file there<br>
>>> anything you like but it must end in .cnf. As an example:<br>
>>><br>
>>>     [mysqld]<br>
>>>     bind-address=::<br>
>>>     max_connections = 100<br>
>>><br>
>>> In the *buntu world, the package maintainer may change the my.cnf<br>
>>> file and even though users are given a prompt, sometimes it's<br>
>>> missed/ignored and local changes vanish. Maybe not true for Gentoo.<br>
>>><br>
>>> --<br>
>>> Bill<br>
>>><br>
>>> _______________________________________________<br>
>>> mythtv-users mailing list<br>
>>> <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
>>> <a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
>>> <a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
>>> MythTV Forums: <a href="https://forum.mythtv.org" target="_blank">https://forum.mythtv.org</a><br>
>>><br>
>><br>
>> I have made the adjustments suggested by others.<br>
>><br>
>><br>
>> 1. Install the MythTV<br>
>><br>
>> # emerge -av mythtv<br>
>><br>
>> 2. Enable and start MySQL<br>
>><br>
>> # rc-update add mysql default && rc-service mysql start<br>
>><br>
>> 3. You'll also need to check that the "networking" feature of MySQL is<br>
>> turned on. Check that /etc/mysql/my.cnf does not contain skip-networking.<br>
>> If it does, either remove that line or comment it out. Also verify that<br>
>> bind-address is set to your IP address instead of 127.0.0.1. Alternatively<br>
>> /etc/conf.d/mysql can be used to address skip-networking and bind-address.<br>
>> Set MY_ARGS="--bind-address=masterbackendipaddress" and skip-networking<br>
>> default is off. If you change either of these items, restart MySQL.<br>
>><br>
>> 4. Setup mysql and add a password:<br>
>><br>
>> # mysql_secure_installation<br>
>><br>
>> 5. Create the database structure: (See example using root as user and 1234<br>
>> as password)<br>
>><br>
>> # mysql -u root -p1234 /usr/share/mythtv/database/mc.sql<br>
>><br>
>> 6. Update your database (Optional with new install): (See example using<br>
>> root as user and 1234 as password)<br>
>><br>
>> # mysql_upgrade -u root -p1234<br>
>><br>
>> 7. Add time zone tables: (See example using root as user and 1234 as<br>
>> password)<br>
>><br>
>> $ mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p1234 mysql<br>
>><br>
>> 8. Allow remote frontends access: (See example using mythtv as user,<br>
>> mythtv as password and root as user, 1234 as password)<br>
>><br>
>> # mysql -u root -p1234<br>
>> MariaDB [(none)]> GRANT ALL ON mythconverg.* TO 'mythtv'@'192.168.97.%'<br>
>> IDENTIFIED BY 'mythtv';<br>
>> ***Query OK, 0 rows affected (0.00 sec)***output only!<br>
>> MariaDB [(none)]> FLUSH PRIVILEGES;<br>
>> ***Query OK, 0 rows affected (0.00 sec)***output only!<br>
>> MariaDB [(none)]> exit<br>
>> ***Bye***output only!<br>
>><br>
>> 9. Enable mythbackend<br>
>><br>
>> # rc-update add mythbackend default<br>
>><br>
>> 10. Setup mythbackend<br>
>><br>
>> $ mythtv-setup<br>
>><br>
>> 11. Setup logging for mythfrontend and mythbackend.<br>
>><br>
>> Edit /etc/conf.d/mythfrontend<br>
>> Replace<br>
>> #MYTHFRONTEND_OPTS="--syslog local7"<br>
>> With<br>
>> MYTHFRONTEND_OPTS="--quiet --logpath /var/log/mythtv"<br>
>><br>
>> Edit /etc/conf.d/mythbackend<br>
>> Replace<br>
>> #MYTHBACKEND_OPTS=""<br>
>> With<br>
>> MYTHBACKEND_OPTS="--quiet --logpath /var/log/mythtv"<br>
>><br>
>> Looks reasonable. Don't forget to start mythbackend once everything is set<br>
> up. And there may (will) be detours along the way dealing with<br>
> configuration of various dependencies, etc. Gentoo takes a bit of work,<br>
> probably more than other distros, but on the plus side you usually know<br>
> exactly what's running/installed on your system.<br>
<br>
> Karl<br>
<br>
a few remarks:<br>
mariadb versus mysql. I don't know which is preferred, but the<br>
dependency will go with whichever already is installed and if neither<br>
is installed will install mysql. </blockquote><div><br>Actually mariadb is first in the list of dependencies which satisfy virtual/mysql, so unless otherwise specified mariadb will be installed.<br><br></div><div>Karl<br></div></div></div></div>