<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:10px;"><div dir="ltr" data-setdir="false">Found a lot of stories of this:<br><div><pre class="ydpebed5f13wiki" style="background: rgb(247, 247, 247); border: 1px solid rgb(215, 215, 215); border-radius: 0.3em; margin: 1em 1.75em; padding: 0.25em; color: rgb(0, 0, 0);">QMYSQL: Unable to connect
Database error was:
Access denied for user 'mythtv'@'localhost' (using password: YES)</pre></div>But the solutions mentioned didn't help.</div><div dir="ltr" data-setdir="false">my /etc/mythtv/config.xml is not a symlink (apparently systemd can't find symlinks)</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I verified the mysql passwords for the mythtv user are all the same in that config file, the ~mythtv/.mythtv/config.xml and ~/.mythtv/config.xml files</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I verified that doing:<br><span>mysql -u mythtv mythconverg -p</span><br></div><div dir="ltr" data-setdir="false">and typing in the password in those files works fine.</div><div dir="ltr" data-setdir="false"><span>mysql -u mythtv -h 127.0.0.1 mythconverg</span><br></div><div dir="ltr" data-setdir="false"><span>also works fine.</span></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">But mythsetup is always stuck on the above.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">BTW, for anyone upgrading to Ubuntu 20.04, MariaDB will timeout on startup because Ubuntu's new AppArmor feature...follow the bug report tip here to fix that:<br><a href="https://stackoverflow.com/questions/40997257/mysql-service-fails-to-start-hangs-up-timeout-ubuntu-mariadb" rel="nofollow" target="_blank" class="">https://stackoverflow.com/questions/40997257/mysql-service-fails-to-start-hangs-up-timeout-ubuntu-mariadb</a><br></div><div><br></div><div dir="ltr" data-setdir="false">ken</div><div dir="ltr" data-setdir="false"><br></div></div></body></html>