<div dir="ltr"><div>Thanks Peter!</div><div><br></div><div>Your suggestion to use mysql_native_password fixed the problem with my Fire TV box.</div><div><br></div><div>Bob<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 27, 2023 at 11:36 AM Peter Bennett <<a href="mailto:pb.mythtv@gmail.com">pb.mythtv@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Try This:<br>
<br>
SELECT user,plugin,host FROM mysql.user;<br>
<br>
Sample result from my system:<br>
'mythtv', 'mysql_native_password', '192.168.0.%'<br>
'debian-sys-maint', 'caching_sha2_password', 'localhost'<br>
'mysql.infoschema', 'caching_sha2_password', 'localhost'<br>
'mysql.session', 'caching_sha2_password', 'localhost'<br>
'mysql.sys', 'caching_sha2_password', 'localhost'<br>
<br>
Your mythtv user id must have mysql_native_password.<br>
<br>
Use this in /etc/mysql/mysql.conf.d/mysqld.cnf before you create your <br>
user id:<br>
default_authentication_plugin=mysql_native_password<br>
<br>
You may be able to fix it this way if it has the wrong plugin:<br>
ALTER USER 'mythtv'@'192.168.0.%' IDENTIFIED WITH mysql_native_password <br>
by 'mythtv';<br>
<br>
Alternatively create the user id this way:<br>
create user 'mythtv'@'192.168.0.%' identified with mysql_native_password <br>
by 'mythtv';<br>
<br>
Peter<br>
<br>
On 9/27/23 11:43, Ken Mandelberg wrote:<br>
> Hi Peter<br>
><br>
> Waiting to hear from you.<br>
><br>
> Is<br>
><br>
> Plugin caching_sha2_password could not be loaded: dlopen failed: <br>
> library <br>
> "/home/peter/proj/<a href="http://github.com/MythTV/packaging-master/android/libsinstall/lib/mariadb/plugin/caching_sha2_password.so" rel="noreferrer" target="_blank">github.com/MythTV/packaging-master/android/libsinstall/lib/mariadb/plugin/caching_sha2_password.so</a>" <br>
> not found<br>
><br>
> what I think it is, a dlopen that would only work in your build <br>
> environment?<br>
><br>
> Is there anything I can do on my side, or would you have to rebuild <br>
> the apk differently?<br>
><br>
><br>
> Ken<br>
><br>
>> Peter<br>
>><br>
>> Your suggestion<br>
>> >adb logcat mfe:D *:S |& tee /tmp/android.log<br>
>><br>
>> was a good idea! It yields:<br>
>><br>
>><br>
>> 09-25 17:07:41.285 18181 18242 E mfe     : QMYSQL: Unable to connect<br>
>> 09-25 17:07:41.285 18181 18242 E mfe     : Database error was:<br>
>> 09-25 17:07:41.285 18181 18242 E mfe     : Plugin <br>
>> caching_sha2_password could not be loaded: dlopen failed: library <br>
>> "/home/peter/proj/<a href="http://github.com/MythTV/packaging-master/android/libsinstall/lib/mariadb/plugin/caching_sha2_password.so" rel="noreferrer" target="_blank">github.com/MythTV/packaging-master/android/libsinstall/lib/mariadb/plugin/caching_sha2_password.so</a>" <br>
>> not found<br>
>> 09-25 17:07:46.291 18181 18242 I mfe     : <br>
>> mythcontext.cpp:1021:TestDBconnection  Start up failure. host <br>
>> 192.168.10.10, status dbStartedFail<br>
>><br>
>> Incidentally my wiresharks had the mysql server asking for <br>
>> caching_sha2_password, and then the android response on the wire that <br>
>> it was "missing".<br>
>><br>
>> So I guess it all makes sense now, a packaging error that wouldn't <br>
>> show on your device.<br>
>><br>
>> Ken<br>
>><br>
>><br>
>><br>
>><br>
><br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div>