2

SO!

Sorry, maybe stupid question, but...If I have only ftp-credentials - is it possible to get via php values like myisam_sort_buffer_size, read_rnd_buffer_size,etc. from mysql settings? I never encountered with this issue. Haven't access to production DB( DB settings - can`t check it) for the moment, but feeling something is working wrong locally.

Thanks in advance.

voodoo417
  • 11,861
  • 3
  • 36
  • 40

1 Answers1

2

Yes, you can query for any configuration variable this way:

$value = $pdo->query("SELECT @@myisam_sort_buffer_size")->fetchColumn();
print_r($value);

But you shouldn't care about this value, because you should not use MyISAM.

Bill Karwin
  • 538,548
  • 86
  • 673
  • 828