<div dir="ltr"><div>Do you have a user and password showing in debian.cnf if you:</div><div><br></div><div>sudo cat /etc/mysql/debian.cnf?</div><div><br></div><div>Don't copy this to the list.</div><div><br></div><div>If so, try the commands again using those parameters, i.e.:</div><div><br></div><div>sudo /bin/bash -c "echo \"select User,Host from user where User='mythtv'\" | mysql -u<username> -p<password> mysql"</div><div><br></div><div>and</div><div><br></div><div>sudo /bin/bash -c "echo \"select * from db where User='mythtv'\" | mysql -u<username> -p<password> mysql"</div><div><br></div><div>substituting <username> and <password> with the values shown in debian.cnf.</div><div><br></div><div>Cheers, Ian</div><div><br></div></div>