<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Thanks everybody for the help. See below.<br></div><div class="gmail_quote"><br>On 14 November 2016 at 17:18, R. G. Newbury <span dir="ltr"><<a href="mailto:newbury@mandamus.org" target="_blank">newbury@mandamus.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Then check on your users and hosts with<br>
<br>
MariaDB [mysql]>select host,user,password from user;<br></blockquote><div><br>mysql> select host, user, password from user;<br>ERROR 1054 (42S22): Unknown column 'password' in 'field list'<br><br></div><div>and, indeed, "describe user;" shows that there's no password field. There's password_expired, password_last_changed, password_lifetime, but no password.<br></div><div>However, the "plugin" field contains "mysql_native_password", and the "authentication_string" field contains longish strings that look as though they could be password hashes? <br></div><div>(is it possible that mythbuntu does things slightly differently here?)<br></div><div><br></div><div>As for the users that exist,<br><br>mysql> select host, user from user;<br>+-----------+------------------+<br>| host      | user             |<br>+-----------+------------------+<br>| %         | mythtv           |<br>| localhost | debian-sys-maint |<br>| localhost | mysql.sys        |<br>| localhost | mythtv           |<br>| localhost | root             |<br>+-----------+------------------+<br>5 rows in set (0.00 sec)<br><br></div><div>So there's one for localhost and one for %. I have no idea how the % came about! I notice that the localhost one has a load of privs (select_priv, insert_priv, update_priv, etc) that the % one doesn't. But from the sound of it I can probably just ignore the duplicate user, since mythtv@localhost is unique.<br></div><div> <br clear="all"></div></div>-- <br><div class="gmail_signature">Simon Waldman<br><a href="mailto:swaldman@firecloud.org.uk" target="_blank">swaldman@firecloud.org.uk</a></div>
</div></div>