How to get MySQL query longer than 300 characters using set profiling?

Trying to get a PDO query with substituted parameters:
set profiling=1;
...
show profiles;

If more:
(new DB)->do('set profiling=1');
$result = (new DB);
$result->params = $this->params;
$result->addText = $this->addText;
$result->in = $this->in;
$result->save = $this->save;
$result->$type($reqText);
$requests = (new DB)->many('show profiles');
$this->setError('Request:<br>'.array_pop($requests)['Query']);

It works, however, if the query is long, it displays only the first 300 characters.
Here it is written that it is set
#define MAX_QUERY_LENGTH 300U

But I did not understand where and how this can be changed? Googling it does not work. If it matters, the access to the database via phpMyAdmin as a server - XAMPP.
April 19th 20 at 12:10
0 answer

Find more questions by tags MySQLPHP