I\'m trying to access mysql and when I run the mysql command, I get the following.
[root@ip-10-229-65-166 tpdatabase-1.8.0.28356]# mysql ERR
[root@ip-10-229-65-166 tpdatabase-1.8.0.28356]# mysql
ERR
I recently encountered this problem after an upgrade on Ubuntu 18.04. The solution here solved it https://serverfault.com/a/957723/439448.