ServerVariablesController.php 106 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * Holds the PhpMyAdmin\Controllers\Server\ServerVariablesController
  5. *
  6. * @package PhpMyAdmin\Controllers
  7. */
  8. namespace PhpMyAdmin\Controllers\Server;
  9. use PhpMyAdmin\Controllers\Controller;
  10. use PhpMyAdmin\Message;
  11. use PhpMyAdmin\Response;
  12. use PhpMyAdmin\Server\Common;
  13. use PhpMyAdmin\Template;
  14. use PhpMyAdmin\Url;
  15. use PhpMyAdmin\Util;
  16. /**
  17. * Handles viewing and editing server variables
  18. *
  19. * @package PhpMyAdmin\Controllers
  20. */
  21. class ServerVariablesController extends Controller
  22. {
  23. /**
  24. * @var array Documentation links for variables
  25. */
  26. protected $variable_doc_links;
  27. /**
  28. * Constructs ServerVariablesController
  29. */
  30. public function __construct($response, $dbi)
  31. {
  32. parent::__construct($response, $dbi);
  33. $this->variable_doc_links = $this->_getDocumentLinks();
  34. }
  35. /**
  36. * Index action
  37. *
  38. * @return void
  39. */
  40. public function indexAction()
  41. {
  42. $response = Response::getInstance();
  43. if ($response->isAjax()
  44. && isset($_GET['type'])
  45. && $_GET['type'] === 'getval'
  46. ) {
  47. $this->getValueAction();
  48. return;
  49. }
  50. if ($response->isAjax()
  51. && isset($_POST['type'])
  52. && $_POST['type'] === 'setval'
  53. ) {
  54. $this->setValueAction();
  55. return;
  56. }
  57. include 'libraries/server_common.inc.php';
  58. $header = $this->response->getHeader();
  59. $scripts = $header->getScripts();
  60. $scripts->addFile('server_variables.js');
  61. /**
  62. * Displays the sub-page heading
  63. */
  64. $this->response->addHTML(
  65. Template::get('server/sub_page_header')->render([
  66. 'type' => 'variables',
  67. 'link' => 'server_system_variables',
  68. ])
  69. );
  70. /**
  71. * Sends the queries and buffers the results
  72. */
  73. $serverVarsResult = $this->dbi->tryQuery('SHOW SESSION VARIABLES;');
  74. if ($serverVarsResult !== false) {
  75. $serverVarsSession = array();
  76. while ($arr = $this->dbi->fetchRow($serverVarsResult)) {
  77. $serverVarsSession[$arr[0]] = $arr[1];
  78. }
  79. $this->dbi->freeResult($serverVarsResult);
  80. $serverVars = $this->dbi->fetchResult('SHOW GLOBAL VARIABLES;', 0, 1);
  81. /**
  82. * Link templates
  83. */
  84. $this->response->addHtml($this->_getHtmlForLinkTemplates());
  85. /**
  86. * Displays the page
  87. */
  88. $this->response->addHtml(
  89. $this->_getHtmlForServerVariables($serverVars, $serverVarsSession)
  90. );
  91. } else {
  92. /**
  93. * Display the error message
  94. */
  95. $this->response->addHTML(
  96. Message::error(
  97. sprintf(
  98. __(
  99. 'Not enough privilege to view server variables and '
  100. . 'settings. %s'
  101. ),
  102. Util::showMySQLDocu(
  103. 'server-system-variables',
  104. false,
  105. 'sysvar_show_compatibility_56'
  106. )
  107. )
  108. )->getDisplay()
  109. );
  110. }
  111. }
  112. /**
  113. * Handle the AJAX request for a single variable value
  114. *
  115. * @return void
  116. */
  117. public function getValueAction()
  118. {
  119. // Send with correct charset
  120. header('Content-Type: text/html; charset=UTF-8');
  121. // Do not use double quotes inside the query to avoid a problem
  122. // when server is running in ANSI_QUOTES sql_mode
  123. $varValue = $this->dbi->fetchSingleRow(
  124. 'SHOW GLOBAL VARIABLES WHERE Variable_name=\''
  125. . $GLOBALS['dbi']->escapeString($_GET['varName']) . '\';',
  126. 'NUM'
  127. );
  128. if (isset($this->variable_doc_links[$_GET['varName']][3])
  129. && $this->variable_doc_links[$_GET['varName']][3] == 'byte'
  130. ) {
  131. $this->response->addJSON(
  132. 'message',
  133. implode(
  134. ' ', Util::formatByteDown($varValue[1], 3, 3)
  135. )
  136. );
  137. } else {
  138. $this->response->addJSON(
  139. 'message',
  140. $varValue[1]
  141. );
  142. }
  143. }
  144. /**
  145. * Handle the AJAX request for setting value for a single variable
  146. *
  147. * @return void
  148. */
  149. public function setValueAction()
  150. {
  151. $value = $_POST['varValue'];
  152. $matches = array();
  153. if (isset($this->variable_doc_links[$_POST['varName']][3])
  154. && $this->variable_doc_links[$_POST['varName']][3] == 'byte'
  155. && preg_match(
  156. '/^\s*(\d+(\.\d+)?)\s*(mb|kb|mib|kib|gb|gib)\s*$/i',
  157. $value,
  158. $matches
  159. )
  160. ) {
  161. $exp = array(
  162. 'kb' => 1,
  163. 'kib' => 1,
  164. 'mb' => 2,
  165. 'mib' => 2,
  166. 'gb' => 3,
  167. 'gib' => 3
  168. );
  169. $value = floatval($matches[1]) * pow(
  170. 1024,
  171. $exp[mb_strtolower($matches[3])]
  172. );
  173. } else {
  174. $value = $GLOBALS['dbi']->escapeString($value);
  175. }
  176. if (! is_numeric($value)) {
  177. $value="'" . $value . "'";
  178. }
  179. if (! preg_match("/[^a-zA-Z0-9_]+/", $_POST['varName'])
  180. && $this->dbi->query(
  181. 'SET GLOBAL ' . $_POST['varName'] . ' = ' . $value
  182. )
  183. ) {
  184. // Some values are rounded down etc.
  185. $varValue = $this->dbi->fetchSingleRow(
  186. 'SHOW GLOBAL VARIABLES WHERE Variable_name="'
  187. . $GLOBALS['dbi']->escapeString($_POST['varName'])
  188. . '";', 'NUM'
  189. );
  190. list($formattedValue, $isHtmlFormatted) = $this->_formatVariable(
  191. $_POST['varName'], $varValue[1]
  192. );
  193. if ($isHtmlFormatted == false) {
  194. $this->response->addJSON(
  195. 'variable',
  196. htmlspecialchars(
  197. $formattedValue
  198. )
  199. );
  200. } else {
  201. $this->response->addJSON(
  202. 'variable',
  203. $formattedValue
  204. );
  205. }
  206. } else {
  207. $this->response->setRequestStatus(false);
  208. $this->response->addJSON(
  209. 'error',
  210. __('Setting variable failed')
  211. );
  212. }
  213. }
  214. /**
  215. * Format Variable
  216. *
  217. * @param string $name variable name
  218. * @param integer $value variable value
  219. *
  220. * @return array formatted string and bool if string is HTML formatted
  221. */
  222. private function _formatVariable($name, $value)
  223. {
  224. $isHtmlFormatted = false;
  225. $formattedValue = $value;
  226. if (is_numeric($value)) {
  227. if (isset($this->variable_doc_links[$name][3])
  228. && $this->variable_doc_links[$name][3] == 'byte'
  229. ) {
  230. $isHtmlFormatted = true;
  231. $formattedValue = '<abbr title="'
  232. . htmlspecialchars(Util::formatNumber($value, 0)) . '">'
  233. . htmlspecialchars(
  234. implode(' ', Util::formatByteDown($value, 3, 3))
  235. )
  236. . '</abbr>';
  237. } else {
  238. $formattedValue = Util::formatNumber($value, 0);
  239. }
  240. }
  241. return array(
  242. $formattedValue,
  243. $isHtmlFormatted
  244. );
  245. }
  246. /**
  247. * Prints link templates
  248. *
  249. * @return string
  250. */
  251. private function _getHtmlForLinkTemplates()
  252. {
  253. $url = 'server_variables.php' . Url::getCommon();
  254. return Template::get('server/variables/link_template')
  255. ->render(array('url' => $url));
  256. }
  257. /**
  258. * Prints Html for Server Variables
  259. *
  260. * @param array $serverVars global variables
  261. * @param array $serverVarsSession session variables
  262. *
  263. * @return string
  264. */
  265. private function _getHtmlForServerVariables(array $serverVars, array $serverVarsSession)
  266. {
  267. // filter
  268. $filterValue = ! empty($_REQUEST['filter']) ? $_REQUEST['filter'] : '';
  269. $output = Template::get('filter')
  270. ->render(array('filter_value' => $filterValue));
  271. $output .= '<div class="responsivetable">';
  272. $output .= '<table id="serverVariables" class="width100 data filteredData noclick">';
  273. $output .= Template::get('server/variables/variable_table_head')->render();
  274. $output .= '<tbody>';
  275. $output .= $this->_getHtmlForServerVariablesItems(
  276. $serverVars, $serverVarsSession
  277. );
  278. $output .= '</tbody>';
  279. $output .= '</table>';
  280. $output .= '</div>';
  281. return $output;
  282. }
  283. /**
  284. * Prints Html for Server Variables Items
  285. *
  286. * @param array $serverVars global variables
  287. * @param array $serverVarsSession session variables
  288. *
  289. * @return string
  290. */
  291. private function _getHtmlForServerVariablesItems(
  292. array $serverVars, array $serverVarsSession
  293. ) {
  294. // list of static (i.e. non-editable) system variables
  295. $static_variables = $this->_getStaticSystemVariables();
  296. $output = '';
  297. foreach ($serverVars as $name => $value) {
  298. $has_session_value = isset($serverVarsSession[$name])
  299. && $serverVarsSession[$name] != $value;
  300. $row_class = ($has_session_value ? ' diffSession' : '');
  301. $docLink = isset($this->variable_doc_links[$name])
  302. ? $this->variable_doc_links[$name] : null;
  303. list($formattedValue, $isHtmlFormatted) = $this->_formatVariable($name, $value);
  304. $output .= Template::get('server/variables/variable_row')->render(array(
  305. 'row_class' => $row_class,
  306. 'editable' => ! in_array(
  307. strtolower($name),
  308. $static_variables
  309. ),
  310. 'doc_link' => $docLink,
  311. 'name' => $name,
  312. 'value' => $formattedValue,
  313. 'is_superuser' => $this->dbi->isSuperuser(),
  314. 'is_html_formatted' => $isHtmlFormatted,
  315. ));
  316. if ($has_session_value) {
  317. list($formattedValue, $isHtmlFormatted)= $this->_formatVariable(
  318. $name, $serverVarsSession[$name]
  319. );
  320. $output .= Template::get('server/variables/session_variable_row')
  321. ->render(
  322. array(
  323. 'row_class' => $row_class,
  324. 'value' => $formattedValue,
  325. 'is_html_formatted' => $isHtmlFormatted,
  326. )
  327. );
  328. }
  329. }
  330. return $output;
  331. }
  332. /**
  333. * Returns Array of documentation links
  334. *
  335. * $variable_doc_links[string $name] = array(
  336. * string $name,
  337. * string $anchor,
  338. * string $chapter,
  339. * string $type,
  340. * string $format);
  341. * string $name: name of the system variable
  342. * string $anchor: anchor to the documentation page
  343. * string $chapter: chapter of "HTML, one page per chapter" documentation
  344. * string $type: type of system variable
  345. * string $format: if set to 'byte' it will format the variable
  346. * with Util::formatByteDown()
  347. *
  348. * @return array
  349. */
  350. private function _getDocumentLinks()
  351. {
  352. $variable_doc_links = array();
  353. $variable_doc_links['auto_increment_increment'] = array(
  354. 'auto_increment_increment',
  355. 'replication-options-master',
  356. 'sysvar');
  357. $variable_doc_links['auto_increment_offset'] = array(
  358. 'auto_increment_offset',
  359. 'replication-options-master',
  360. 'sysvar');
  361. $variable_doc_links['autocommit'] = array(
  362. 'autocommit',
  363. 'server-system-variables',
  364. 'sysvar');
  365. $variable_doc_links['automatic_sp_privileges'] = array(
  366. 'automatic_sp_privileges',
  367. 'server-system-variables',
  368. 'sysvar');
  369. $variable_doc_links['avoid_temporal_upgrade'] = array(
  370. 'avoid_temporal_upgrade',
  371. 'server-system-variables',
  372. 'sysvar');
  373. $variable_doc_links['back_log'] = array(
  374. 'back_log',
  375. 'server-system-variables',
  376. 'sysvar');
  377. $variable_doc_links['basedir'] = array(
  378. 'basedir',
  379. 'server-options',
  380. 'option_mysqld');
  381. $variable_doc_links['big_tables'] = array(
  382. 'big-tables',
  383. 'server-options',
  384. 'option_mysqld');
  385. $variable_doc_links['bind_address'] = array(
  386. 'bind-address',
  387. 'server-options',
  388. 'option_mysqld');
  389. $variable_doc_links['binlog_cache_size'] = array(
  390. 'binlog_cache_size',
  391. 'replication-options-binary-log',
  392. 'sysvar',
  393. 'byte');
  394. $variable_doc_links['binlog_checksum'] = array(
  395. 'binlog_checksum',
  396. 'replication-options-binary-log',
  397. 'sysvar');
  398. $variable_doc_links['binlog_direct_non_transactional_updates'] = array(
  399. 'binlog_direct_non_transactional_updates',
  400. 'replication-options-binary-log',
  401. 'sysvar');
  402. $variable_doc_links['binlog_error_action'] = array(
  403. 'binlog_error_action',
  404. 'replication-options-binary-log',
  405. 'sysvar');
  406. $variable_doc_links['binlog_format'] = array(
  407. 'binlog-format',
  408. 'server-options',
  409. 'option_mysqld');
  410. $variable_doc_links['binlog_group_commit_sync_delay'] = array(
  411. 'binlog_group_commit_sync_delay',
  412. 'replication-options-binary-log',
  413. 'sysvar');
  414. $variable_doc_links['binlog_group_commit_sync_no_delay_count'] = array(
  415. 'binlog_group_commit_sync_no_delay_count',
  416. 'replication-options-binary-log',
  417. 'sysvar');
  418. $variable_doc_links['binlog_gtid_simple_recovery'] = array(
  419. 'binlog_gtid_simple_recovery',
  420. 'replication-options-gtids',
  421. 'sysvar');
  422. $variable_doc_links['binlog_max_flush_queue_time'] = array(
  423. 'binlog_max_flush_queue_time',
  424. 'replication-options-binary-log',
  425. 'sysvar');
  426. $variable_doc_links['binlog_order_commits'] = array(
  427. 'binlog_order_commits',
  428. 'replication-options-binary-log',
  429. 'sysvar');
  430. $variable_doc_links['binlog_row_image'] = array(
  431. 'binlog_row_image',
  432. 'replication-options-binary-log',
  433. 'sysvar');
  434. $variable_doc_links['binlog_rows_query_log_events'] = array(
  435. 'binlog_rows_query_log_events',
  436. 'replication-options-binary-log',
  437. 'sysvar');
  438. $variable_doc_links['binlog_stmt_cache_size'] = array(
  439. 'binlog_stmt_cache_size',
  440. 'replication-options-binary-log',
  441. 'sysvar',
  442. 'byte');
  443. $variable_doc_links['block_encryption_mode'] = array(
  444. 'block_encryption_mode',
  445. 'server-system-variables',
  446. 'sysvar');
  447. $variable_doc_links['bulk_insert_buffer_size'] = array(
  448. 'bulk_insert_buffer_size',
  449. 'server-system-variables',
  450. 'sysvar',
  451. 'byte');
  452. $variable_doc_links['character_set_client'] = array(
  453. 'character_set_client',
  454. 'server-system-variables',
  455. 'sysvar');
  456. $variable_doc_links['character_set_connection'] = array(
  457. 'character_set_connection',
  458. 'server-system-variables',
  459. 'sysvar');
  460. $variable_doc_links['character_set_database'] = array(
  461. 'character_set_database',
  462. 'server-system-variables',
  463. 'sysvar');
  464. $variable_doc_links['character_set_filesystem'] = array(
  465. 'character-set-filesystem',
  466. 'server-options',
  467. 'option_mysqld');
  468. $variable_doc_links['character_set_results'] = array(
  469. 'character_set_results',
  470. 'server-system-variables',
  471. 'sysvar');
  472. $variable_doc_links['character_set_server'] = array(
  473. 'character-set-server',
  474. 'server-options',
  475. 'option_mysqld');
  476. $variable_doc_links['character_set_system'] = array(
  477. 'character_set_system',
  478. 'server-system-variables',
  479. 'sysvar');
  480. $variable_doc_links['character_sets_dir'] = array(
  481. 'character-sets-dir',
  482. 'server-options',
  483. 'option_mysqld');
  484. $variable_doc_links['check_proxy_users'] = array(
  485. 'check_proxy_users',
  486. 'server-system-variables',
  487. 'sysvar');
  488. $variable_doc_links['collation_connection'] = array(
  489. 'collation_connection',
  490. 'server-system-variables',
  491. 'sysvar');
  492. $variable_doc_links['collation_database'] = array(
  493. 'collation_database',
  494. 'server-system-variables',
  495. 'sysvar');
  496. $variable_doc_links['collation_server'] = array(
  497. 'collation-server',
  498. 'server-options',
  499. 'option_mysqld');
  500. $variable_doc_links['completion_type'] = array(
  501. 'completion_type',
  502. 'server-system-variables',
  503. 'sysvar');
  504. $variable_doc_links['concurrent_insert'] = array(
  505. 'concurrent_insert',
  506. 'server-system-variables',
  507. 'sysvar');
  508. $variable_doc_links['connect_timeout'] = array(
  509. 'connect_timeout',
  510. 'server-system-variables',
  511. 'sysvar');
  512. $variable_doc_links['core_file'] = array(
  513. 'core_file',
  514. 'server-system-variables',
  515. 'sysvar');
  516. $variable_doc_links['datadir'] = array(
  517. 'datadir',
  518. 'server-options',
  519. 'option_mysqld');
  520. $variable_doc_links['date_format'] = array(
  521. 'date_format',
  522. 'server-system-variables',
  523. 'sysvar');
  524. $variable_doc_links['datetime_format'] = array(
  525. 'datetime_format',
  526. 'server-system-variables',
  527. 'sysvar');
  528. $variable_doc_links['debug'] = array(
  529. 'debug',
  530. 'server-options',
  531. 'option_mysqld');
  532. $variable_doc_links['debug_sync'] = array(
  533. 'debug_sync',
  534. 'server-system-variables',
  535. 'sysvar');
  536. $variable_doc_links['default_authentication_plugin'] = array(
  537. 'default_authentication_plugin',
  538. 'server-system-variables',
  539. 'sysvar');
  540. $variable_doc_links['default_password_lifetime'] = array(
  541. 'default_password_lifetime',
  542. 'server-system-variables',
  543. 'sysvar');
  544. $variable_doc_links['default_storage_engine'] = array(
  545. 'default-storage-engine',
  546. 'server-options',
  547. 'option_mysqld');
  548. $variable_doc_links['default_tmp_storage_engine'] = array(
  549. 'default_tmp_storage_engine',
  550. 'server-system-variables',
  551. 'sysvar');
  552. $variable_doc_links['default_week_format'] = array(
  553. 'default_week_format',
  554. 'server-system-variables',
  555. 'sysvar');
  556. $variable_doc_links['delay_key_write'] = array(
  557. 'delay-key-write',
  558. 'server-options',
  559. 'option_mysqld');
  560. $variable_doc_links['delayed_insert_limit'] = array(
  561. 'delayed_insert_limit',
  562. 'server-system-variables',
  563. 'sysvar');
  564. $variable_doc_links['delayed_insert_timeout'] = array(
  565. 'delayed_insert_timeout',
  566. 'server-system-variables',
  567. 'sysvar');
  568. $variable_doc_links['delayed_queue_size'] = array(
  569. 'delayed_queue_size',
  570. 'server-system-variables',
  571. 'sysvar');
  572. $variable_doc_links['disabled_storage_engines'] = array(
  573. 'disabled_storage_engines',
  574. 'server-system-variables',
  575. 'sysvar');
  576. $variable_doc_links['disconnect_on_expired_password'] = array(
  577. 'disconnect_on_expired_password',
  578. 'server-system-variables',
  579. 'sysvar');
  580. $variable_doc_links['div_precision_increment'] = array(
  581. 'div_precision_increment',
  582. 'server-system-variables',
  583. 'sysvar');
  584. $variable_doc_links['end_markers_in_json'] = array(
  585. 'end_markers_in_json',
  586. 'server-system-variables',
  587. 'sysvar');
  588. $variable_doc_links['enforce_gtid_consistency'] = array(
  589. 'enforce_gtid_consistency',
  590. 'replication-options-gtids',
  591. 'sysvar');
  592. $variable_doc_links['eq_range_index_dive_limit'] = array(
  593. 'eq_range_index_dive_limit',
  594. 'server-system-variables',
  595. 'sysvar');
  596. $variable_doc_links['engine_condition_pushdown'] = array(
  597. 'engine-condition-pushdown',
  598. 'server-options',
  599. 'option_mysqld');
  600. $variable_doc_links['error_count'] = array(
  601. 'error_count',
  602. 'server-system-variables',
  603. 'sysvar');
  604. $variable_doc_links['event_scheduler'] = array(
  605. 'event-scheduler',
  606. 'server-options',
  607. 'option_mysqld');
  608. $variable_doc_links['expire_logs_days'] = array(
  609. 'expire_logs_days',
  610. 'server-system-variables',
  611. 'sysvar');
  612. $variable_doc_links['explicit_defaults_for_timestamp'] = array(
  613. 'explicit_defaults_for_timestamp',
  614. 'server-system-variables',
  615. 'sysvar');
  616. $variable_doc_links['external_user'] = array(
  617. 'external_user',
  618. 'server-system-variables',
  619. 'sysvar');
  620. $variable_doc_links['flush'] = array(
  621. 'flush',
  622. 'server-system-variables',
  623. 'sysvar');
  624. $variable_doc_links['flush_time'] = array(
  625. 'flush_time',
  626. 'server-system-variables',
  627. 'sysvar');
  628. $variable_doc_links['foreign_key_checks'] = array(
  629. 'foreign_key_checks',
  630. 'server-system-variables',
  631. 'sysvar');
  632. $variable_doc_links['ft_boolean_syntax'] = array(
  633. 'ft_boolean_syntax',
  634. 'server-system-variables',
  635. 'sysvar');
  636. $variable_doc_links['ft_max_word_len'] = array(
  637. 'ft_max_word_len',
  638. 'server-system-variables',
  639. 'sysvar');
  640. $variable_doc_links['ft_min_word_len'] = array(
  641. 'ft_min_word_len',
  642. 'server-system-variables',
  643. 'sysvar');
  644. $variable_doc_links['ft_query_expansion_limit'] = array(
  645. 'ft_query_expansion_limit',
  646. 'server-system-variables',
  647. 'sysvar');
  648. $variable_doc_links['ft_stopword_file'] = array(
  649. 'ft_stopword_file',
  650. 'server-system-variables',
  651. 'sysvar');
  652. $variable_doc_links['general_log'] = array(
  653. 'general-log',
  654. 'server-options',
  655. 'option_mysqld');
  656. $variable_doc_links['general_log_file'] = array(
  657. 'general_log_file',
  658. 'server-system-variables',
  659. 'sysvar');
  660. $variable_doc_links['group_concat_max_len'] = array(
  661. 'group_concat_max_len',
  662. 'server-system-variables',
  663. 'sysvar');
  664. $variable_doc_links['gtid_executed'] = array(
  665. 'gtid_executed',
  666. 'replication-options-gtids',
  667. 'sysvar');
  668. $variable_doc_links['gtid_executed_compression_period'] = array(
  669. 'gtid_executed_compression_period',
  670. 'replication-options-gtids',
  671. 'sysvar');
  672. $variable_doc_links['gtid_mode'] = array(
  673. 'gtid_mode',
  674. 'replication-options-gtids',
  675. 'sysvar');
  676. $variable_doc_links['gtid_owned'] = array(
  677. 'gtid_owned',
  678. 'replication-options-gtids',
  679. 'sysvar');
  680. $variable_doc_links['gtid_purged'] = array(
  681. 'gtid_purged',
  682. 'replication-options-gtids',
  683. 'sysvar');
  684. $variable_doc_links['have_compress'] = array(
  685. 'have_compress',
  686. 'server-system-variables',
  687. 'sysvar');
  688. $variable_doc_links['have_crypt'] = array(
  689. 'have_crypt',
  690. 'server-system-variables',
  691. 'sysvar');
  692. $variable_doc_links['have_csv'] = array(
  693. 'have_csv',
  694. 'server-system-variables',
  695. 'sysvar');
  696. $variable_doc_links['have_dynamic_loading'] = array(
  697. 'have_dynamic_loading',
  698. 'server-system-variables',
  699. 'sysvar');
  700. $variable_doc_links['have_geometry'] = array(
  701. 'have_geometry',
  702. 'server-system-variables',
  703. 'sysvar');
  704. $variable_doc_links['have_innodb'] = array(
  705. 'have_innodb',
  706. 'server-system-variables',
  707. 'sysvar');
  708. $variable_doc_links['have_ndbcluster'] = array(
  709. 'have_ndbcluster',
  710. 'mysql-cluster-system-variables',
  711. 'sysvar');
  712. $variable_doc_links['have_openssl'] = array(
  713. 'have_openssl',
  714. 'server-system-variables',
  715. 'sysvar');
  716. $variable_doc_links['have_partitioning'] = array(
  717. 'have_partitioning',
  718. 'server-system-variables',
  719. 'sysvar');
  720. $variable_doc_links['have_profiling'] = array(
  721. 'have_profiling',
  722. 'server-system-variables',
  723. 'sysvar');
  724. $variable_doc_links['have_query_cache'] = array(
  725. 'have_query_cache',
  726. 'server-system-variables',
  727. 'sysvar');
  728. $variable_doc_links['have_rtree_keys'] = array(
  729. 'have_rtree_keys',
  730. 'server-system-variables',
  731. 'sysvar');
  732. $variable_doc_links['have_ssl'] = array(
  733. 'have_ssl',
  734. 'server-system-variables',
  735. 'sysvar');
  736. $variable_doc_links['have_statement_timeout'] = array(
  737. 'have_statement_timeout',
  738. 'server-system-variables',
  739. 'sysvar');
  740. $variable_doc_links['have_symlink'] = array(
  741. 'have_symlink',
  742. 'server-system-variables',
  743. 'sysvar');
  744. $variable_doc_links['host_cache_size'] = array(
  745. 'host_cache_size',
  746. 'server-system-variables',
  747. 'sysvar');
  748. $variable_doc_links['hostname'] = array(
  749. 'hostname',
  750. 'server-system-variables',
  751. 'sysvar');
  752. $variable_doc_links['identity'] = array(
  753. 'identity',
  754. 'server-system-variables',
  755. 'sysvar');
  756. $variable_doc_links['ignore_builtin_innodb'] = array(
  757. 'ignore-builtin-innodb',
  758. 'innodb-parameters',
  759. 'option_mysqld');
  760. $variable_doc_links['ignore_db_dirs'] = array(
  761. 'ignore_db_dirs',
  762. 'server-system-variables',
  763. 'sysvar');
  764. $variable_doc_links['init_connect'] = array(
  765. 'init_connect',
  766. 'server-system-variables',
  767. 'sysvar');
  768. $variable_doc_links['init_file'] = array(
  769. 'init-file',
  770. 'server-options',
  771. 'option_mysqld');
  772. $variable_doc_links['init_slave'] = array(
  773. 'init_slave',
  774. 'replication-options-slave',
  775. 'sysvar');
  776. $variable_doc_links['innodb_adaptive_flushing'] = array(
  777. 'innodb_adaptive_flushing',
  778. 'innodb-parameters',
  779. 'sysvar');
  780. $variable_doc_links['innodb_adaptive_flushing_lwm'] = array(
  781. 'innodb_adaptive_flushing_lwm',
  782. 'innodb-parameters',
  783. 'sysvar');
  784. $variable_doc_links['innodb_adaptive_hash_index'] = array(
  785. 'innodb_adaptive_hash_index',
  786. 'innodb-parameters',
  787. 'sysvar');
  788. $variable_doc_links['innodb_adaptive_hash_index_parts'] = array(
  789. 'innodb_adaptive_hash_index_parts',
  790. 'innodb-parameters',
  791. 'sysvar');
  792. $variable_doc_links['innodb_adaptive_max_sleep_delay'] = array(
  793. 'innodb_adaptive_max_sleep_delay',
  794. 'innodb-parameters',
  795. 'sysvar');
  796. $variable_doc_links['innodb_additional_mem_pool_size'] = array(
  797. 'innodb_additional_mem_pool_size',
  798. 'innodb-parameters',
  799. 'sysvar',
  800. 'byte');
  801. $variable_doc_links['innodb_api_bk_commit_interval'] = array(
  802. 'innodb_api_bk_commit_interval',
  803. 'innodb-parameters',
  804. 'sysvar');
  805. $variable_doc_links['innodb_api_disable_rowlock'] = array(
  806. 'innodb_api_disable_rowlock',
  807. 'innodb-parameters',
  808. 'sysvar');
  809. $variable_doc_links['innodb_api_enable_binlog'] = array(
  810. 'innodb_api_enable_binlog',
  811. 'innodb-parameters',
  812. 'sysvar');
  813. $variable_doc_links['innodb_api_enable_mdl'] = array(
  814. 'innodb_api_enable_mdl',
  815. 'innodb-parameters',
  816. 'sysvar');
  817. $variable_doc_links['innodb_api_trx_level'] = array(
  818. 'innodb_api_trx_level',
  819. 'innodb-parameters',
  820. 'sysvar');
  821. $variable_doc_links['innodb_autoextend_increment'] = array(
  822. 'innodb_autoextend_increment',
  823. 'innodb-parameters',
  824. 'sysvar');
  825. $variable_doc_links['innodb_autoinc_lock_mode'] = array(
  826. 'innodb_autoinc_lock_mode',
  827. 'innodb-parameters',
  828. 'sysvar');
  829. $variable_doc_links['innodb_buffer_pool_chunk_size'] = array(
  830. 'innodb_buffer_pool_chunk_size',
  831. 'innodb-parameters',
  832. 'sysvar',
  833. 'byte');
  834. $variable_doc_links['innodb_buffer_pool_dump_at_shutdown'] = array(
  835. 'innodb_buffer_pool_dump_at_shutdown',
  836. 'innodb-parameters',
  837. 'sysvar');
  838. $variable_doc_links['innodb_buffer_pool_dump_now'] = array(
  839. 'innodb_buffer_pool_dump_now',
  840. 'innodb-parameters',
  841. 'sysvar');
  842. $variable_doc_links['innodb_buffer_pool_dump_pct'] = array(
  843. 'innodb_buffer_pool_dump_pct',
  844. 'innodb-parameters',
  845. 'sysvar');
  846. $variable_doc_links['innodb_buffer_pool_filename'] = array(
  847. 'innodb_buffer_pool_filename',
  848. 'innodb-parameters',
  849. 'sysvar');
  850. $variable_doc_links['innodb_buffer_pool_instances'] = array(
  851. 'innodb_buffer_pool_instances',
  852. 'innodb-parameters',
  853. 'sysvar');
  854. $variable_doc_links['innodb_buffer_pool_load_abort'] = array(
  855. 'innodb_buffer_pool_load_abort',
  856. 'innodb-parameters',
  857. 'sysvar');
  858. $variable_doc_links['innodb_buffer_pool_load_at_startup'] = array(
  859. 'innodb_buffer_pool_load_at_startup',
  860. 'innodb-parameters',
  861. 'sysvar');
  862. $variable_doc_links['innodb_buffer_pool_load_now'] = array(
  863. 'innodb_buffer_pool_load_now',
  864. 'innodb-parameters',
  865. 'sysvar');
  866. $variable_doc_links['innodb_buffer_pool_size'] = array(
  867. 'innodb_buffer_pool_size',
  868. 'innodb-parameters',
  869. 'sysvar',
  870. 'byte');
  871. $variable_doc_links['innodb_change_buffer_max_size'] = array(
  872. 'innodb_change_buffer_max_size',
  873. 'innodb-parameters',
  874. 'sysvar');
  875. $variable_doc_links['innodb_change_buffering'] = array(
  876. 'innodb_change_buffering',
  877. 'innodb-parameters',
  878. 'sysvar');
  879. $variable_doc_links['innodb_checksum_algorithm'] = array(
  880. 'innodb_checksum_algorithm',
  881. 'innodb-parameters',
  882. 'sysvar');
  883. $variable_doc_links['innodb_checksums'] = array(
  884. 'innodb_checksums',
  885. 'innodb-parameters',
  886. 'sysvar');
  887. $variable_doc_links['innodb_cmp_per_index_enabled'] = array(
  888. 'innodb_cmp_per_index_enabled',
  889. 'innodb-parameters',
  890. 'sysvar');
  891. $variable_doc_links['innodb_commit_concurrency'] = array(
  892. 'innodb_commit_concurrency',
  893. 'innodb-parameters',
  894. 'sysvar');
  895. $variable_doc_links['innodb_compression_failure_threshold_pct'] = array(
  896. 'innodb_compression_failure_threshold_pct',
  897. 'innodb-parameters',
  898. 'sysvar');
  899. $variable_doc_links['innodb_compression_level'] = array(
  900. 'innodb_compression_level',
  901. 'innodb-parameters',
  902. 'sysvar');
  903. $variable_doc_links['innodb_compression_pad_pct_max'] = array(
  904. 'innodb_compression_pad_pct_max',
  905. 'innodb-parameters',
  906. 'sysvar');
  907. $variable_doc_links['innodb_concurrency_tickets'] = array(
  908. 'innodb_concurrency_tickets',
  909. 'innodb-parameters',
  910. 'sysvar');
  911. $variable_doc_links['innodb_data_file_path'] = array(
  912. 'innodb_data_file_path',
  913. 'innodb-parameters',
  914. 'sysvar');
  915. $variable_doc_links['innodb_data_home_dir'] = array(
  916. 'innodb_data_home_dir',
  917. 'innodb-parameters',
  918. 'sysvar');
  919. $variable_doc_links['innodb_disable_sort_file_cache'] = array(
  920. 'innodb_disable_sort_file_cache',
  921. 'innodb-parameters',
  922. 'sysvar');
  923. $variable_doc_links['innodb_doublewrite'] = array(
  924. 'innodb_doublewrite',
  925. 'innodb-parameters',
  926. 'sysvar');
  927. $variable_doc_links['innodb_fast_shutdown'] = array(
  928. 'innodb_fast_shutdown',
  929. 'innodb-parameters',
  930. 'sysvar');
  931. $variable_doc_links['innodb_file_format'] = array(
  932. 'innodb_file_format',
  933. 'innodb-parameters',
  934. 'sysvar');
  935. $variable_doc_links['innodb_file_format_check'] = array(
  936. 'innodb_file_format_check',
  937. 'innodb-parameters',
  938. 'sysvar');
  939. $variable_doc_links['innodb_file_format_max'] = array(
  940. 'innodb_file_format_max',
  941. 'innodb-parameters',
  942. 'sysvar');
  943. $variable_doc_links['innodb_file_per_table'] = array(
  944. 'innodb_file_per_table',
  945. 'innodb-parameters',
  946. 'sysvar');
  947. $variable_doc_links['innodb_fill_factor'] = array(
  948. 'innodb_fill_factor',
  949. 'innodb-parameters',
  950. 'sysvar');
  951. $variable_doc_links['innodb_flush_log_at_timeout'] = array(
  952. 'innodb_flush_log_at_timeout',
  953. 'innodb-parameters',
  954. 'sysvar');
  955. $variable_doc_links['innodb_flush_log_at_trx_commit'] = array(
  956. 'innodb_flush_log_at_trx_commit',
  957. 'innodb-parameters',
  958. 'sysvar');
  959. $variable_doc_links['innodb_flush_method'] = array(
  960. 'innodb_flush_method',
  961. 'innodb-parameters',
  962. 'sysvar');
  963. $variable_doc_links['innodb_flush_neighbors'] = array(
  964. 'innodb_flush_neighbors',
  965. 'innodb-parameters',
  966. 'sysvar');
  967. $variable_doc_links['innodb_flush_sync'] = array(
  968. 'innodb_flush_sync',
  969. 'innodb-parameters',
  970. 'sysvar');
  971. $variable_doc_links['innodb_flushing_avg_loops'] = array(
  972. 'innodb_flushing_avg_loops',
  973. 'innodb-parameters',
  974. 'sysvar');
  975. $variable_doc_links['innodb_force_load_corrupted'] = array(
  976. 'innodb_force_load_corrupted',
  977. 'innodb-parameters',
  978. 'sysvar');
  979. $variable_doc_links['innodb_force_recovery'] = array(
  980. 'innodb_force_recovery',
  981. 'innodb-parameters',
  982. 'sysvar');
  983. $variable_doc_links['innodb_ft_aux_table'] = array(
  984. 'innodb_ft_aux_table',
  985. 'innodb-parameters',
  986. 'sysvar');
  987. $variable_doc_links['innodb_ft_cache_size'] = array(
  988. 'innodb_ft_cache_size',
  989. 'innodb-parameters',
  990. 'sysvar');
  991. $variable_doc_links['innodb_ft_enable_diag_print'] = array(
  992. 'innodb_ft_enable_diag_print',
  993. 'innodb-parameters',
  994. 'sysvar');
  995. $variable_doc_links['innodb_ft_enable_stopword'] = array(
  996. 'innodb_ft_enable_stopword',
  997. 'innodb-parameters',
  998. 'sysvar');
  999. $variable_doc_links['innodb_ft_max_token_size'] = array(
  1000. 'innodb_ft_max_token_size',
  1001. 'innodb-parameters',
  1002. 'sysvar');
  1003. $variable_doc_links['innodb_ft_min_token_size'] = array(
  1004. 'innodb_ft_min_token_size',
  1005. 'innodb-parameters',
  1006. 'sysvar');
  1007. $variable_doc_links['innodb_ft_num_word_optimize'] = array(
  1008. 'innodb_ft_num_word_optimize',
  1009. 'innodb-parameters',
  1010. 'sysvar');
  1011. $variable_doc_links['innodb_ft_result_cache_limit'] = array(
  1012. 'innodb_ft_result_cache_limit',
  1013. 'innodb-parameters',
  1014. 'sysvar');
  1015. $variable_doc_links['innodb_ft_server_stopword_table'] = array(
  1016. 'innodb_ft_server_stopword_table',
  1017. 'innodb-parameters',
  1018. 'sysvar');
  1019. $variable_doc_links['innodb_ft_sort_pll_degree'] = array(
  1020. 'innodb_ft_sort_pll_degree',
  1021. 'innodb-parameters',
  1022. 'sysvar');
  1023. $variable_doc_links['innodb_ft_total_cache_size'] = array(
  1024. 'innodb_ft_total_cache_size',
  1025. 'innodb-parameters',
  1026. 'sysvar');
  1027. $variable_doc_links['innodb_ft_user_stopword_table'] = array(
  1028. 'innodb_ft_user_stopword_table',
  1029. 'innodb-parameters',
  1030. 'sysvar');
  1031. $variable_doc_links['innodb_io_capacity'] = array(
  1032. 'innodb_io_capacity',
  1033. 'innodb-parameters',
  1034. 'sysvar');
  1035. $variable_doc_links['innodb_io_capacity_max'] = array(
  1036. 'innodb_io_capacity_max',
  1037. 'innodb-parameters',
  1038. 'sysvar');
  1039. $variable_doc_links['innodb_large_prefix'] = array(
  1040. 'innodb_large_prefix',
  1041. 'innodb-parameters',
  1042. 'sysvar');
  1043. $variable_doc_links['innodb_lock_wait_timeout'] = array(
  1044. 'innodb_lock_wait_timeout',
  1045. 'innodb-parameters',
  1046. 'sysvar');
  1047. $variable_doc_links['innodb_locks_unsafe_for_binlog'] = array(
  1048. 'innodb_locks_unsafe_for_binlog',
  1049. 'innodb-parameters',
  1050. 'sysvar');
  1051. $variable_doc_links['innodb_log_buffer_size'] = array(
  1052. 'innodb_log_buffer_size',
  1053. 'innodb-parameters',
  1054. 'sysvar',
  1055. 'byte');
  1056. $variable_doc_links['innodb_log_checksum_algorithm'] = array(
  1057. 'innodb_log_checksum_algorithm',
  1058. 'innodb-parameters',
  1059. 'sysvar');
  1060. $variable_doc_links['innodb_log_compressed_pages'] = array(
  1061. 'innodb_log_compressed_pages',
  1062. 'innodb-parameters',
  1063. 'sysvar');
  1064. $variable_doc_links['innodb_log_file_size'] = array(
  1065. 'innodb_log_file_size',
  1066. 'innodb-parameters',
  1067. 'sysvar',
  1068. 'byte');
  1069. $variable_doc_links['innodb_log_files_in_group'] = array(
  1070. 'innodb_log_files_in_group',
  1071. 'innodb-parameters',
  1072. 'sysvar');
  1073. $variable_doc_links['innodb_log_group_home_dir'] = array(
  1074. 'innodb_log_group_home_dir',
  1075. 'innodb-parameters',
  1076. 'sysvar');
  1077. $variable_doc_links['innodb_log_write_ahead_size'] = array(
  1078. 'innodb_log_write_ahead_size',
  1079. 'innodb-parameters',
  1080. 'sysvar',
  1081. 'byte');
  1082. $variable_doc_links['innodb_lru_scan_depth'] = array(
  1083. 'innodb_lru_scan_depth',
  1084. 'innodb-parameters',
  1085. 'sysvar');
  1086. $variable_doc_links['innodb_max_dirty_pages_pct'] = array(
  1087. 'innodb_max_dirty_pages_pct',
  1088. 'innodb-parameters',
  1089. 'sysvar');
  1090. $variable_doc_links['innodb_max_dirty_pages_pct_lwm'] = array(
  1091. 'innodb_max_dirty_pages_pct_lwm',
  1092. 'innodb-parameters',
  1093. 'sysvar');
  1094. $variable_doc_links['innodb_max_purge_lag'] = array(
  1095. 'innodb_max_purge_lag',
  1096. 'innodb-parameters',
  1097. 'sysvar');
  1098. $variable_doc_links['innodb_max_purge_lag_delay'] = array(
  1099. 'innodb_max_purge_lag_delay',
  1100. 'innodb-parameters',
  1101. 'sysvar');
  1102. $variable_doc_links['innodb_max_undo_log_size'] = array(
  1103. 'innodb_max_undo_log_size',
  1104. 'innodb-parameters',
  1105. 'sysvar',
  1106. 'byte');
  1107. $variable_doc_links['innodb_mirrored_log_groups'] = array(
  1108. 'innodb_mirrored_log_groups',
  1109. 'innodb-parameters',
  1110. 'sysvar');
  1111. $variable_doc_links['innodb_monitor_disable'] = array(
  1112. 'innodb_monitor_disable',
  1113. 'innodb-parameters',
  1114. 'sysvar');
  1115. $variable_doc_links['innodb_monitor_enable'] = array(
  1116. 'innodb_monitor_enable',
  1117. 'innodb-parameters',
  1118. 'sysvar');
  1119. $variable_doc_links['innodb_monitor_reset'] = array(
  1120. 'innodb_monitor_reset',
  1121. 'innodb-parameters',
  1122. 'sysvar');
  1123. $variable_doc_links['innodb_monitor_reset_all'] = array(
  1124. 'innodb_monitor_reset_all',
  1125. 'innodb-parameters',
  1126. 'sysvar');
  1127. $variable_doc_links['innodb_old_blocks_pct'] = array(
  1128. 'innodb_old_blocks_pct',
  1129. 'innodb-parameters',
  1130. 'sysvar');
  1131. $variable_doc_links['innodb_old_blocks_time'] = array(
  1132. 'innodb_old_blocks_time',
  1133. 'innodb-parameters',
  1134. 'sysvar');
  1135. $variable_doc_links['innodb_online_alter_log_max_size'] = array(
  1136. 'innodb_online_alter_log_max_size',
  1137. 'innodb-parameters',
  1138. 'sysvar',
  1139. 'byte');
  1140. $variable_doc_links['innodb_open_files'] = array(
  1141. 'innodb_open_files',
  1142. 'innodb-parameters',
  1143. 'sysvar');
  1144. $variable_doc_links['innodb_optimize_fulltext_only'] = array(
  1145. 'innodb_optimize_fulltext_only',
  1146. 'innodb-parameters',
  1147. 'sysvar');
  1148. $variable_doc_links['innodb_page_cleaners'] = array(
  1149. 'innodb_page_cleaners',
  1150. 'innodb-parameters',
  1151. 'sysvar');
  1152. $variable_doc_links['innodb_page_size'] = array(
  1153. 'innodb_page_size',
  1154. 'innodb-parameters',
  1155. 'sysvar',
  1156. 'byte');
  1157. $variable_doc_links['innodb_print_all_deadlocks'] = array(
  1158. 'innodb_print_all_deadlocks',
  1159. 'innodb-parameters',
  1160. 'sysvar');
  1161. $variable_doc_links['innodb_purge_batch_size'] = array(
  1162. 'innodb_purge_batch_size',
  1163. 'innodb-parameters',
  1164. 'sysvar');
  1165. $variable_doc_links['innodb_purge_rseg_truncate_frequency'] = array(
  1166. 'innodb_purge_rseg_truncate_frequency',
  1167. 'innodb-parameters',
  1168. 'sysvar');
  1169. $variable_doc_links['innodb_purge_threads'] = array(
  1170. 'innodb_purge_threads',
  1171. 'innodb-parameters',
  1172. 'sysvar');
  1173. $variable_doc_links['innodb_random_read_ahead'] = array(
  1174. 'innodb_random_read_ahead',
  1175. 'innodb-parameters',
  1176. 'sysvar');
  1177. $variable_doc_links['innodb_read_ahead_threshold'] = array(
  1178. 'innodb_read_ahead_threshold',
  1179. 'innodb-parameters',
  1180. 'sysvar');
  1181. $variable_doc_links['innodb_read_io_threads'] = array(
  1182. 'innodb_read_io_threads',
  1183. 'innodb-parameters',
  1184. 'sysvar');
  1185. $variable_doc_links['innodb_read_only'] = array(
  1186. 'innodb_read_only',
  1187. 'innodb-parameters',
  1188. 'sysvar');
  1189. $variable_doc_links['innodb_replication_delay'] = array(
  1190. 'innodb_replication_delay',
  1191. 'innodb-parameters',
  1192. 'sysvar');
  1193. $variable_doc_links['innodb_rollback_on_timeout'] = array(
  1194. 'innodb_rollback_on_timeout',
  1195. 'innodb-parameters',
  1196. 'sysvar');
  1197. $variable_doc_links['innodb_rollback_segments'] = array(
  1198. 'innodb_rollback_segments',
  1199. 'innodb-parameters',
  1200. 'sysvar');
  1201. $variable_doc_links['innodb_sort_buffer_size'] = array(
  1202. 'innodb_sort_buffer_size',
  1203. 'innodb-parameters',
  1204. 'sysvar',
  1205. 'byte');
  1206. $variable_doc_links['innodb_spin_wait_delay'] = array(
  1207. 'innodb_spin_wait_delay',
  1208. 'innodb-parameters',
  1209. 'sysvar');
  1210. $variable_doc_links['innodb_stats_auto_recalc'] = array(
  1211. 'innodb_stats_auto_recalc',
  1212. 'innodb-parameters',
  1213. 'sysvar');
  1214. $variable_doc_links['innodb_stats_method'] = array(
  1215. 'innodb_stats_method',
  1216. 'innodb-parameters',
  1217. 'sysvar');
  1218. $variable_doc_links['innodb_stats_on_metadata'] = array(
  1219. 'innodb_stats_on_metadata',
  1220. 'innodb-parameters',
  1221. 'sysvar');
  1222. $variable_doc_links['innodb_stats_persistent'] = array(
  1223. 'innodb_stats_persistent',
  1224. 'innodb-parameters',
  1225. 'sysvar');
  1226. $variable_doc_links['innodb_stats_persistent_sample_pages'] = array(
  1227. 'innodb_stats_persistent_sample_pages',
  1228. 'innodb-parameters',
  1229. 'sysvar');
  1230. $variable_doc_links['innodb_stats_sample_pages'] = array(
  1231. 'innodb_stats_sample_pages',
  1232. 'innodb-parameters',
  1233. 'sysvar');
  1234. $variable_doc_links['innodb_stats_transient_sample_pages'] = array(
  1235. 'innodb_stats_transient_sample_pages',
  1236. 'innodb-parameters',
  1237. 'sysvar');
  1238. $variable_doc_links['innodb_status_output'] = array(
  1239. 'innodb_status_output',
  1240. 'innodb-parameters',
  1241. 'sysvar');
  1242. $variable_doc_links['innodb_status_output_locks'] = array(
  1243. 'innodb_status_output_locks',
  1244. 'innodb-parameters',
  1245. 'sysvar');
  1246. $variable_doc_links['innodb_strict_mode'] = array(
  1247. 'innodb_strict_mode',
  1248. 'innodb-parameters',
  1249. 'sysvar');
  1250. $variable_doc_links['innodb_support_xa'] = array(
  1251. 'innodb_support_xa',
  1252. 'innodb-parameters',
  1253. 'sysvar');
  1254. $variable_doc_links['innodb_sync_array_size'] = array(
  1255. 'innodb_sync_array_size',
  1256. 'innodb-parameters',
  1257. 'sysvar');
  1258. $variable_doc_links['innodb_sync_spin_loops'] = array(
  1259. 'innodb_sync_spin_loops',
  1260. 'innodb-parameters',
  1261. 'sysvar');
  1262. $variable_doc_links['innodb_table_locks'] = array(
  1263. 'innodb_table_locks',
  1264. 'innodb-parameters',
  1265. 'sysvar');
  1266. $variable_doc_links['innodb_temp_data_file_path'] = array(
  1267. 'innodb_temp_data_file_path',
  1268. 'innodb-parameters',
  1269. 'sysvar');
  1270. $variable_doc_links['innodb_thread_concurrency'] = array(
  1271. 'innodb_thread_concurrency',
  1272. 'innodb-parameters',
  1273. 'sysvar');
  1274. $variable_doc_links['innodb_thread_sleep_delay'] = array(
  1275. 'innodb_thread_sleep_delay',
  1276. 'innodb-parameters',
  1277. 'sysvar');
  1278. $variable_doc_links['innodb_undo_directory'] = array(
  1279. 'innodb_undo_directory',
  1280. 'innodb-parameters',
  1281. 'sysvar');
  1282. $variable_doc_links['innodb_undo_log_truncate'] = array(
  1283. 'innodb_undo_log_truncate',
  1284. 'innodb-parameters',
  1285. 'sysvar');
  1286. $variable_doc_links['innodb_undo_logs'] = array(
  1287. 'innodb_undo_logs',
  1288. 'innodb-parameters',
  1289. 'sysvar');
  1290. $variable_doc_links['innodb_undo_tablespaces'] = array(
  1291. 'innodb_undo_tablespaces',
  1292. 'innodb-parameters',
  1293. 'sysvar');
  1294. $variable_doc_links['innodb_use_native_aio'] = array(
  1295. 'innodb_use_native_aio',
  1296. 'innodb-parameters',
  1297. 'sysvar');
  1298. $variable_doc_links['innodb_use_sys_malloc'] = array(
  1299. 'innodb_use_sys_malloc',
  1300. 'innodb-parameters',
  1301. 'sysvar');
  1302. $variable_doc_links['innodb_version'] = array(
  1303. 'innodb_version',
  1304. 'innodb-parameters',
  1305. 'sysvar');
  1306. $variable_doc_links['innodb_write_io_threads'] = array(
  1307. 'innodb_write_io_threads',
  1308. 'innodb-parameters',
  1309. 'sysvar');
  1310. $variable_doc_links['insert_id'] = array(
  1311. 'insert_id',
  1312. 'server-system-variables',
  1313. 'sysvar');
  1314. $variable_doc_links['interactive_timeout'] = array(
  1315. 'interactive_timeout',
  1316. 'server-system-variables',
  1317. 'sysvar');
  1318. $variable_doc_links['internal_tmp_disk_storage_engine'] = array(
  1319. 'internal_tmp_disk_storage_engine',
  1320. 'server-system-variables',
  1321. 'sysvar');
  1322. $variable_doc_links['join_buffer_size'] = array(
  1323. 'join_buffer_size',
  1324. 'server-system-variables',
  1325. 'sysvar',
  1326. 'byte');
  1327. $variable_doc_links['keep_files_on_create'] = array(
  1328. 'keep_files_on_create',
  1329. 'server-system-variables',
  1330. 'sysvar');
  1331. $variable_doc_links['key_buffer_size'] = array(
  1332. 'key_buffer_size',
  1333. 'server-system-variables',
  1334. 'sysvar',
  1335. 'byte');
  1336. $variable_doc_links['key_cache_age_threshold'] = array(
  1337. 'key_cache_age_threshold',
  1338. 'server-system-variables',
  1339. 'sysvar');
  1340. $variable_doc_links['key_cache_block_size'] = array(
  1341. 'key_cache_block_size',
  1342. 'server-system-variables',
  1343. 'sysvar',
  1344. 'byte');
  1345. $variable_doc_links['key_cache_division_limit'] = array(
  1346. 'key_cache_division_limit',
  1347. 'server-system-variables',
  1348. 'sysvar');
  1349. $variable_doc_links['language'] = array(
  1350. 'language',
  1351. 'server-options',
  1352. 'option_mysqld');
  1353. $variable_doc_links['large_files_support'] = array(
  1354. 'large_files_support',
  1355. 'server-system-variables',
  1356. 'sysvar');
  1357. $variable_doc_links['large_page_size'] = array(
  1358. 'large_page_size',
  1359. 'server-system-variables',
  1360. 'sysvar',
  1361. 'byte');
  1362. $variable_doc_links['large_pages'] = array(
  1363. 'large-pages',
  1364. 'server-options',
  1365. 'option_mysqld');
  1366. $variable_doc_links['last_insert_id'] = array(
  1367. 'last_insert_id',
  1368. 'server-system-variables',
  1369. 'sysvar');
  1370. $variable_doc_links['lc_messages'] = array(
  1371. 'lc-messages',
  1372. 'server-options',
  1373. 'option_mysqld');
  1374. $variable_doc_links['lc_messages_dir'] = array(
  1375. 'lc-messages-dir',
  1376. 'server-options',
  1377. 'option_mysqld');
  1378. $variable_doc_links['lc_time_names'] = array(
  1379. 'lc_time_names',
  1380. 'server-system-variables',
  1381. 'sysvar');
  1382. $variable_doc_links['license'] = array(
  1383. 'license',
  1384. 'server-system-variables',
  1385. 'sysvar');
  1386. $variable_doc_links['local_infile'] = array(
  1387. 'local_infile',
  1388. 'server-system-variables',
  1389. 'sysvar');
  1390. $variable_doc_links['lock_wait_timeout'] = array(
  1391. 'lock_wait_timeout',
  1392. 'server-system-variables',
  1393. 'sysvar');
  1394. $variable_doc_links['locked_in_memory'] = array(
  1395. 'locked_in_memory',
  1396. 'server-system-variables',
  1397. 'sysvar');
  1398. $variable_doc_links['log_backward_compatible_user_definitions'] = array(
  1399. 'log_backward_compatible_user_definitions',
  1400. 'server-system-variables',
  1401. 'sysvar');
  1402. $variable_doc_links['log'] = array(
  1403. 'log',
  1404. 'server-options',
  1405. 'option_mysqld');
  1406. $variable_doc_links['log_bin'] = array(
  1407. 'log_bin',
  1408. 'replication-options-binary-log',
  1409. 'sysvar');
  1410. $variable_doc_links['log-bin'] = array(
  1411. 'log-bin',
  1412. 'replication-options-binary-log',
  1413. 'option_mysqld');
  1414. $variable_doc_links['log_bin_basename'] = array(
  1415. 'log_bin_basename',
  1416. 'replication-options-binary-log',
  1417. 'sysvar');
  1418. $variable_doc_links['log_bin_index'] = array(
  1419. 'log_bin_index',
  1420. 'replication-options-binary-log',
  1421. 'sysvar');
  1422. $variable_doc_links['log_bin_trust_function_creators'] = array(
  1423. 'log-bin-trust-function-creators',
  1424. 'replication-options-binary-log',
  1425. 'option_mysqld');
  1426. $variable_doc_links['log_bin_use_v1_row_events'] = array(
  1427. 'log_bin_use_v1_row_events',
  1428. 'replication-options-binary-log',
  1429. 'sysvar');
  1430. $variable_doc_links['log_error'] = array(
  1431. 'log-error',
  1432. 'server-options',
  1433. 'option_mysqld');
  1434. $variable_doc_links['log_error_verbosity'] = array(
  1435. 'log_error_verbosity',
  1436. 'server-system-variables',
  1437. 'sysvar');
  1438. $variable_doc_links['log_output'] = array(
  1439. 'log-output',
  1440. 'server-options',
  1441. 'option_mysqld');
  1442. $variable_doc_links['log_queries_not_using_indexes'] = array(
  1443. 'log-queries-not-using-indexes',
  1444. 'server-options',
  1445. 'option_mysqld');
  1446. $variable_doc_links['log_slave_updates'] = array(
  1447. 'log-slave-updates',
  1448. 'replication-options-slave',
  1449. 'option_mysqld');
  1450. $variable_doc_links['log_slow_admin_statements'] = array(
  1451. 'log_slow_admin_statements',
  1452. 'server-system-variables',
  1453. 'sysvar');
  1454. $variable_doc_links['log_slow_slave_statements'] = array(
  1455. 'log_slow_slave_statements',
  1456. 'replication-options-slave',
  1457. 'sysvar');
  1458. $variable_doc_links['log_syslog'] = array(
  1459. 'log_syslog',
  1460. 'server-system-variables',
  1461. 'sysvar');
  1462. $variable_doc_links['log_syslog_facility'] = array(
  1463. 'log_syslog_facility',
  1464. 'server-system-variables',
  1465. 'sysvar');
  1466. $variable_doc_links['log_syslog_include_pid'] = array(
  1467. 'log_syslog_include_pid',
  1468. 'server-system-variables',
  1469. 'sysvar');
  1470. $variable_doc_links['log_syslog_tag'] = array(
  1471. 'log_syslog_tag',
  1472. 'server-system-variables',
  1473. 'sysvar');
  1474. $variable_doc_links['log_throttle_queries_not_using_indexes'] = array(
  1475. 'log_throttle_queries_not_using_indexes',
  1476. 'server-system-variables',
  1477. 'sysvar');
  1478. $variable_doc_links['log_timestamps'] = array(
  1479. 'log_timestamps',
  1480. 'server-system-variables',
  1481. 'sysvar');
  1482. $variable_doc_links['log_slow_queries'] = array(
  1483. 'log-slow-queries',
  1484. 'server-options',
  1485. 'option_mysqld');
  1486. $variable_doc_links['log_warnings'] = array(
  1487. 'log-warnings',
  1488. 'server-options',
  1489. 'option_mysqld');
  1490. $variable_doc_links['long_query_time'] = array(
  1491. 'long_query_time',
  1492. 'server-system-variables',
  1493. 'sysvar');
  1494. $variable_doc_links['low_priority_updates'] = array(
  1495. 'low-priority-updates',
  1496. 'server-options',
  1497. 'option_mysqld');
  1498. $variable_doc_links['lower_case_file_system'] = array(
  1499. 'lower_case_file_system',
  1500. 'server-system-variables',
  1501. 'sysvar');
  1502. $variable_doc_links['lower_case_table_names'] = array(
  1503. 'lower_case_table_names',
  1504. 'server-system-variables',
  1505. 'sysvar');
  1506. $variable_doc_links['master_info_repository'] = array(
  1507. 'master_info_repository',
  1508. 'replication-options-slave',
  1509. 'sysvar');
  1510. $variable_doc_links['master_verify_checksum'] = array(
  1511. 'master_verify_checksum',
  1512. 'replication-options-binary-log',
  1513. 'sysvar');
  1514. $variable_doc_links['master-bind'] = array(
  1515. '',
  1516. 'replication-options',
  1517. 0);
  1518. $variable_doc_links['max_allowed_packet'] = array(
  1519. 'max_allowed_packet',
  1520. 'server-system-variables',
  1521. 'sysvar');
  1522. $variable_doc_links['max_binlog_cache_size'] = array(
  1523. 'max_binlog_cache_size',
  1524. 'replication-options-binary-log',
  1525. 'sysvar',
  1526. 'byte');
  1527. $variable_doc_links['max_binlog_size'] = array(
  1528. 'max_binlog_size',
  1529. 'replication-options-binary-log',
  1530. 'sysvar',
  1531. 'byte');
  1532. $variable_doc_links['max_binlog_stmt_cache_size'] = array(
  1533. 'max_binlog_stmt_cache_size',
  1534. 'replication-options-binary-log',
  1535. 'sysvar',
  1536. 'byte');
  1537. $variable_doc_links['max_connect_errors'] = array(
  1538. 'max_connect_errors',
  1539. 'server-system-variables',
  1540. 'sysvar');
  1541. $variable_doc_links['max_connections'] = array(
  1542. 'max_connections',
  1543. 'server-system-variables',
  1544. 'sysvar');
  1545. $variable_doc_links['max_delayed_threads'] = array(
  1546. 'max_delayed_threads',
  1547. 'server-system-variables',
  1548. 'sysvar');
  1549. $variable_doc_links['max_digest_length'] = array(
  1550. 'max_digest_length',
  1551. 'server-system-variables',
  1552. 'sysvar');
  1553. $variable_doc_links['max_error_count'] = array(
  1554. 'max_error_count',
  1555. 'server-system-variables',
  1556. 'sysvar');
  1557. $variable_doc_links['max_execution_time'] = array(
  1558. 'max_execution_time',
  1559. 'server-system-variables',
  1560. 'sysvar');
  1561. $variable_doc_links['max_heap_table_size'] = array(
  1562. 'max_heap_table_size',
  1563. 'server-system-variables',
  1564. 'sysvar',
  1565. 'byte');
  1566. $variable_doc_links['max_insert_delayed_threads'] = array(
  1567. 'max_insert_delayed_threads',
  1568. 'server-system-variables',
  1569. 'sysvar');
  1570. $variable_doc_links['max_join_size'] = array(
  1571. 'max_join_size',
  1572. 'server-system-variables',
  1573. 'sysvar');
  1574. $variable_doc_links['max_length_for_sort_data'] = array(
  1575. 'max_length_for_sort_data',
  1576. 'server-system-variables',
  1577. 'sysvar');
  1578. $variable_doc_links['max_points_in_geometry'] = array(
  1579. 'max_points_in_geometry',
  1580. 'server-system-variables',
  1581. 'sysvar');
  1582. $variable_doc_links['max_long_data_size'] = array(
  1583. 'max_long_data_size',
  1584. 'server-system-variables',
  1585. 'sysvar');
  1586. $variable_doc_links['max_prepared_stmt_count'] = array(
  1587. 'max_prepared_stmt_count',
  1588. 'server-system-variables',
  1589. 'sysvar');
  1590. $variable_doc_links['max_relay_log_size'] = array(
  1591. 'max_relay_log_size',
  1592. 'server-system-variables',
  1593. 'sysvar',
  1594. 'byte');
  1595. $variable_doc_links['max_seeks_for_key'] = array(
  1596. 'max_seeks_for_key',
  1597. 'server-system-variables',
  1598. 'sysvar');
  1599. $variable_doc_links['max_sort_length'] = array(
  1600. 'max_sort_length',
  1601. 'server-system-variables',
  1602. 'sysvar');
  1603. $variable_doc_links['max_sp_recursion_depth'] = array(
  1604. 'max_sp_recursion_depth',
  1605. 'server-system-variables',
  1606. 'sysvar');
  1607. $variable_doc_links['max_tmp_tables'] = array(
  1608. 'max_tmp_tables',
  1609. 'server-system-variables',
  1610. 'sysvar');
  1611. $variable_doc_links['max_user_connections'] = array(
  1612. 'max_user_connections',
  1613. 'server-system-variables',
  1614. 'sysvar');
  1615. $variable_doc_links['max_write_lock_count'] = array(
  1616. 'max_write_lock_count',
  1617. 'server-system-variables',
  1618. 'sysvar');
  1619. $variable_doc_links['metadata_locks_cache_size'] = array(
  1620. 'metadata_locks_cache_size',
  1621. 'server-system-variables',
  1622. 'sysvar');
  1623. $variable_doc_links['metadata_locks_hash_instances'] = array(
  1624. 'metadata_locks_hash_instances',
  1625. 'server-system-variables',
  1626. 'sysvar');
  1627. $variable_doc_links['memlock'] = array(
  1628. 'memlock',
  1629. 'server-options',
  1630. 'option_mysqld');
  1631. $variable_doc_links['min_examined_row_limit'] = array(
  1632. 'min-examined-row-limit',
  1633. 'server-options',
  1634. 'option_mysqld');
  1635. $variable_doc_links['multi_range_count'] = array(
  1636. 'multi_range_count',
  1637. 'server-system-variables',
  1638. 'sysvar');
  1639. $variable_doc_links['myisam_data_pointer_size'] = array(
  1640. 'myisam_data_pointer_size',
  1641. 'server-system-variables',
  1642. 'sysvar',
  1643. 'byte');
  1644. $variable_doc_links['myisam_max_sort_file_size'] = array(
  1645. 'myisam_max_sort_file_size',
  1646. 'server-system-variables',
  1647. 'sysvar',
  1648. 'byte');
  1649. $variable_doc_links['myisam_mmap_size'] = array(
  1650. 'myisam_mmap_size',
  1651. 'server-system-variables',
  1652. 'sysvar',
  1653. 'byte');
  1654. $variable_doc_links['myisam_recover_options'] = array(
  1655. 'myisam_recover_options',
  1656. 'server-system-variables',
  1657. 'sysvar');
  1658. $variable_doc_links['myisam_repair_threads'] = array(
  1659. 'myisam_repair_threads',
  1660. 'server-system-variables',
  1661. 'sysvar');
  1662. $variable_doc_links['myisam_sort_buffer_size'] = array(
  1663. 'myisam_sort_buffer_size',
  1664. 'server-system-variables',
  1665. 'sysvar',
  1666. 'byte');
  1667. $variable_doc_links['myisam_stats_method'] = array(
  1668. 'myisam_stats_method',
  1669. 'server-system-variables',
  1670. 'sysvar');
  1671. $variable_doc_links['myisam_use_mmap'] = array(
  1672. 'myisam_use_mmap',
  1673. 'server-system-variables',
  1674. 'sysvar');
  1675. $variable_doc_links['mysql_native_password_proxy_users'] = array(
  1676. 'mysql_native_password_proxy_users',
  1677. 'server-system-variables',
  1678. 'sysvar');
  1679. $variable_doc_links['named_pipe'] = array(
  1680. 'named_pipe',
  1681. 'server-system-variables',
  1682. 'sysvar');
  1683. $variable_doc_links['net_buffer_length'] = array(
  1684. 'net_buffer_length',
  1685. 'server-system-variables',
  1686. 'sysvar');
  1687. $variable_doc_links['net_read_timeout'] = array(
  1688. 'net_read_timeout',
  1689. 'server-system-variables',
  1690. 'sysvar');
  1691. $variable_doc_links['net_retry_count'] = array(
  1692. 'net_retry_count',
  1693. 'server-system-variables',
  1694. 'sysvar');
  1695. $variable_doc_links['net_write_timeout'] = array(
  1696. 'net_write_timeout',
  1697. 'server-system-variables',
  1698. 'sysvar');
  1699. $variable_doc_links['new'] = array(
  1700. 'new',
  1701. 'server-system-variables',
  1702. 'sysvar');
  1703. $variable_doc_links['ngram_token_size'] = array(
  1704. 'ngram_token_size',
  1705. 'server-system-variables',
  1706. 'sysvar');
  1707. $variable_doc_links['offline_mode'] = array(
  1708. 'offline_mode',
  1709. 'server-system-variables',
  1710. 'sysvar');
  1711. $variable_doc_links['old'] = array(
  1712. 'old',
  1713. 'server-system-variables',
  1714. 'sysvar');
  1715. $variable_doc_links['old_alter_table'] = array(
  1716. 'old-alter-table',
  1717. 'server-options',
  1718. 'option_mysqld');
  1719. $variable_doc_links['old_passwords'] = array(
  1720. 'old-passwords',
  1721. 'server-options',
  1722. 'option_mysqld');
  1723. $variable_doc_links['open_files_limit'] = array(
  1724. 'open-files-limit',
  1725. 'server-options',
  1726. 'option_mysqld');
  1727. $variable_doc_links['optimizer_prune_level'] = array(
  1728. 'optimizer_prune_level',
  1729. 'server-system-variables',
  1730. 'sysvar');
  1731. $variable_doc_links['optimizer_search_depth'] = array(
  1732. 'optimizer_search_depth',
  1733. 'server-system-variables',
  1734. 'sysvar');
  1735. $variable_doc_links['optimizer_switch'] = array(
  1736. 'optimizer_switch',
  1737. 'server-system-variables',
  1738. 'sysvar');
  1739. $variable_doc_links['optimizer_trace'] = array(
  1740. 'optimizer_trace',
  1741. 'server-system-variables',
  1742. 'sysvar');
  1743. $variable_doc_links['optimizer_trace_features'] = array(
  1744. 'optimizer_trace_features',
  1745. 'server-system-variables',
  1746. 'sysvar');
  1747. $variable_doc_links['optimizer_trace_limit'] = array(
  1748. 'optimizer_trace_limit',
  1749. 'server-system-variables',
  1750. 'sysvar');
  1751. $variable_doc_links['optimizer_trace_max_mem_size'] = array(
  1752. 'optimizer_trace_max_mem_size',
  1753. 'server-system-variables',
  1754. 'sysvar');
  1755. $variable_doc_links['optimizer_trace_offset'] = array(
  1756. 'optimizer_trace_offset',
  1757. 'server-system-variables',
  1758. 'sysvar');
  1759. $variable_doc_links['partition'] = array(
  1760. 'partition',
  1761. 'server-options',
  1762. 'option_mysqld');
  1763. $variable_doc_links['performance_schema'] = array(
  1764. 'performance_schema',
  1765. 'performance-schema-system-variables',
  1766. 'sysvar');
  1767. $variable_doc_links['performance_schema_accounts_size'] = array(
  1768. 'performance_schema_accounts_size',
  1769. 'performance-schema-system-variables',
  1770. 'sysvar');
  1771. $variable_doc_links['performance_schema_digests_size'] = array(
  1772. 'performance_schema_digests_size',
  1773. 'performance-schema-system-variables',
  1774. 'sysvar');
  1775. $variable_doc_links['performance_schema_events_stages_history_long_size']
  1776. = array(
  1777. 'performance_schema_events_stages_history_long_size',
  1778. 'performance-schema-system-variables',
  1779. 'sysvar',
  1780. );
  1781. $variable_doc_links['performance_schema_events_stages_history_size'] = array(
  1782. 'performance_schema_events_stages_history_size',
  1783. 'performance-schema-system-variables',
  1784. 'sysvar');
  1785. $variable_doc_links['performance_schema_events_statements_history_long_size']
  1786. = array(
  1787. 'performance_schema_events_statements_history_long_size',
  1788. 'performance-schema-system-variables',
  1789. 'sysvar',
  1790. );
  1791. $variable_doc_links['performance_schema_events_statements_history_size']
  1792. = array(
  1793. 'performance_schema_events_statements_history_size',
  1794. 'performance-schema-system-variables',
  1795. 'sysvar',
  1796. );
  1797. $variable_doc_links['performance_schema_events_transactions_history_long_size']
  1798. = array(
  1799. 'performance_schema_events_transactions_history_long_size',
  1800. 'performance-schema-system-variables',
  1801. 'sysvar',
  1802. );
  1803. $variable_doc_links['performance_schema_events_transactions_history_size']
  1804. = array(
  1805. 'performance_schema_events_transactions_history_size',
  1806. 'performance-schema-system-variables',
  1807. 'sysvar',
  1808. );
  1809. $variable_doc_links['performance_schema_events_waits_history_long_size']
  1810. = array(
  1811. 'performance_schema_events_waits_history_long_size',
  1812. 'performance-schema-system-variables',
  1813. 'sysvar',
  1814. );
  1815. $variable_doc_links['performance_schema_events_waits_history_size'] = array(
  1816. 'performance_schema_events_waits_history_size',
  1817. 'performance-schema-system-variables',
  1818. 'sysvar');
  1819. $variable_doc_links['performance_schema_hosts_size'] = array(
  1820. 'performance_schema_hosts_size',
  1821. 'performance-schema-system-variables',
  1822. 'sysvar');
  1823. $variable_doc_links['performance_schema_max_cond_classes'] = array(
  1824. 'performance_schema_max_cond_classes',
  1825. 'performance-schema-system-variables',
  1826. 'sysvar');
  1827. $variable_doc_links['performance_schema_max_cond_instances'] = array(
  1828. 'performance_schema_max_cond_instances',
  1829. 'performance-schema-system-variables',
  1830. 'sysvar');
  1831. $variable_doc_links['performance_schema_max_digest_length'] = array(
  1832. 'performance_schema_max_digest_length',
  1833. 'performance-schema-system-variables',
  1834. 'sysvar');
  1835. $variable_doc_links['performance_schema_max_file_classes'] = array(
  1836. 'performance_schema_max_file_classes',
  1837. 'performance-schema-system-variables',
  1838. 'sysvar');
  1839. $variable_doc_links['performance_schema_max_file_handles'] = array(
  1840. 'performance_schema_max_file_handles',
  1841. 'performance-schema-system-variables',
  1842. 'sysvar');
  1843. $variable_doc_links['performance_schema_max_file_instances'] = array(
  1844. 'performance_schema_max_file_instances',
  1845. 'performance-schema-system-variables',
  1846. 'sysvar');
  1847. $variable_doc_links['performance_schema_max_index_stat'] = array(
  1848. 'performance_schema_max_index_stat',
  1849. 'performance-schema-system-variables',
  1850. 'sysvar');
  1851. $variable_doc_links['performance_schema_max_memory_classes'] = array(
  1852. 'performance_schema_max_memory_classes',
  1853. 'performance-schema-system-variables',
  1854. 'sysvar');
  1855. $variable_doc_links['performance_schema_max_metadata_locks'] = array(
  1856. 'performance_schema_max_metadata_locks',
  1857. 'performance-schema-system-variables',
  1858. 'sysvar');
  1859. $variable_doc_links['performance_schema_max_mutex_classes'] = array(
  1860. 'performance_schema_max_mutex_classes',
  1861. 'performance-schema-system-variables',
  1862. 'sysvar');
  1863. $variable_doc_links['performance_schema_max_mutex_instances'] = array(
  1864. 'performance_schema_max_mutex_instances',
  1865. 'performance-schema-system-variables',
  1866. 'sysvar');
  1867. $variable_doc_links['performance_schema_max_prepared_statements_instances'] = array(
  1868. 'performance_schema_max_prepared_statements_instances',
  1869. 'performance-schema-system-variables',
  1870. 'sysvar');
  1871. $variable_doc_links['performance_schema_max_program_instances'] = array(
  1872. 'performance_schema_max_program_instances',
  1873. 'performance-schema-system-variables',
  1874. 'sysvar');
  1875. $variable_doc_links['performance_schema_max_rwlock_classes'] = array(
  1876. 'performance_schema_max_rwlock_classes',
  1877. 'performance-schema-system-variables',
  1878. 'sysvar');
  1879. $variable_doc_links['performance_schema_max_rwlock_instances'] = array(
  1880. 'performance_schema_max_rwlock_instances',
  1881. 'performance-schema-system-variables',
  1882. 'sysvar');
  1883. $variable_doc_links['performance_schema_max_socket_classes'] = array(
  1884. 'performance_schema_max_socket_classes',
  1885. 'performance-schema-system-variables',
  1886. 'sysvar');
  1887. $variable_doc_links['performance_schema_max_socket_instances'] = array(
  1888. 'performance_schema_max_socket_instances',
  1889. 'performance-schema-system-variables',
  1890. 'sysvar');
  1891. $variable_doc_links['performance_schema_max_sql_text_length'] = array(
  1892. 'performance_schema_max_sql_text_length',
  1893. 'performance-schema-system-variables',
  1894. 'sysvar');
  1895. $variable_doc_links['performance_schema_max_stage_classes'] = array(
  1896. 'performance_schema_max_stage_classes',
  1897. 'performance-schema-system-variables',
  1898. 'sysvar');
  1899. $variable_doc_links['performance_schema_max_statement_classes'] = array(
  1900. 'performance_schema_max_statement_classes',
  1901. 'performance-schema-system-variables',
  1902. 'sysvar');
  1903. $variable_doc_links['performance_schema_max_statement_stack'] = array(
  1904. 'performance_schema_max_statement_stack',
  1905. 'performance-schema-system-variables',
  1906. 'sysvar');
  1907. $variable_doc_links['performance_schema_max_table_handles'] = array(
  1908. 'performance_schema_max_table_handles',
  1909. 'performance-schema-system-variables',
  1910. 'sysvar');
  1911. $variable_doc_links['performance_schema_max_table_instances'] = array(
  1912. 'performance_schema_max_table_instances',
  1913. 'performance-schema-system-variables',
  1914. 'sysvar');
  1915. $variable_doc_links['performance_schema_max_table_lock_stat'] = array(
  1916. 'performance_schema_max_table_lock_stat',
  1917. 'performance-schema-system-variables',
  1918. 'sysvar');
  1919. $variable_doc_links['performance_schema_max_thread_classes'] = array(
  1920. 'performance_schema_max_thread_classes',
  1921. 'performance-schema-system-variables',
  1922. 'sysvar');
  1923. $variable_doc_links['performance_schema_max_thread_instances'] = array(
  1924. 'performance_schema_max_thread_instances',
  1925. 'performance-schema-system-variables',
  1926. 'sysvar');
  1927. $variable_doc_links['performance_schema_session_connect_attrs_size'] = array(
  1928. 'performance_schema_session_connect_attrs_size',
  1929. 'performance-schema-system-variables',
  1930. 'sysvar');
  1931. $variable_doc_links['performance_schema_setup_actors_size'] = array(
  1932. 'performance_schema_setup_actors_size',
  1933. 'performance-schema-system-variables',
  1934. 'sysvar');
  1935. $variable_doc_links['performance_schema_setup_objects_size'] = array(
  1936. 'performance_schema_setup_objects_size',
  1937. 'performance-schema-system-variables',
  1938. 'sysvar');
  1939. $variable_doc_links['performance_schema_users_size'] = array(
  1940. 'performance_schema_users_size',
  1941. 'performance-schema-system-variables',
  1942. 'sysvar');
  1943. $variable_doc_links['pid_file'] = array(
  1944. 'pid-file',
  1945. 'server-options',
  1946. 'option_mysqld');
  1947. $variable_doc_links['plugin_dir'] = array(
  1948. 'plugin_dir',
  1949. 'server-system-variables',
  1950. 'sysvar');
  1951. $variable_doc_links['port'] = array(
  1952. 'port',
  1953. 'server-options',
  1954. 'option_mysqld');
  1955. $variable_doc_links['preload_buffer_size'] = array(
  1956. 'preload_buffer_size',
  1957. 'server-system-variables',
  1958. 'sysvar',
  1959. 'byte');
  1960. $variable_doc_links['profiling'] = array(
  1961. 'profiling',
  1962. 'server-system-variables',
  1963. 'sysvar');
  1964. $variable_doc_links['profiling_history_size'] = array(
  1965. 'profiling_history_size',
  1966. 'server-system-variables',
  1967. 'sysvar');
  1968. $variable_doc_links['protocol_version'] = array(
  1969. 'protocol_version',
  1970. 'server-system-variables',
  1971. 'sysvar');
  1972. $variable_doc_links['proxy_user'] = array(
  1973. 'proxy_user',
  1974. 'server-system-variables',
  1975. 'sysvar');
  1976. $variable_doc_links['pseudo_thread_id'] = array(
  1977. 'pseudo_thread_id',
  1978. 'server-system-variables',
  1979. 'sysvar');
  1980. $variable_doc_links['query_alloc_block_size'] = array(
  1981. 'query_alloc_block_size',
  1982. 'server-system-variables',
  1983. 'sysvar',
  1984. 'byte');
  1985. $variable_doc_links['query_cache_limit'] = array(
  1986. 'query_cache_limit',
  1987. 'server-system-variables',
  1988. 'sysvar',
  1989. 'byte');
  1990. $variable_doc_links['query_cache_min_res_unit'] = array(
  1991. 'query_cache_min_res_unit',
  1992. 'server-system-variables',
  1993. 'sysvar');
  1994. $variable_doc_links['query_cache_size'] = array(
  1995. 'query_cache_size',
  1996. 'server-system-variables',
  1997. 'sysvar',
  1998. 'byte');
  1999. $variable_doc_links['query_cache_type'] = array(
  2000. 'query_cache_type',
  2001. 'server-system-variables',
  2002. 'sysvar');
  2003. $variable_doc_links['query_cache_wlock_invalidate'] = array(
  2004. 'query_cache_wlock_invalidate',
  2005. 'server-system-variables',
  2006. 'sysvar');
  2007. $variable_doc_links['query_prealloc_size'] = array(
  2008. 'query_prealloc_size',
  2009. 'server-system-variables',
  2010. 'sysvar',
  2011. 'byte');
  2012. $variable_doc_links['rand_seed1'] = array(
  2013. 'rand_seed1',
  2014. 'server-system-variables',
  2015. 'sysvar');
  2016. $variable_doc_links['rand_seed2'] = array(
  2017. 'rand_seed2',
  2018. 'server-system-variables',
  2019. 'sysvar');
  2020. $variable_doc_links['range_alloc_block_size'] = array(
  2021. 'range_alloc_block_size',
  2022. 'server-system-variables',
  2023. 'sysvar',
  2024. 'byte');
  2025. $variable_doc_links['rbr_exec_mode'] = array(
  2026. 'rbr_exec_mode',
  2027. 'server-system-variables',
  2028. 'sysvar');
  2029. $variable_doc_links['read_buffer_size'] = array(
  2030. 'read_buffer_size',
  2031. 'server-system-variables',
  2032. 'sysvar',
  2033. 'byte');
  2034. $variable_doc_links['read_only'] = array(
  2035. 'read_only',
  2036. 'server-system-variables',
  2037. 'sysvar');
  2038. $variable_doc_links['read_rnd_buffer_size'] = array(
  2039. 'read_rnd_buffer_size',
  2040. 'server-system-variables',
  2041. 'sysvar',
  2042. 'byte');
  2043. $variable_doc_links['relay_log'] = array(
  2044. 'relay_log',
  2045. 'replication-options-slave',
  2046. 'sysvar');
  2047. $variable_doc_links['relay_log_basename'] = array(
  2048. 'relay_log_basename',
  2049. 'replication-options-slave',
  2050. 'sysvar');
  2051. $variable_doc_links['relay-log-index'] = array(
  2052. 'relay-log-index',
  2053. 'replication-options-slave',
  2054. 'option_mysqld');
  2055. $variable_doc_links['relay_log_index'] = array(
  2056. 'relay_log_index',
  2057. 'replication-options-slave',
  2058. 'sysvar');
  2059. $variable_doc_links['relay_log_info_file'] = array(
  2060. 'relay_log_info_file',
  2061. 'replication-options-slave',
  2062. 'sysvar');
  2063. $variable_doc_links['relay_log_info_repository'] = array(
  2064. 'relay_log_info_repository',
  2065. 'replication-options-slave',
  2066. 'sysvar');
  2067. $variable_doc_links['relay_log_purge'] = array(
  2068. 'relay_log_purge',
  2069. 'server-system-variables',
  2070. 'sysvar');
  2071. $variable_doc_links['relay_log_recovery'] = array(
  2072. 'relay_log_recovery',
  2073. 'replication-options-slave',
  2074. 'sysvar');
  2075. $variable_doc_links['relay_log_space_limit'] = array(
  2076. 'relay_log_space_limit',
  2077. 'server-system-variables',
  2078. 'sysvar');
  2079. $variable_doc_links['report_host'] = array(
  2080. 'report-host',
  2081. 'replication-options-slave',
  2082. 'option_mysqld');
  2083. $variable_doc_links['report_password'] = array(
  2084. 'report-password',
  2085. 'replication-options-slave',
  2086. 'option_mysqld');
  2087. $variable_doc_links['report_port'] = array(
  2088. 'report-port',
  2089. 'replication-options-slave',
  2090. 'option_mysqld');
  2091. $variable_doc_links['report_user'] = array(
  2092. 'report-user',
  2093. 'replication-options-slave',
  2094. 'option_mysqld');
  2095. $variable_doc_links['require_secure_transport'] = array(
  2096. 'require_secure_transport',
  2097. 'server-system-variables',
  2098. 'sysvar');
  2099. $variable_doc_links['rpl_stop_slave_timeout'] = array(
  2100. 'rpl_stop_slave_timeout',
  2101. 'replication-options-slave',
  2102. 'sysvar');
  2103. $variable_doc_links['rpl_recovery_rank'] = array(
  2104. 'rpl_recovery_rank',
  2105. 'replication-options-slave',
  2106. 'option_mysqld');
  2107. $variable_doc_links['rpl_semi_sync_master_enabled'] = array(
  2108. 'rpl_semi_sync_master_enabled',
  2109. 'server-system-variables',
  2110. 'sysvar');
  2111. $variable_doc_links['rpl_semi_sync_master_timeout'] = array(
  2112. 'rpl_semi_sync_master_timeout',
  2113. 'server-system-variables',
  2114. 'sysvar');
  2115. $variable_doc_links['rpl_semi_sync_master_trace_level'] = array(
  2116. 'rpl_semi_sync_master_trace_level',
  2117. 'server-system-variables',
  2118. 'sysvar');
  2119. $variable_doc_links['rpl_semi_sync_master_wait_no_slave'] = array(
  2120. 'rpl_semi_sync_master_wait_no_slave',
  2121. 'server-system-variables',
  2122. 'sysvar');
  2123. $variable_doc_links['rpl_semi_sync_slave_enabled'] = array(
  2124. 'rpl_semi_sync_slave_enabled',
  2125. 'server-system-variables',
  2126. 'sysvar');
  2127. $variable_doc_links['rpl_semi_sync_slave_trace_level'] = array(
  2128. 'rpl_semi_sync_slave_trace_level',
  2129. 'server-system-variables',
  2130. 'sysvar');
  2131. $variable_doc_links['safe_show_database'] = array(
  2132. 'safe-show-database',
  2133. 'server-options',
  2134. 'option_mysqld');
  2135. $variable_doc_links['secure_auth'] = array(
  2136. 'secure-auth',
  2137. 'server-options',
  2138. 'option_mysqld');
  2139. $variable_doc_links['secure_file_priv'] = array(
  2140. 'secure-file-priv',
  2141. 'server-options',
  2142. 'option_mysqld');
  2143. $variable_doc_links['server_id'] = array(
  2144. 'server-id',
  2145. 'replication-options',
  2146. 'option_mysqld');
  2147. $variable_doc_links['server_id_bits'] = array(
  2148. 'server_id_bits',
  2149. 'mysql-cluster-system-variables',
  2150. 'sysvar');
  2151. $variable_doc_links['server_uuid'] = array(
  2152. 'server_uuid',
  2153. 'replication-options',
  2154. 'sysvar');
  2155. $variable_doc_links['session_track_gtids'] = array(
  2156. 'session_track_gtids',
  2157. 'server_system_variables',
  2158. 'sysvar');
  2159. $variable_doc_links['session_track_schema'] = array(
  2160. 'session_track_schema',
  2161. 'server_system_variables',
  2162. 'sysvar');
  2163. $variable_doc_links['session_track_state_change'] = array(
  2164. 'session_track_state_change',
  2165. 'server_system_variables',
  2166. 'sysvar');
  2167. $variable_doc_links['session_track_system_variables'] = array(
  2168. 'session_track_system_variables',
  2169. 'session_system_variables',
  2170. 'sysvar');
  2171. $variable_doc_links['session_track_transaction_info'] = array(
  2172. 'session_track_transaction_info',
  2173. 'session_system_variables',
  2174. 'sysvar');
  2175. $variable_doc_links['sha256_password_proxy_users'] = array(
  2176. 'sha256_password_proxy_users',
  2177. 'session_system_variables',
  2178. 'sysvar');
  2179. $variable_doc_links['show_compatibility_56'] = array(
  2180. 'show_compatibility_56',
  2181. 'session_system_variables',
  2182. 'sysvar');
  2183. $variable_doc_links['show_old_temporals'] = array(
  2184. 'show_old_temporals',
  2185. 'session_system_variables',
  2186. 'sysvar');
  2187. $variable_doc_links['shared_memory'] = array(
  2188. 'shared_memory',
  2189. 'server-system-variables',
  2190. 'sysvar');
  2191. $variable_doc_links['shared_memory_base_name'] = array(
  2192. 'shared_memory_base_name',
  2193. 'server-system-variables',
  2194. 'sysvar');
  2195. $variable_doc_links['skip_external_locking'] = array(
  2196. 'skip-external-locking',
  2197. 'server-options',
  2198. 'option_mysqld');
  2199. $variable_doc_links['skip_name_resolve'] = array(
  2200. 'skip-name-resolve',
  2201. 'server-options',
  2202. 'option_mysqld');
  2203. $variable_doc_links['skip_networking'] = array(
  2204. 'skip-networking',
  2205. 'server-options',
  2206. 'option_mysqld');
  2207. $variable_doc_links['skip_show_database'] = array(
  2208. 'skip-show-database',
  2209. 'server-options',
  2210. 'option_mysqld');
  2211. $variable_doc_links['slave_allow_batching'] = array(
  2212. 'slave_allow_batching',
  2213. 'mysql-cluster-system-variables',
  2214. 'sysvar');
  2215. $variable_doc_links['slave_checkpoint_group'] = array(
  2216. 'slave_checkpoint_group',
  2217. 'replication-options-slave',
  2218. 'sysvar');
  2219. $variable_doc_links['slave_checkpoint_period'] = array(
  2220. 'slave_checkpoint_period',
  2221. 'replication-options-slave',
  2222. 'sysvar');
  2223. $variable_doc_links['slave_compressed_protocol'] = array(
  2224. 'slave_compressed_protocol',
  2225. 'replication-options-slave',
  2226. 'sysvar');
  2227. $variable_doc_links['slave_exec_mode'] = array(
  2228. 'slave_exec_mode',
  2229. 'replication-options-slave',
  2230. 'sysvar');
  2231. $variable_doc_links['slave_load_tmpdir'] = array(
  2232. 'slave-load-tmpdir',
  2233. 'replication-options-slave',
  2234. 'option_mysqld');
  2235. $variable_doc_links['slave_max_allowed_packet'] = array(
  2236. 'slave_max_allowed_packet',
  2237. 'replication-options-slave',
  2238. 'sysvar');
  2239. $variable_doc_links['slave_net_timeout'] = array(
  2240. 'slave-net-timeout',
  2241. 'replication-options-slave',
  2242. 'option_mysqld');
  2243. $variable_doc_links['slave_parallel_type'] = array(
  2244. 'slave_parallel_type',
  2245. 'replication-options-slave',
  2246. 'sysvar');
  2247. $variable_doc_links['slave_parallel_workers'] = array(
  2248. 'slave_parallel_workers',
  2249. 'replication-options-slave',
  2250. 'sysvar');
  2251. $variable_doc_links['slave_pending_jobs_size_max'] = array(
  2252. 'slave_pending_jobs_size_max',
  2253. 'replication-options-slave',
  2254. 'sysvar',
  2255. 'byte');
  2256. $variable_doc_links['slave_preserve_commit_order'] = array(
  2257. 'slave_preserve_commit_order',
  2258. 'replication-options-slave',
  2259. 'sysvar');
  2260. $variable_doc_links['slave_rows_search_algorithms'] = array(
  2261. 'slave_rows_search_algorithms',
  2262. 'replication-options-slave',
  2263. 'sysvar');
  2264. $variable_doc_links['slave_skip_errors'] = array(
  2265. 'slave-skip-errors',
  2266. 'replication-options-slave',
  2267. 'option_mysqld');
  2268. $variable_doc_links['slave_sql_verify_checksum'] = array(
  2269. 'slave_sql_verify_checksum',
  2270. 'replication-options-slave',
  2271. 'sysvar');
  2272. $variable_doc_links['slave_transaction_retries'] = array(
  2273. 'slave_transaction_retries',
  2274. 'replication-options-slave',
  2275. 'sysvar');
  2276. $variable_doc_links['slave_type_conversions'] = array(
  2277. 'slave_type_conversions',
  2278. 'replication-options-slave',
  2279. 'sysvar');
  2280. $variable_doc_links['slow_launch_time'] = array(
  2281. 'slow_launch_time',
  2282. 'server-system-variables',
  2283. 'sysvar');
  2284. $variable_doc_links['slow_query_log'] = array(
  2285. 'slow-query-log',
  2286. 'server-options',
  2287. 'server-system-variables');
  2288. $variable_doc_links['slow_query_log_file'] = array(
  2289. 'slow_query_log_file',
  2290. 'server-system-variables',
  2291. 'sysvar');
  2292. $variable_doc_links['socket'] = array(
  2293. 'socket',
  2294. 'server-options',
  2295. 'option_mysqld');
  2296. $variable_doc_links['sort_buffer_size'] = array(
  2297. 'sort_buffer_size',
  2298. 'server-system-variables',
  2299. 'sysvar',
  2300. 'byte');
  2301. $variable_doc_links['sql_auto_is_null'] = array(
  2302. 'sql_auto_is_null',
  2303. 'server-system-variables',
  2304. 'sysvar');
  2305. $variable_doc_links['sql_big_selects'] = array(
  2306. 'sql_big_selects',
  2307. 'server-system-variables',
  2308. 'sysvar');
  2309. $variable_doc_links['sql_big_tables'] = array(
  2310. 'big-tables',
  2311. 'server-options',
  2312. 'server-system-variables');
  2313. $variable_doc_links['sql_buffer_result'] = array(
  2314. 'sql_buffer_result',
  2315. 'server-system-variables',
  2316. 'sysvar');
  2317. $variable_doc_links['sql_log_bin'] = array(
  2318. 'sql_log_bin',
  2319. 'server-system-variables',
  2320. 'sysvar');
  2321. $variable_doc_links['sql_log_off'] = array(
  2322. 'sql_log_off',
  2323. 'server-system-variables',
  2324. 'sysvar');
  2325. $variable_doc_links['sql_log_update'] = array(
  2326. 'sql_log_update',
  2327. 'server-system-variables',
  2328. 'sysvar');
  2329. $variable_doc_links['sql_low_priority_updates'] = array(
  2330. 'sql_low_priority_updates',
  2331. 'server-system-variables',
  2332. 'sysvar');
  2333. $variable_doc_links['sql_max_join_size'] = array(
  2334. 'sql_max_join_size',
  2335. 'server-system-variables',
  2336. 'sysvar');
  2337. $variable_doc_links['sql_mode'] = array(
  2338. 'sql-mode',
  2339. 'server-options',
  2340. 'option_mysqld');
  2341. $variable_doc_links['sql_notes'] = array(
  2342. 'sql_notes',
  2343. 'server-system-variables',
  2344. 'sysvar');
  2345. $variable_doc_links['sql_quote_show_create'] = array(
  2346. 'sql_quote_show_create',
  2347. 'server-system-variables',
  2348. 'sysvar');
  2349. $variable_doc_links['sql_safe_updates'] = array(
  2350. 'sql_safe_updates',
  2351. 'server-system-variables',
  2352. 'sysvar');
  2353. $variable_doc_links['sql_select_limit'] = array(
  2354. 'sql_select_limit',
  2355. 'server-system-variables',
  2356. 'sysvar');
  2357. $variable_doc_links['sql_slave_skip_counter'] = array(
  2358. 'sql_slave_skip_counter',
  2359. 'replication-options-slave',
  2360. 'sysvar');
  2361. $variable_doc_links['sql_warnings'] = array(
  2362. 'sql_warnings',
  2363. 'server-system-variables',
  2364. 'sysvar');
  2365. $variable_doc_links['ssl_ca'] = array(
  2366. 'ssl-ca',
  2367. 'ssl-options',
  2368. 'option_general');
  2369. $variable_doc_links['ssl_capath'] = array(
  2370. 'ssl-capath',
  2371. 'ssl-options',
  2372. 'option_general');
  2373. $variable_doc_links['ssl_cert'] = array(
  2374. 'ssl-cert',
  2375. 'ssl-options',
  2376. 'option_general');
  2377. $variable_doc_links['ssl_cipher'] = array(
  2378. 'ssl-cipher',
  2379. 'ssl-options',
  2380. 'option_general');
  2381. $variable_doc_links['ssl_crl'] = array(
  2382. 'ssl_crl',
  2383. 'server-system-variables',
  2384. 'sysvar');
  2385. $variable_doc_links['ssl_crlpath'] = array(
  2386. 'ssl_crlpath',
  2387. 'server-system-variables',
  2388. 'sysvar');
  2389. $variable_doc_links['ssl_key'] = array(
  2390. 'ssl-key',
  2391. 'ssl-options',
  2392. 'option_general');
  2393. $variable_doc_links['storage_engine'] = array(
  2394. 'storage_engine',
  2395. 'server-system-variables',
  2396. 'sysvar');
  2397. $variable_doc_links['stored_program_cache'] = array(
  2398. 'stored_program_cache',
  2399. 'server-system-variables',
  2400. 'sysvar');
  2401. $variable_doc_links['super_read_only'] = array(
  2402. 'super_read_only',
  2403. 'server-system-variables',
  2404. 'sysvar');
  2405. $variable_doc_links['sync_binlog'] = array(
  2406. 'sync_binlog',
  2407. 'replication-options-binary-log',
  2408. 'sysvar');
  2409. $variable_doc_links['sync_frm'] = array(
  2410. 'sync_frm',
  2411. 'server-system-variables',
  2412. 'sysvar');
  2413. $variable_doc_links['sync_master_info'] = array(
  2414. 'sync_master_info',
  2415. 'replication-options-slave',
  2416. 'sysvar');
  2417. $variable_doc_links['sync_relay_log'] = array(
  2418. 'sync_relay_log',
  2419. 'replication-options-slave',
  2420. 'sysvar');
  2421. $variable_doc_links['sync_relay_log_info'] = array(
  2422. 'sync_relay_log_info',
  2423. 'replication-options-slave',
  2424. 'sysvar');
  2425. $variable_doc_links['system_time_zone'] = array(
  2426. 'system_time_zone',
  2427. 'server-system-variables',
  2428. 'sysvar');
  2429. $variable_doc_links['table_definition_cache'] = array(
  2430. 'table_definition_cache',
  2431. 'server-system-variables',
  2432. 'sysvar');
  2433. $variable_doc_links['table_lock_wait_timeout'] = array(
  2434. 'table_lock_wait_timeout',
  2435. 'server-system-variables',
  2436. 'sysvar');
  2437. $variable_doc_links['table_open_cache'] = array(
  2438. 'table_open_cache',
  2439. 'server-system-variables',
  2440. 'sysvar');
  2441. $variable_doc_links['table_open_cache_instances'] = array(
  2442. 'table_open_cache_instances',
  2443. 'server-system-variables',
  2444. 'sysvar');
  2445. $variable_doc_links['table_type'] = array(
  2446. 'table_type',
  2447. 'server-system-variables',
  2448. 'sysvar');
  2449. $variable_doc_links['thread_cache_size'] = array(
  2450. 'thread_cache_size',
  2451. 'server-system-variables',
  2452. 'sysvar');
  2453. $variable_doc_links['thread_concurrency'] = array(
  2454. 'thread_concurrency',
  2455. 'server-system-variables',
  2456. 'sysvar');
  2457. $variable_doc_links['thread_handling'] = array(
  2458. 'thread_handling',
  2459. 'server-system-variables',
  2460. 'sysvar');
  2461. $variable_doc_links['thread_stack'] = array(
  2462. 'thread_stack',
  2463. 'server-system-variables',
  2464. 'sysvar');
  2465. $variable_doc_links['time_format'] = array(
  2466. 'time_format',
  2467. 'server-system-variables',
  2468. 'sysvar');
  2469. $variable_doc_links['time_zone'] = array(
  2470. 'time_zone',
  2471. 'server-system-variables',
  2472. 'sysvar');
  2473. $variable_doc_links['timed_mutexes'] = array(
  2474. 'timed_mutexes',
  2475. 'server-system-variables',
  2476. 'sysvar');
  2477. $variable_doc_links['timestamp'] = array(
  2478. 'timestamp',
  2479. 'server-system-variables',
  2480. 'sysvar');
  2481. $variable_doc_links['tmp_table_size'] = array(
  2482. 'tmp_table_size',
  2483. 'server-system-variables',
  2484. 'sysvar',
  2485. 'byte');
  2486. $variable_doc_links['tmpdir'] = array(
  2487. 'tmpdir',
  2488. 'server-options',
  2489. 'option_mysqld');
  2490. $variable_doc_links['transaction_alloc_block_size'] = array(
  2491. 'transaction_alloc_block_size',
  2492. 'server-system-variables',
  2493. 'sysvar',
  2494. 'byte');
  2495. $variable_doc_links['transaction_prealloc_size'] = array(
  2496. 'transaction_prealloc_size',
  2497. 'server-system-variables',
  2498. 'sysvar',
  2499. 'byte');
  2500. $variable_doc_links['transaction_write_set_extraction'] = array(
  2501. 'transaction_write_set_extraction',
  2502. 'server-system-variables',
  2503. 'sysvar');
  2504. $variable_doc_links['tx_isolation'] = array(
  2505. 'tx_isolation',
  2506. 'server-system-variables',
  2507. 'sysvar');
  2508. $variable_doc_links['tx_read_only'] = array(
  2509. 'tx_read_only',
  2510. 'server-system-variables',
  2511. 'sysvar');
  2512. $variable_doc_links['unique_checks'] = array(
  2513. 'unique_checks',
  2514. 'server-system-variables',
  2515. 'sysvar');
  2516. $variable_doc_links['updatable_views_with_limit'] = array(
  2517. 'updatable_views_with_limit',
  2518. 'server-system-variables',
  2519. 'sysvar');
  2520. $variable_doc_links['version'] = array(
  2521. 'version',
  2522. 'server-system-variables',
  2523. 'sysvar');
  2524. $variable_doc_links['version_comment'] = array(
  2525. 'version_comment',
  2526. 'server-system-variables',
  2527. 'sysvar');
  2528. $variable_doc_links['version_compile_machine'] = array(
  2529. 'version_compile_machine',
  2530. 'server-system-variables',
  2531. 'sysvar');
  2532. $variable_doc_links['version_compile_os'] = array(
  2533. 'version_compile_os',
  2534. 'server-system-variables',
  2535. 'sysvar');
  2536. $variable_doc_links['wait_timeout'] = array(
  2537. 'wait_timeout',
  2538. 'server-system-variables',
  2539. 'sysvar');
  2540. $variable_doc_links['warning_count'] = array(
  2541. 'warning_count',
  2542. 'server-system-variables',
  2543. 'sysvar');
  2544. return $variable_doc_links;
  2545. }
  2546. /**
  2547. * Returns array of static(i.e. non-editable/ read-only) global system variables
  2548. *
  2549. * See https://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html
  2550. *
  2551. * @return array
  2552. */
  2553. private function _getStaticSystemVariables()
  2554. {
  2555. $static_variables = array(
  2556. 'audit_log_buffer_size',
  2557. 'audit_log_current_session',
  2558. 'audit_log_file',
  2559. 'audit_log_format',
  2560. 'audit_log_policy',
  2561. 'audit_log_strategy',
  2562. 'auto_generate_certs',
  2563. 'back_log',
  2564. 'basedir',
  2565. 'bind_address',
  2566. 'binlog_gtid_simple_recovery',
  2567. 'character_set_system',
  2568. 'character_sets_dir',
  2569. 'core_file',
  2570. 'daemon_memcached_enable_binlog',
  2571. 'daemon_memcached_engine_lib_name',
  2572. 'daemon_memcached_engine_lib_path',
  2573. 'daemon_memcached_option',
  2574. 'daemon_memcached_r_batch_size',
  2575. 'daemon_memcached_w_batch_size',
  2576. 'datadir',
  2577. 'date_format',
  2578. 'datetime_format',
  2579. 'default_authentication_plugin',
  2580. 'disabled_storage_engines',
  2581. 'explicit_defaults_for_timestamp',
  2582. 'ft_max_word_len',
  2583. 'ft_min_word_len',
  2584. 'ft_query_expansion_limit',
  2585. 'ft_stopword_file',
  2586. 'gtid_owned',
  2587. 'have_compress',
  2588. 'have_crypt',
  2589. 'have_dynamic_loading',
  2590. 'have_geometry',
  2591. 'have_openssl',
  2592. 'have_profiling',
  2593. 'have_query_cache',
  2594. 'have_rtree_keys',
  2595. 'have_ssl',
  2596. 'have_statement_timeout',
  2597. 'have_symlink',
  2598. 'hostname',
  2599. 'ignore_builtin_innodb',
  2600. 'ignore_db_dirs',
  2601. 'init_file',
  2602. 'innodb_adaptive_hash_index_parts',
  2603. 'innodb_additional_mem_pool_size',
  2604. 'innodb_api_disable_rowlock',
  2605. 'innodb_api_enable_binlog',
  2606. 'innodb_api_enable_mdl',
  2607. 'innodb_autoinc_lock_mode',
  2608. 'innodb_buffer_pool_chunk_size',
  2609. 'innodb_buffer_pool_instances',
  2610. 'innodb_buffer_pool_load_at_startup',
  2611. 'innodb_checksums',
  2612. 'innodb_data_file_path',
  2613. 'innodb_data_home_dir',
  2614. 'innodb_doublewrite',
  2615. 'innodb_file_format_check',
  2616. 'innodb_flush_method',
  2617. 'innodb_force_load_corrupted',
  2618. 'innodb_force_recovery',
  2619. 'innodb_ft_cache_size',
  2620. 'innodb_ft_max_token_size',
  2621. 'innodb_ft_min_token_size',
  2622. 'innodb_ft_sort_pll_degree',
  2623. 'innodb_ft_total_cache_size',
  2624. 'innodb_locks_unsafe_for_binlog',
  2625. 'innodb_log_buffer_size',
  2626. 'innodb_log_file_size',
  2627. 'innodb_log_files_in_group',
  2628. 'innodb_log_group_home_dir',
  2629. 'innodb_numa_interleave',
  2630. 'innodb_open_files',
  2631. 'innodb_page_cleaners',
  2632. 'innodb_page_size',
  2633. 'innodb_purge_threads',
  2634. 'innodb_read_io_threads',
  2635. 'innodb_read_only',
  2636. 'innodb_rollback_on_timeout',
  2637. 'innodb_sort_buffer_size',
  2638. 'innodb_sync_array_size',
  2639. 'innodb_sync_debug',
  2640. 'innodb_temp_data_file_path',
  2641. 'innodb_undo_directory',
  2642. 'innodb_undo_tablespaces',
  2643. 'innodb_use_native_aio',
  2644. 'innodb_use_sys_malloc',
  2645. 'innodb_version',
  2646. 'innodb_write_io_threads',
  2647. 'language',
  2648. 'large_files_support',
  2649. 'large_page_size',
  2650. 'large_pages',
  2651. 'lc_messages_dir',
  2652. 'license',
  2653. 'locked_in_memory',
  2654. 'log-bin',
  2655. 'log_bin',
  2656. 'log_bin_basename',
  2657. 'log_bin_index',
  2658. 'log_bin_use_v1_row_events',
  2659. 'log_bin_use_v1_row_events',
  2660. 'log_error',
  2661. 'log_slave_updates',
  2662. 'log_slave_updates',
  2663. 'lower_case_file_system',
  2664. 'lower_case_table_names',
  2665. 'max_digest_length',
  2666. 'mecab_rc_file',
  2667. 'metadata_locks_cache_size',
  2668. 'metadata_locks_hash_instances',
  2669. 'myisam_mmap_size',
  2670. 'myisam_recover_options',
  2671. 'named_pipe',
  2672. 'ndb-batch-size',
  2673. 'ndb-cluster-connection-pool',
  2674. 'ndb-cluster-connection-pool-nodeids',
  2675. 'ndb_log_apply_status',
  2676. 'ndb_log_apply_status',
  2677. 'ndb_log_orig',
  2678. 'ndb_log_orig',
  2679. 'ndb_log_transaction_id',
  2680. 'ndb_log_transaction_id',
  2681. 'ndb_optimized_node_selection',
  2682. 'Ndb_slave_max_replicated_epoch',
  2683. 'ndb_use_copying_alter_table',
  2684. 'ndb_version',
  2685. 'ndb_version_string',
  2686. 'ndb-wait-connected',
  2687. 'ndb-wait-setup',
  2688. 'ndbinfo_database',
  2689. 'ndbinfo_version',
  2690. 'ngram_token_size',
  2691. 'old',
  2692. 'open_files_limit',
  2693. 'performance_schema',
  2694. 'performance_schema_accounts_size',
  2695. 'performance_schema_digests_size',
  2696. 'performance_schema_events_stages_history_long_size',
  2697. 'performance_schema_events_stages_history_size',
  2698. 'performance_schema_events_statements_history_long_size',
  2699. 'performance_schema_events_statements_history_size',
  2700. 'performance_schema_events_transactions_history_long_size',
  2701. 'performance_schema_events_transactions_history_size',
  2702. 'performance_schema_events_waits_history_long_size',
  2703. 'performance_schema_events_waits_history_size',
  2704. 'performance_schema_hosts_size',
  2705. 'performance_schema_max_cond_classes',
  2706. 'performance_schema_max_cond_instances',
  2707. 'performance_schema_max_digest_length',
  2708. 'performance_schema_max_file_classes',
  2709. 'performance_schema_max_file_handles',
  2710. 'performance_schema_max_file_instances',
  2711. 'performance_schema_max_index_stat',
  2712. 'performance_schema_max_memory_classes',
  2713. 'performance_schema_max_metadata_locks',
  2714. 'performance_schema_max_mutex_classes',
  2715. 'performance_schema_max_mutex_instances',
  2716. 'performance_schema_max_prepared_statements_instances',
  2717. 'performance_schema_max_program_instances',
  2718. 'performance_schema_max_rwlock_classes',
  2719. 'performance_schema_max_rwlock_instances',
  2720. 'performance_schema_max_socket_classes',
  2721. 'performance_schema_max_socket_instances',
  2722. 'performance_schema_max_sql_text_length',
  2723. 'performance_schema_max_stage_classes',
  2724. 'performance_schema_max_statement_classes',
  2725. 'performance_schema_max_statement_stack',
  2726. 'performance_schema_max_table_handles',
  2727. 'performance_schema_max_table_instances',
  2728. 'performance_schema_max_table_lock_stat',
  2729. 'performance_schema_max_thread_classes',
  2730. 'performance_schema_max_thread_instances',
  2731. 'performance_schema_session_connect_attrs_size',
  2732. 'performance_schema_setup_actors_size',
  2733. 'performance_schema_setup_objects_size',
  2734. 'performance_schema_users_size',
  2735. 'pid_file',
  2736. 'plugin_dir',
  2737. 'port',
  2738. 'protocol_version',
  2739. 'relay_log',
  2740. 'relay_log_basename',
  2741. 'relay_log_index',
  2742. 'relay_log_index',
  2743. 'relay_log_info_file',
  2744. 'relay_log_recovery',
  2745. 'relay_log_space_limit',
  2746. 'report_host',
  2747. 'eport_password',
  2748. 'report_port',
  2749. 'report_user',
  2750. 'secure_file_priv',
  2751. 'server_id_bits',
  2752. 'server_id_bits',
  2753. 'server_uuid',
  2754. 'sha256_password_auto_generate_rsa_keys',
  2755. 'sha256_password_private_key_path',
  2756. 'sha256_password_public_key_path',
  2757. 'shared_memory',
  2758. 'shared_memory_base_name',
  2759. 'simplified_binlog_gtid_recovery',
  2760. 'skip_external_locking',
  2761. 'skip_name_resolve',
  2762. 'skip_networking',
  2763. 'skip_show_database',
  2764. 'slave_load_tmpdir',
  2765. 'slave_skip_errors',
  2766. 'slave_type_conversions',
  2767. 'socket',
  2768. 'ssl_ca',
  2769. 'ssl_capath',
  2770. 'ssl_cert',
  2771. 'ssl_cipher',
  2772. 'ssl_crl',
  2773. 'ssl_crlpath',
  2774. 'ssl_key',
  2775. 'system_time_zone',
  2776. 'table_open_cache_instances',
  2777. 'thread_concurrency',
  2778. 'thread_handling',
  2779. 'thread_stack',
  2780. 'time_format',
  2781. 'tls_version',
  2782. 'tmpdir',
  2783. 'validate_user_plugins',
  2784. 'version',
  2785. 'version_comment',
  2786. 'version_compile_machine',
  2787. 'version_compile_os',
  2788. 'version_tokens_session_number'
  2789. );
  2790. return $static_variables;
  2791. }
  2792. }