if you get this trying to connect to your remote server using MySql Workbench, then try to (on your remote server) navigate to /etc/mysql/my.cnf and add
[mysqld]
then it should look like:
!includedir /etc/mysql/conf.d/
[mysqld]
!includedir /etc/mysql/mysql.conf.d/
!includedir /etc/mysql/mysql.conf.d/
command looks for it inside that folder.