0

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/
3
  • 2
    (Rephrase as a Question, then self-Answer it; you will get more reputation points.)
    – Rick James
    May 6, 2019 at 23:48
  • Note: MySQL Workbench does not evaluate includes currently (8.0.16). Only the main config file is read. May 7, 2019 at 5:23
  • Why should it look like that? On my machine, the [mysqld] definition is in /etc/mysql/mysql.conf.d/mysqld.cnf, and I would assume that the !includedir /etc/mysql/mysql.conf.d/ command looks for it inside that folder. Sep 14, 2022 at 19:58

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.