I'm attempting to connect to my local DB via a mysql connection to initiate and run a query off of my database via Go.
When attempting to connect, I am met with this error:
this user requires clear text authentication. If you still want to use it, please add allowCleartextPasswords=1' to your DSN
My Db connection looks like the following: db, err := sql.Open("sql", "<username>:<password>@tcp(127.0.0.1:<port>)/<dbname>?charset=utf8" )
Where can I include this dependency for cleartext authentication?