Answer the question
In order to leave comments, you need to log in
How to force phpmyadmin to log mysql errors?
I'm trying to get phpmyadmin to write errors to the apache log.
When attempting unsuccessful authorization, mysql writes something like this to the log (/var/log/mysql/error.log) :
2019-11-29T10:58:22.437468Z 45 [Note] Access denied for user 'test'@'localhost' (using password: YES)
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %{userID}n %{userStatus} n" pma_combined
CustomLog /var/log/apache2/phpmyadmin/access.log pma_combined
Answer the question
In order to leave comments, you need to log in
You are waiting for errors from the script, but access is denied - mysql.
And Apache has nothing to do with it at all!)
Open the dock according to the mysql-server configuration and read: how to set up logging.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question