<div dir="ltr"><div><div class="gmail_extra"><div class="gmail_quote">On Tue, Nov 15, 2016 at 3:01 PM, Mike Perkins <span dir="ltr"><<a href="mailto:mikep@randomtraveller.org.uk" target="_blank">mikep@randomtraveller.org.uk</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">On 15/11/16 20:03, Simon Waldman wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Thanks everybody for the help. See below.<br>
<br>
On 14 November 2016 at 17:18, R. G. Newbury <<a href="mailto:newbury@mandamus.org" target="_blank">newbury@mandamus.org</a>> wrote:<br>
<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>
<br>
</blockquote>
<br>
mysql> select host, user, password from user;<br>
ERROR 1054 (42S22): Unknown column 'password' in 'field list'<br>
<br>
and, indeed, "describe user;" shows that there's no password field. There's<br>
password_expired, password_last_changed, password_lifetime, but no password.<br>
However, the "plugin" field contains "mysql_native_password", and the<br>
"authentication_string" field contains longish strings that look as though<br>
they could be password hashes?<br>
(is it possible that mythbuntu does things slightly differently here?)<br>
<br>
As for the users that exist,<br>
<br>
mysql> select host, user from user;<br>
+-----------+-----------------<wbr>-+<br>
| host      | user             |<br>
+-----------+-----------------<wbr>-+<br>
| %         | mythtv           |<br>
| localhost | debian-sys-maint |<br>
| localhost | mysql.sys        |<br>
| localhost | mythtv           |<br>
| localhost | root             |<br>
+-----------+-----------------<wbr>-+<br>
5 rows in set (0.00 sec)<br>
<br>
So there's one for localhost and one for %. I have no idea how the % came<br>
about! I notice that the localhost one has a load of privs (select_priv,<br>
insert_priv, update_priv, etc) that the % one doesn't. But from the sound<br>
of it I can probably just ignore the duplicate user, since mythtv@localhost<br>
is unique.<br>
<br>
</blockquote>
The '%' is a wild-card. In theory it should be available from every host. Without a password to match it, however, it isn't going anywhere, and I suspect none of your other users will either.<br>
<br>
I'm afraid you'll have to nuke your database and start with a fresh one. This one does not contain the fields a normal mysql/mariadb application would expect.<br>
<br>
Without any password fields, this isn't a mythtv problem - unless some kind of bad data caused it in the first place, but I have trouble believing that.<span class="m_4513136443646995827gmail-HOEnZb"><font color="#888888"></font></span><br></blockquote></div><br></div>The authentication_string is the new name for the password field in mysql 5.7. See here: <a href="http://stackoverflow.com/questions/30692812/mysql-user-db-does-not-have-password-columns-installing-mysql-on-osx" target="_blank">http://stackoverflow.com/<wbr>questions/30692812/mysql-user-<wbr>db-does-not-have-password-<wbr>columns-installing-mysql-on-<wbr>osx</a><br><br></div>Karl<br></div>