• MySQL problem

    From pinnerite@2:250/1 to All on Tue Feb 20 21:54:41 2024
    I wanted to add a user to a table used by mythtv.

    This is what I had before b___d it. +-----------+--------+-----------------------+-------------------------------------------+
    | host | user | plugin | authentication_string |
    +-----------+--------+-----------------------+-------------------------------------------+
    | % | mythtv | mysql_native_password | *F21923DEF11A5686509E3D9DD4C1F5E3AA7D1172 |
    | localhost | mythtv | mysql_native_password | *CC8F35F587CA5A556B4132C2407E556D92172FFC |
    +-----------+--------+-----------------------+-------------------------------------------+

    I wanted to add:

    +------------+--------+-----------------------+-------------------------------------------+
    | host | user | plugin | authentication_string |
    +------------+--------+-----------------------+-------------------------------------------+
    |192.168.1.% | mythtv | mysql_native_password | *CC8F35F587CA5A556B4132C2407E556D92172FFC |
    +------------+--------+-----------------------+-------------------------------------------+

    by entering:
    mysql> CREATE USER 'mythtv'@'albury' IDENTIFIED BY 'mythtv';

    I now have:

    +-----------+--------+-----------------------+------------------------------------------------------------------------+
    | host | user | plugin | authentication_string |
    +-----------+--------+-----------------------+------------------------------------------------------------------------+
    | % | mythtv | mysql_native_password | *F21923DEF11A5686509E3D9DD4C1F5E3AA7D1172 |
    ZUNlVAD. | mythtv | caching_sha2_password | $A$005$a22dS "XjVzi1k.nfGtLdjcUSHinJ3XhopdDalbSDpvnQU4ge69 |
    | localhost | mythtv | mysql_native_password | *CC8F35F587CA5A556B4132C2407E556D92172FFC |
    +-----------+--------+-----------------------+------------------------------------------------------------------------+
    I need to get rid of the middle record but I cannot get the syntax right.

    I tried::
    mysql> DROP USER 'mythtv'@'192.168.1.5' WHERE host=("ZUNlVAD.");
    mysql> DROP USER 'mythtv' WHERE AUTHENTICATION_STRING="$A$005$a22dS"XjVzi1k.nfGtLdjcUSHinJ3XhopdDalbSDpvnQU4ge69";
    mysql> DROP USER 'mythtv' WHERE AUTHENTICATION_STRING="($A$005$a22dS"XjVzi1k.nfGtLdjcUSHinJ3XhopdDalbSDpvnQU4ge69)";
    mysql> DROP USER 'mythtv' WHERE HOST<> "%" and host <> "LOCALHOST";

    but I just get rebukes.

    Can anybody help?

    TIA

    Alan






    --
    Linux Mint 21.1 kernel version 5.15.0-94-generic Cinnamon 5.6.8
    AMD Phenom II x4 955 CPU 16Gb Dram 2TB Barracuda

    --- MBSE BBS v1.0.8.5 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Nic@2:250/1 to All on Tue Feb 20 22:08:25 2024
    On 2/20/24 4:54 PM, pinnerite wrote:
    I wanted to add a user to a table used by mythtv.

    This is what I had before b___d it. +-----------+--------+-----------------------+-------------------------------------------+
    | host | user | plugin | authentication_string |
    +-----------+--------+-----------------------+-------------------------------------------+
    | % | mythtv | mysql_native_password | *F21923DEF11A5686509E3D9DD4C1F5E3AA7D1172 |
    | localhost | mythtv | mysql_native_password | *CC8F35F587CA5A556B4132C2407E556D92172FFC |
    +-----------+--------+-----------------------+-------------------------------------------+

    I wanted to add:

    +------------+--------+-----------------------+-------------------------------------------+
    | host | user | plugin | authentication_string |
    +------------+--------+-----------------------+-------------------------------------------+
    |192.168.1.% | mythtv | mysql_native_password | *CC8F35F587CA5A556B4132C2407E556D92172FFC |
    +------------+--------+-----------------------+-------------------------------------------+

    by entering:
    mysql> CREATE USER 'mythtv'@'albury' IDENTIFIED BY 'mythtv';

    I now have:

    +-----------+--------+-----------------------+------------------------------------------------------------------------+
    | host | user | plugin | authentication_string |
    +-----------+--------+-----------------------+------------------------------------------------------------------------+
    | % | mythtv | mysql_native_password | *F21923DEF11A5686509E3D9DD4C1F5E3AA7D1172 |
    ZUNlVAD. | mythtv | caching_sha2_password | $A$005$a22dS "XjVzi1k.nfGtLdjcUSHinJ3XhopdDalbSDpvnQU4ge69 |
    | localhost | mythtv | mysql_native_password | *CC8F35F587CA5A556B4132C2407E556D92172FFC |
    +-----------+--------+-----------------------+------------------------------------------------------------------------+
    I need to get rid of the middle record but I cannot get the syntax right.

    I tried::
    mysql> DROP USER 'mythtv'@'192.168.1.5' WHERE host=("ZUNlVAD.");
    mysql> DROP USER 'mythtv' WHERE AUTHENTICATION_STRING="$A$005$a22dS"XjVzi1k.nfGtLdjcUSHinJ3XhopdDalbSDpvnQU4ge69";
    mysql> DROP USER 'mythtv' WHERE AUTHENTICATION_STRING="($A$005$a22dS"XjVzi1k.nfGtLdjcUSHinJ3XhopdDalbSDpvnQU4ge69)";
    mysql> DROP USER 'mythtv' WHERE HOST<> "%" and host <> "LOCALHOST";

    but I just get rebukes.

    Can anybody help?

    TIA

    Alan






    Here in the US we have something called Over The Air Broadcast, where
    you can use an old rabbit ear antenna and get depending on your distance
    from the transmitter 30-40 channels. It is what is called 'cut the cable'.

    --- MBSE BBS v1.0.8.5 (Linux-x86_64)
    * Origin: Arm Chair Observer (2:250/1@fidonet)
  • From Jonathan N. Little@2:250/1 to All on Tue Feb 20 22:17:02 2024
    pinnerite wrote:
    I wanted to add a user to a table used by mythtv.

    This is what I had before b___d it. +-----------+--------+-----------------------+-------------------------------------------+
    | host | user | plugin | authentication_string |
    +-----------+--------+-----------------------+-------------------------------------------+
    | % | mythtv | mysql_native_password | *F21923DEF11A5686509E3D9DD4C1F5E3AA7D1172 |
    | localhost | mythtv | mysql_native_password | *CC8F35F587CA5A556B4132C2407E556D92172FFC |
    +-----------+--------+-----------------------+-------------------------------------------+

    I wanted to add:

    +------------+--------+-----------------------+-------------------------------------------+
    | host | user | plugin | authentication_string |
    +------------+--------+-----------------------+-------------------------------------------+
    |192.168.1.% | mythtv | mysql_native_password | *CC8F35F587CA5A556B4132C2407E556D92172FFC |
    +------------+--------+-----------------------+-------------------------------------------+

    by entering:
    mysql> CREATE USER 'mythtv'@'albury' IDENTIFIED BY 'mythtv';

    I now have:

    +-----------+--------+-----------------------+------------------------------------------------------------------------+
    | host | user | plugin | authentication_string |
    +-----------+--------+-----------------------+------------------------------------------------------------------------+
    | % | mythtv | mysql_native_password | *F21923DEF11A5686509E3D9DD4C1F5E3AA7D1172 |
    ZUNlVAD. | mythtv | caching_sha2_password | $A$005$a22dS "XjVzi1k.nfGtLdjcUSHinJ3XhopdDalbSDpvnQU4ge69 |
    | localhost | mythtv | mysql_native_password | *CC8F35F587CA5A556B4132C2407E556D92172FFC |
    +-----------+--------+-----------------------+------------------------------------------------------------------------+
    I need to get rid of the middle record but I cannot get the syntax right.

    I tried::
    mysql> DROP USER 'mythtv'@'192.168.1.5' WHERE host=("ZUNlVAD.");
    mysql> DROP USER 'mythtv' WHERE AUTHENTICATION_STRING="$A$005$a22dS"XjVzi1k.nfGtLdjcUSHinJ3XhopdDalbSDpvnQU4ge69";
    mysql> DROP USER 'mythtv' WHERE AUTHENTICATION_STRING="($A$005$a22dS"XjVzi1k.nfGtLdjcUSHinJ3XhopdDalbSDpvnQU4ge69)";
    mysql> DROP USER 'mythtv' WHERE HOST<> "%" and host <> "LOCALHOST";

    but I just get rebukes.

    Can anybody help?

    TIA

    Alan


    Okay I am assuming mythtv need to have all permissions on mythtv
    database and be accessible from a device on your LAN |192.168.1.0.

    GRANT ALL ON MythTV_DB.* to 'MythTV_DB_User'@'192.168.1.%' IDENTIFIED BY 'MythTV_User_Password' WITH GRANT OPTION

    So since it looks like you are using "mythtv" for all three, DB, User
    and Password use below:

    GRANT ALL ON mythtv.* to 'mythtv'@'192.168.1.%' IDENTIFIED BY 'mythtv'
    WITH GRANT OPTION;

    FLUSH PRIVILEGES;


    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com

    --- MBSE BBS v1.0.8.5 (Linux-x86_64)
    * Origin: LITTLE WORKS STUDIO (2:250/1@fidonet)
  • From Jonathan N. Little@2:250/1 to All on Tue Feb 20 22:19:30 2024
    Jonathan N. Little wrote:

    Oh I was assuming you previously set to the mysql db first:

    USE mysql;

    GRANT ALL ON mythtv.* to 'mythtv'@'192.168.1.%' IDENTIFIED BY 'mythtv'
    WITH GRANT OPTION;

    FLUSH PRIVILEGES;


    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com

    --- MBSE BBS v1.0.8.5 (Linux-x86_64)
    * Origin: LITTLE WORKS STUDIO (2:250/1@fidonet)
  • From David W. Hodgins@2:250/1 to All on Tue Feb 20 22:50:24 2024
    On Tue, 20 Feb 2024 16:54:41 -0500, pinnerite <pinnerite@gmail.com> wrote:

    I wanted to add a user to a table used by mythtv.

    This is what I had before b___d it. +-----------+--------+-----------------------+-------------------------------------------+
    | host | user | plugin | authentication_string |
    +-----------+--------+-----------------------+-------------------------------------------+
    | % | mythtv | mysql_native_password | *F21923DEF11A5686509E3D9DD4C1F5E3AA7D1172 |
    | localhost | mythtv | mysql_native_password | *CC8F35F587CA5A556B4132C2407E556D92172FFC |
    +-----------+--------+-----------------------+-------------------------------------------+

    I wanted to add:

    +------------+--------+-----------------------+-------------------------------------------+
    | host | user | plugin | authentication_string |
    +------------+--------+-----------------------+-------------------------------------------+
    |192.168.1.% | mythtv | mysql_native_password | *CC8F35F587CA5A556B4132C2407E556D92172FFC |
    +------------+--------+-----------------------+-------------------------------------------+

    by entering:
    mysql> CREATE USER 'mythtv'@'albury' IDENTIFIED BY 'mythtv';

    I now have:

    +-----------+--------+-----------------------+------------------------------------------------------------------------+
    | host | user | plugin | authentication_string |
    +-----------+--------+-----------------------+------------------------------------------------------------------------+
    | % | mythtv | mysql_native_password | *F21923DEF11A5686509E3D9DD4C1F5E3AA7D1172 |
    ZUNlVAD. | mythtv | caching_sha2_password | $A$005$a22dS "XjVzi1k.nfGtLdjcUSHinJ3XhopdDalbSDpvnQU4ge69 |
    | localhost | mythtv | mysql_native_password | *CC8F35F587CA5A556B4132C2407E556D92172FFC |
    +-----------+--------+-----------------------+------------------------------------------------------------------------+
    I need to get rid of the middle record but I cannot get the syntax right.

    I tried::
    mysql> DROP USER 'mythtv'@'192.168.1.5' WHERE host=("ZUNlVAD.");
    mysql> DROP USER 'mythtv' WHERE AUTHENTICATION_STRING="$A$005$a22dS"XjVzi1k.nfGtLdjcUSHinJ3XhopdDalbSDpvnQU4ge69";
    mysql> DROP USER 'mythtv' WHERE AUTHENTICATION_STRING="($A$005$a22dS"XjVzi1k.nfGtLdjcUSHinJ3XhopdDalbSDpvnQU4ge69)";
    mysql> DROP USER 'mythtv' WHERE HOST<> "%" and host <> "LOCALHOST";

    but I just get rebukes.

    DROP is used to delete a table, database, or index.

    To delete an authorization, use REVOKE. https://www.techonthenet.com/mysql/grant_revoke.php

    Regards, Dave Hodgins

    --- MBSE BBS v1.0.8.5 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Paul@2:250/1 to All on Wed Feb 21 06:38:06 2024
    On 2/20/2024 5:08 PM, Nic wrote:

    Here in the US we have something called Over The Air Broadcast,
    where you can use an old rabbit ear antenna and get depending on your distance from the transmitter 30-40 channels. It is what is called
    'cut the cable'.

    Alan has at least two options. There is Freeview satellite and
    there is OTA from Crystal Palace. He is likely recording from
    Crystal Palace.

    *******

    Sometimes a directional antenna cuts down on OTA multipath problems.
    This works a little better than a rabbit ears.

    [Picture] Combo VHF/UHF antenna (Gray-Hoverman, Narod, added VHF elements)

    https://i.postimg.cc/SxsBtCQq/tv-antenna.gif

    If all your OTA stations are in the UHF band, a basic Gray-Hoverman is enough. Not having to support VHF frequencies, makes antennas a lot simpler.

    https://www.pinterest.com/pin/1196337389367787/

    Some of the more interesting home antennas, used coat hanger wire and foil
    for a ground plane :-) Just about anything that conducts, will pick up a
    signal at 200MHz, so even if you lack any sort of construction skills,
    the antenna will still pick something up.

    The adjustable part of the rabbit ears, is mainly for VHF. If you shorten
    the ears, that shifts reception a bit higher in frequency. The loop near
    the core of the device, is more intended for UHF.

    Instead of rabbit ears, this will work. The RadioShack double-bow-tie.
    You can tell from the feet on it, it wasn't really meant for outdoors.
    Some of the facets of construction might fool you into thinking that
    (it uses rivets, like a real antenna).

    https://img0.etsystatic.com/000/0/5583309/il_570xN.120479388.jpg

    Paul

    --- MBSE BBS v1.0.8.5 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From pinnerite@2:250/1 to All on Wed Feb 21 10:21:13 2024
    On Tue, 20 Feb 2024 17:50:24 -0500
    "David W. Hodgins" <dwhodgins@nomail.afraid.org> wrote:

    On Tue, 20 Feb 2024 16:54:41 -0500, pinnerite <pinnerite@gmail.com> wrote:

    I wanted to add a user to a table used by mythtv.

    This is what I had before b___d it. +-----------+--------+-----------------------+-------------------------------------------+
    | host | user | plugin | authentication_string |
    +-----------+--------+-----------------------+-------------------------------------------+
    | % | mythtv | mysql_native_password | *F21923DEF11A5686509E3D9DD4C1F5E3AA7D1172 |
    | localhost | mythtv | mysql_native_password | *CC8F35F587CA5A556B4132C2407E556D92172FFC |
    +-----------+--------+-----------------------+-------------------------------------------+

    I wanted to add:

    +------------+--------+-----------------------+-------------------------------------------+
    | host | user | plugin | authentication_string |
    +------------+--------+-----------------------+-------------------------------------------+
    |192.168.1.% | mythtv | mysql_native_password | *CC8F35F587CA5A556B4132C2407E556D92172FFC |
    +------------+--------+-----------------------+-------------------------------------------+

    by entering:
    mysql> CREATE USER 'mythtv'@'albury' IDENTIFIED BY 'mythtv';

    I now have:

    +-----------+--------+-----------------------+------------------------------------------------------------------------+
    | host | user | plugin | authentication_string |
    +-----------+--------+-----------------------+------------------------------------------------------------------------+
    | % | mythtv | mysql_native_password | *F21923DEF11A5686509E3D9DD4C1F5E3AA7D1172 |
    ZUNlVAD. | mythtv | caching_sha2_password | $A$005$a22dS "XjVzi1k.nfGtLdjcUSHinJ3XhopdDalbSDpvnQU4ge69 |
    | localhost | mythtv | mysql_native_password | *CC8F35F587CA5A556B4132C2407E556D92172FFC |
    +-----------+--------+-----------------------+------------------------------------------------------------------------+
    I need to get rid of the middle record but I cannot get the syntax right.

    I tried::
    mysql> DROP USER 'mythtv'@'192.168.1.5' WHERE host=("ZUNlVAD.");
    mysql> DROP USER 'mythtv' WHERE AUTHENTICATION_STRING="$A$005$a22dS"XjVzi1k.nfGtLdjcUSHinJ3XhopdDalbSDpvnQU4ge69";
    mysql> DROP USER 'mythtv' WHERE AUTHENTICATION_STRING="($A$005$a22dS"XjVzi1k.nfGtLdjcUSHinJ3XhopdDalbSDpvnQU4ge69)";
    mysql> DROP USER 'mythtv' WHERE HOST<> "%" and host <> "LOCALHOST";

    but I just get rebukes.

    DROP is used to delete a table, database, or index.

    To delete an authorization, use REVOKE. https://www.techonthenet.com/mysql/grant_revoke.php

    Regards, Dave Hodgins

    Thank you David. That isreally helpful.

    Regards, Alan



    --
    Linux Mint 21.1 kernel version 5.15.0-94-generic Cinnamon 5.6.8
    AMD Phenom II x4 955 CPU 16Gb Dram 2TB Barracuda

    --- MBSE BBS v1.0.8.5 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From pinnerite@2:250/1 to All on Wed Feb 21 10:35:43 2024
    On Tue, 20 Feb 2024 17:08:25 -0500
    Nic <Nic@none.invalid> wrote:

    On 2/20/24 4:54 PM, pinnerite wrote:
    I wanted to add a user to a table used by mythtv.

    This is what I had before b___d it. +-----------+--------+-----------------------+-------------------------------------------+
    | host | user | plugin | authentication_string |
    +-----------+--------+-----------------------+-------------------------------------------+
    | % | mythtv | mysql_native_password | *F21923DEF11A5686509E3D9DD4C1F5E3AA7D1172 |
    | localhost | mythtv | mysql_native_password | *CC8F35F587CA5A556B4132C2407E556D92172FFC |
    +-----------+--------+-----------------------+-------------------------------------------+

    I wanted to add:

    +------------+--------+-----------------------+-------------------------------------------+
    | host | user | plugin | authentication_string |
    +------------+--------+-----------------------+-------------------------------------------+
    |192.168.1.% | mythtv | mysql_native_password | *CC8F35F587CA5A556B4132C2407E556D92172FFC |
    +------------+--------+-----------------------+-------------------------------------------+

    by entering:
    mysql> CREATE USER 'mythtv'@'albury' IDENTIFIED BY 'mythtv';

    I now have:

    +-----------+--------+-----------------------+------------------------------------------------------------------------+
    | host | user | plugin | authentication_string |
    +-----------+--------+-----------------------+------------------------------------------------------------------------+
    | % | mythtv | mysql_native_password | *F21923DEF11A5686509E3D9DD4C1F5E3AA7D1172 |
    ZUNlVAD. | mythtv | caching_sha2_password | $A$005$a22dS "XjVzi1k.nfGtLdjcUSHinJ3XhopdDalbSDpvnQU4ge69 |
    | localhost | mythtv | mysql_native_password | *CC8F35F587CA5A556B4132C2407E556D92172FFC |
    +-----------+--------+-----------------------+------------------------------------------------------------------------+
    I need to get rid of the middle record but I cannot get the syntax right.

    I tried::
    mysql> DROP USER 'mythtv'@'192.168.1.5' WHERE host=("ZUNlVAD.");
    mysql> DROP USER 'mythtv' WHERE AUTHENTICATION_STRING="$A$005$a22dS"XjVzi1k.nfGtLdjcUSHinJ3XhopdDalbSDpvnQU4ge69";
    mysql> DROP USER 'mythtv' WHERE AUTHENTICATION_STRING="($A$005$a22dS"XjVzi1k.nfGtLdjcUSHinJ3XhopdDalbSDpvnQU4ge69)";
    mysql> DROP USER 'mythtv' WHERE HOST<> "%" and host <> "LOCALHOST";

    but I just get rebukes.

    Can anybody help?

    TIA

    Alan






    Here in the US we have something called Over The Air Broadcast, where
    you can use an old rabbit ear antenna and get depending on your distance from the transmitter 30-40 channels. It is what is called 'cut the cable'.

    Thank you but I think there must have been a phaae difference between
    sending my question and your receipt of it.

    Alan :)



    --
    Linux Mint 21.1 kernel version 5.15.0-94-generic Cinnamon 5.6.8
    AMD Phenom II x4 955 CPU 16Gb Dram 2TB Barracuda

    --- MBSE BBS v1.0.8.5 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From pinnerite@2:250/1 to All on Wed Feb 21 10:36:49 2024
    On Tue, 20 Feb 2024 17:19:30 -0500
    "Jonathan N. Little" <lws4art@gmail.com> wrote:

    Jonathan N. Little wrote:

    Oh I was assuming you previously set to the mysql db first:

    USE mysql;

    GRANT ALL ON mythtv.* to 'mythtv'@'192.168.1.%' IDENTIFIED BY 'mythtv'
    WITH GRANT OPTION;

    FLUSH PRIVILEGES;


    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com

    Thank you,

    Alan


    --
    Linux Mint 21.1 kernel version 5.15.0-94-generic Cinnamon 5.6.8
    AMD Phenom II x4 955 CPU 16Gb Dram 2TB Barracuda

    --- MBSE BBS v1.0.8.5 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From TJ@2:250/1 to All on Thu Feb 22 16:36:56 2024
    On 2024-02-21 01:38, Paul wrote:
    If all your OTA stations are in the UHF band, a basic Gray-Hoverman is enough.
    Not having to support VHF frequencies, makes antennas a lot simpler.

    https://www.pinterest.com/pin/1196337389367787/

    Some of the more interesting home antennas, used coat hanger wire and foil for a ground plane 🙂 Just about anything that conducts, will pick up a signal at 200MHz, so even if you lack any sort of construction skills,
    the antenna will still pick something up.

    The adjustable part of the rabbit ears, is mainly for VHF. If you shorten
    the ears, that shifts reception a bit higher in frequency. The loop near
    the core of the device, is more intended for UHF.

    Instead of rabbit ears, this will work. The RadioShack double-bow-tie.
    You can tell from the feet on it, it wasn't really meant for outdoors.
    Some of the facets of construction might fool you into thinking that
    (it uses rivets, like a real antenna).

    https://img0.etsystatic.com/000/0/5583309/il_570xN.120479388.jpg

    I have an old ATSC tuner on a PCI card, but I was never able to figure
    out how to make mythTV work with it. I did manage to make it work
    somewhat with Kaffeine, but it never worked well. I think my hardware at
    the time was just too old and slow.

    I have better hardware now, and that might make the difference, but
    quite frankly, for me it's just too much trouble. I bought a
    PVR/converter box on Amazon that will record for me on a USB device,
    which I can later play back using the PVR, or on a Linux box with vlc.

    I'm not too far from the various transmitters, and use a flat antenna
    that's about the size of a sheet of common office paper. It comes with
    an optional amplifier that's powered by a usb source. It does a great
    job, but as with all indoor antennas, placement is key. It can work well
    in one spot, but move it even a few inches from that spot, and it won't.

    (BTW, also using this post to test Usenet operation of the latest
    Thunderbird update candidate for Mageia)

    TJ

    --- MBSE BBS v1.0.8.5 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)