title: 08001] Could not create connection to database server. Index 5 out of bounds for length 5 - SQL error
body: <p>I have suddenly started getting this error in my SQL client, and I really do not understand what's going on.</p>
  <blockquote>
  <p>[08001] Could not create connection to database server. Index 5 out of
  bounds for length 5</p>
  </blockquote>
  <p>The app that I am working on is using Laravel 6, running on Homestead. I can still connect to server DBs, however I now cannot connect to any local DBs. My OS is Ubuntu 20.04 My DB client is Datagrip.</p>
  <p>It was working fine until this started, and I haven't changed anything on my OS - I did install the mysql-connector-python package, but in a virtual env. I have uninstalled that and deactivated the venv, but still having the issue.</p>
  <p>I am wondering if I've done my virutal env wrong, and the mysql-connector-python package has made an OS change which I'm now unable to fix.</p>
  <p>Any help on the matter would be of great help, as I can't find much info about this specific error anywhere.</p>