I set up an ssh tunnel just fine, but then learned I could not connect to my mysql database through the normal command line connect string - ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/run/mysqld/mysqld.sock’
Yes, I have a Cloudflare tunnel set up to ssh via the browser. I can issue simple commands, but I can’t connect to my database issuing a simple command: mysql -u username -p password. If I do this, I get the socket error message: ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/run/mysqld/mysqld.sock’…