I have a problem and a few days ago I tried everything and I could not find the solution.
On my server where my DB is hosted in MySQL when executing MySQL login
mysql -u -p
It shows me the following error
mysql: [ERROR] unknown variable 'general_log=1'
Reviewing the .ini I see that if it declares the variable log_general
general_log_file = /var/log/mysql/mysql.log
general_log = 1
postscript: The ini is in /etc/mysql/mysql.conf.d
because it uses a !includedir /etc/mysql/mysql.conf.d/
in the my.cnf file
It is more if I delete that line (general_log) and I have placed it in value 0 (in off) I keep appearing that same message, I think it is calling from another party but I do not know where, I do not know if you can give me options where else could I review since I'm worried that I can not run anything around here and can not use Shells.
This comes to me when I put my user, it does not allow me to enter the -p