<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 5, 2018 at 12:35 PM, Daryl McDonald <span dir="ltr"><<a href="mailto:darylangela@gmail.com" target="_blank">darylangela@gmail.com</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"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-h5">On Sun, Aug 5, 2018 at 12:25 PM, Ian Cameron <span dir="ltr"><<a href="mailto:mkbloke@gmail.com" target="_blank">mkbloke@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-h5"><div dir="ltr"><div>Let's start from the beginning. What are the results when you:</div><div><br></div><div>ls -la /etc/mysql</div><div><br></div><div>and <br></div><div><br></div><div>ls -la /etc/mythtv</div><div><br></div><div>?</div><div><br></div><div>Also when you:</div><div><br></div><div>sudo /bin/bash -c "echo \"select User,Host from user where User='mythtv'\" | mysql -uroot mysql"</div><div><br></div><div>and</div><div><br></div><div>sudo /bin/bash -c "echo \"select * from db where User='mythtv'\" | mysql -uroot mysql"</div><div><br></div><div>?</div><div><br></div><div>Cheers, Ian<br></div><div><br></div></div>
<br></div></div><span class="gmail-">______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing<wbr>_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a></span></blockquote><div><br></div><div> daryl@trieli:~$ ls -al /etc/mysql</div><div>total 40</div><div>drwxr-xr-x 4 root root 4096 Aug 5 09:20 .</div><div>drwxr-xr-x 137 root root 12288 Aug 5 09:22 ..</div><div>drwxr-xr-x 2 root root 4096 Aug 5 09:21 conf.d</div><div>-rw------- 1 root root 317 Aug 5 09:20 debian.cnf</div><div>-rwxr-xr-x 1 root root 120 Jul 27 13:58 debian-start</div><div>lrwxrwxrwx 1 root root 24 Aug 5 08:47 my.cnf -> /etc/alternatives/my.cnf</div><div>-rw-r--r-- 1 root root 839 Jan 21 2017 my.cnf.fallback</div><div>-rw-r--r-- 1 root root 682 Feb 3 2017 mysql.cnf</div><div>drwxr-xr-x 2 root root 4096 Aug 5 09:21 mysql.conf.d</div><div>daryl@trieli:~$ ls -al /etc/mythtv</div><div>total 24</div><div>drwxr-xr-x 2 root root 4096 Aug 5 09:21 .</div><div>drwxr-xr-x 137 root root 12288 Aug 5 09:22 ..</div><div>-rw-rw---- 1 mythtv mythtv 452 Aug 5 09:21 config.xml</div><div>-rw-r--r-- 1 root root 1110 Apr 13 2016 session-settings</div><div>daryl@trieli:~$ sudo /bin/bash -c "echo \"select User,Host from user where User='mythtv'\" | mysql -uroot mysql"</div><div>[sudo] password for daryl: </div><div>ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)</div><div>daryl@trieli:~$ sudo /bin/bash -c "echo \"select * from db where User='mythtv'\" | mysql -uroot mysql</div><div>> </div><div><br></div><div>the final query seems to still be working</div></div></div></div></blockquote><div>my bad, I missed the final | " | :</div><div><div>daryl@trieli:~$ sudo /bin/bash -c "echo \"select * from db where User='mythtv'\" | mysql -uroot mysql"</div><div>ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)</div><div>daryl@trieli:~$ </div></div></div><br></div></div>