<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">>Could you please advise how I can change the MySQL settings to accept older<br>
>auth methods?<br>
<br>
It looks like you need to do this to the MySQL server config:<br>
<br>
[mysqld]<br>
default_authentication_plugin=mysql_native_password<br><br>
<br>
I am running MariaDB these days, so I can not test that setting, but I<br>
think all you need to do is to put those lines in a new file in<br>
/etc/mysql/conf.d. Call it "old_auth.cnf" for example. The file<br>
should be "chown root:root" and "chmod u=rw,g=r,o=r". Then restart<br>
mysqld:<br>
<br>
sudo systemctl restart mysqld<br>
<br>
This problem should only have happened if you have installed MySQL<br>
version >=8 and then created users for MythTV. If you created the<br>
MySQL users for MythTV on an older version of MySQL and then upgraded<br>
MySQL to v8 it should have retained the older auth settings for all<br>
the existing users.<br>
<br>
It should also be possible to change the auth setting per user back to<br>
the old method:<br>
<br>
ALTER USER <user><br>
IDENTIFIED WITH mysql_native_password<br>
BY '<password>';<br>
<br>
You may need to do the ALTER USER command or delete and re-create the<br>
user for the CGTV device even though you have added that config file<br>
as new users created on v8+ get the then current default<br>
authentication setting, which was "caching_sha2_password" at the time<br>
that user was created.<br></blockquote><div><br></div><div>Thanks Stephen. I tried what you suggested and changed the MySQL settings but the Chomecast with Google TV still wouldn't connect. So I dropped the user account in MySQL and re-created it. Still no joy - even though the PC sitting right next to it on the same subnet connects without problems.</div><div><br></div><div>I also contacted the developer of the mythtvfrontend Android app and relayed your theory to him. He was very helpful and tried installing and connecting and it all worked fine for him. After his testing he said "So it is not an incompatibility with mysql or with recent versions that is causing the problem".</div><div><br></div><div>I've also tried to install a MySQL client on the device. But there's only one I could find, and it doesn't work on Google TV because the UI won't let you create a connection database using a remote control. The developer is going to address that in the next release but I have no idea when that will be.</div><div><br></div><div>So I'm now even more stumped than I was before.</div></div></div>