<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 24, 2020 at 7:59 PM James Abernathy <<a href="mailto:jfabernathy@gmail.com">jfabernathy@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"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 24, 2020 at 7:22 PM Bill Meek <<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@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">On 3/24/20 3:44 PM, James Abernathy wrote:<br>
>> I can login with the --default-extra-file<br>
> The sudo dpkg-reconfigure mythtv-database didn't add much new text.<br>
> <br>
> jim@mythbuntu:~$ sudo dpkg-reconfigure mythtv-database<br>
> Failed to create/alter user or grant permissions to database (incorrect<br>
> admin username/password?)<br>
> Try:<br>
> sudo dpkg-reconfigure mythtv-database<br>
<br>
On line 42: mysql $SECURITY_INFO "$database" >/dev/null 2>&1;<br>
<br>
remove the:<br>
<br>
     >/dev/null<br>
<br>
That should allow the SQL error to print.<br>
<br>
The three queries (run as the MySQL root user) are:<br>
<br>
CREATE USER IF NOT EXISTS 'mythtv'@'%' IDENTIFIED WITH mysql_native_password;<br>
ALTER USER 'mythtv'@'%' IDENTIFIED BY 'your password here';<br>
GRANT ALL ON mythconverg.* TO 'mythtv'@'%';<br>
<br>
-- <br>
Bill<br></blockquote>jim@mythbuntu:~$ sudo dpkg-reconfigure mythtv-database<br>ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'IF NOT EXISTS 'mythtv'@'%' IDENTIFIED WITH mysql_native_password' at line 1<br>Failed to create/alter user or grant permissions to database (incorrect admin username/password?)<br>Try:<br>sudo dpkg-reconfigure mythtv-database<br>jim@mythbuntu:~$ <br></div></div></blockquote><div><br></div><div>If I run the command from the console I get this:</div><div>MariaDB [mysql]> CREATE USER IF NOT EXISTS 'mythtv'@'%' IDENTIFIED WITH mysql_native_password;<br>ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'IF NOT EXISTS 'mythtv'@'%' IDENTIFIED WITH mysql_native_password' at line 1<br>MariaDB [mysql]><br></div><div><br></div><div>Jim A<br><br></div></div></div>