config.html 255 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>Configuration &mdash; phpMyAdmin 4.2.7.1 documentation</title>
  7. <link rel="stylesheet" href="_static/default.css" type="text/css" />
  8. <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
  9. <script type="text/javascript">
  10. var DOCUMENTATION_OPTIONS = {
  11. URL_ROOT: '',
  12. VERSION: '4.2.7.1',
  13. COLLAPSE_INDEX: false,
  14. FILE_SUFFIX: '.html',
  15. HAS_SOURCE: true
  16. };
  17. </script>
  18. <script type="text/javascript" src="_static/jquery.js"></script>
  19. <script type="text/javascript" src="_static/underscore.js"></script>
  20. <script type="text/javascript" src="_static/doctools.js"></script>
  21. <link rel="copyright" title="Copyright" href="copyright.html" />
  22. <link rel="top" title="phpMyAdmin 4.2.7.1 documentation" href="index.html" />
  23. <link rel="next" title="User Guide" href="user.html" />
  24. <link rel="prev" title="Installation" href="setup.html" />
  25. </head>
  26. <body>
  27. <div class="related">
  28. <h3>Navigation</h3>
  29. <ul>
  30. <li class="right" style="margin-right: 10px">
  31. <a href="genindex.html" title="General Index"
  32. accesskey="I">index</a></li>
  33. <li class="right" >
  34. <a href="user.html" title="User Guide"
  35. accesskey="N">next</a> |</li>
  36. <li class="right" >
  37. <a href="setup.html" title="Installation"
  38. accesskey="P">previous</a> |</li>
  39. <li><a href="index.html">phpMyAdmin 4.2.7.1 documentation</a> &raquo;</li>
  40. </ul>
  41. </div>
  42. <div class="document">
  43. <div class="documentwrapper">
  44. <div class="bodywrapper">
  45. <div class="body">
  46. <div class="section" id="configuration">
  47. <span id="config"></span><span id="index-0"></span><h1>Configuration<a class="headerlink" href="#configuration" title="Permalink to this headline">¶</a></h1>
  48. <p>Almost all configurable data is placed in <tt class="file docutils literal"><span class="pre">config.inc.php</span></tt>. If this file
  49. does not exist, please refer to the <a class="reference internal" href="setup.html#setup"><em>Installation</em></a> section to create one. This
  50. file only needs to contain the parameters you want to change from their
  51. corresponding default value in <tt class="file docutils literal"><span class="pre">libraries/config.default.php</span></tt>.</p>
  52. <p>If a directive is missing from your file, you can just add another line with
  53. the file. This file is for over-writing the defaults; if you wish to use the
  54. default value there&#8217;s no need to add a line here.</p>
  55. <p>The parameters which relate to design (like colors) are placed in
  56. <tt class="file docutils literal"><span class="pre">themes/themename/layout.inc.php</span></tt>. You might also want to create
  57. <tt class="file docutils literal"><span class="pre">config.footer.inc.php</span></tt> and <tt class="file docutils literal"><span class="pre">config.header.inc.php</span></tt> files to add
  58. your site specific code to be included on start and end of each page.</p>
  59. <div class="admonition note">
  60. <p class="first admonition-title">Note</p>
  61. <p class="last">Some distributions (eg. Debian or Ubuntu) store <tt class="file docutils literal"><span class="pre">config.inc.php</span></tt> in
  62. <tt class="docutils literal"><span class="pre">/etc/phpmyadmin</span></tt> instead of within phpMyAdmin sources.</p>
  63. </div>
  64. <div class="admonition warning">
  65. <p class="first admonition-title">Warning</p>
  66. <p class="last"><a class="reference internal" href="glossary.html#term-mac"><em class="xref std std-term">Mac</em></a> users should note that if you are on a version before
  67. <a class="reference internal" href="glossary.html#term-mac-os-x"><em class="xref std std-term">Mac OS X</em></a>, PHP does not seem to
  68. like <a class="reference internal" href="glossary.html#term-mac"><em class="xref std std-term">Mac</em></a> end of lines character (<tt class="docutils literal"><span class="pre">\r</span></tt>). So
  69. ensure you choose the option that allows to use the *nix end of line
  70. character (<tt class="docutils literal"><span class="pre">\n</span></tt>) in your text editor before saving a script you have
  71. modified.</p>
  72. </div>
  73. <div class="section" id="basic-settings">
  74. <h2>Basic settings<a class="headerlink" href="#basic-settings" title="Permalink to this headline">¶</a></h2>
  75. <dl class="option">
  76. <dt id="cfg_PmaAbsoluteUri">
  77. <tt class="descname">$cfg['PmaAbsoluteUri']</tt><a class="headerlink" href="#cfg_PmaAbsoluteUri" title="Permalink to this definition">¶</a></dt>
  78. <dd><table class="docutils field-list" frame="void" rules="none">
  79. <col class="field-name" />
  80. <col class="field-body" />
  81. <tbody valign="top">
  82. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  83. </tr>
  84. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  85. </tr>
  86. </tbody>
  87. </table>
  88. <p>Sets here the complete <a class="reference internal" href="glossary.html#term-url"><em class="xref std std-term">URL</em></a> (with full path) to your phpMyAdmin
  89. installation&#8217;s directory. E.g.
  90. <tt class="docutils literal"><span class="pre">http://www.example.net/path_to_your_phpMyAdmin_directory/</span></tt>. Note also
  91. that the <a class="reference internal" href="glossary.html#term-url"><em class="xref std std-term">URL</em></a> on most of web servers are case–sensitive. Don’t
  92. forget the trailing slash at the end.</p>
  93. <p>Starting with version 2.3.0, it is advisable to try leaving this blank. In
  94. most cases phpMyAdmin automatically detects the proper setting. Users of
  95. port forwarding will need to set <span class="target" id="index-1"></span><a class="reference internal" href="#cfg_PmaAbsoluteUri"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['PmaAbsoluteUri']</span></tt></a>
  96. (<a class="reference external" href="https://sourceforge.net/p/phpmyadmin/support-requests/795/">more info</a>).</p>
  97. <p>A good test is to browse a table, edit a row and save it. There should be
  98. an error message if phpMyAdmin is having trouble auto–detecting the correct
  99. value. If you get an error that this must be set or if the autodetect code
  100. fails to detect your path, please post a bug report on our bug tracker so
  101. we can improve the code.</p>
  102. <div class="admonition-see-also admonition seealso">
  103. <p class="first admonition-title">See also</p>
  104. <p class="last"><a class="reference internal" href="faq.html#faq1-40"><em>1.40 When accessing phpMyAdmin via an Apache reverse proxy, cookie login does not work.</em></a></p>
  105. </div>
  106. </dd></dl>
  107. <dl class="option">
  108. <dt id="cfg_PmaNoRelation_DisableWarning">
  109. <tt class="descname">$cfg['PmaNoRelation_DisableWarning']</tt><a class="headerlink" href="#cfg_PmaNoRelation_DisableWarning" title="Permalink to this definition">¶</a></dt>
  110. <dd><table class="docutils field-list" frame="void" rules="none">
  111. <col class="field-name" />
  112. <col class="field-body" />
  113. <tbody valign="top">
  114. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  115. </tr>
  116. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  117. </tr>
  118. </tbody>
  119. </table>
  120. <p>Starting with version 2.3.0 phpMyAdmin offers a lot of features to
  121. work with master / foreign – tables (see <span class="target" id="index-2"></span><a class="reference internal" href="#cfg_Servers_pmadb"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></tt></a>).</p>
  122. <p>If you tried to set this
  123. up and it does not work for you, have a look on the <em class="guilabel">Structure</em> page
  124. of one database where you would like to use it. You will find a link
  125. that will analyze why those features have been disabled.</p>
  126. <p>If you do not want to use those features set this variable to <tt class="docutils literal"><span class="pre">true</span></tt> to
  127. stop this message from appearing.</p>
  128. </dd></dl>
  129. <dl class="option">
  130. <dt id="cfg_SuhosinDisableWarning">
  131. <tt class="descname">$cfg['SuhosinDisableWarning']</tt><a class="headerlink" href="#cfg_SuhosinDisableWarning" title="Permalink to this definition">¶</a></dt>
  132. <dd><table class="docutils field-list" frame="void" rules="none">
  133. <col class="field-name" />
  134. <col class="field-body" />
  135. <tbody valign="top">
  136. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  137. </tr>
  138. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  139. </tr>
  140. </tbody>
  141. </table>
  142. <p>A warning is displayed on the main page if Suhosin is detected.</p>
  143. <p>You can set this parameter to <tt class="docutils literal"><span class="pre">true</span></tt> to stop this message from appearing.</p>
  144. </dd></dl>
  145. <dl class="option">
  146. <dt id="cfg_ServerLibraryDifference_DisableWarning">
  147. <tt class="descname">$cfg['ServerLibraryDifference_DisableWarning']</tt><a class="headerlink" href="#cfg_ServerLibraryDifference_DisableWarning" title="Permalink to this definition">¶</a></dt>
  148. <dd><table class="docutils field-list" frame="void" rules="none">
  149. <col class="field-name" />
  150. <col class="field-body" />
  151. <tbody valign="top">
  152. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  153. </tr>
  154. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  155. </tr>
  156. </tbody>
  157. </table>
  158. <p>A warning is displayed on the main page if there is a difference
  159. between the MySQL library and server version.</p>
  160. <p>You can set this parameter to <tt class="docutils literal"><span class="pre">true</span></tt> to stop this message from appearing.</p>
  161. </dd></dl>
  162. <dl class="option">
  163. <dt id="cfg_ReservedWordDisableWarning">
  164. <tt class="descname">$cfg['ReservedWordDisableWarning']</tt><a class="headerlink" href="#cfg_ReservedWordDisableWarning" title="Permalink to this definition">¶</a></dt>
  165. <dd><table class="docutils field-list" frame="void" rules="none">
  166. <col class="field-name" />
  167. <col class="field-body" />
  168. <tbody valign="top">
  169. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  170. </tr>
  171. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  172. </tr>
  173. </tbody>
  174. </table>
  175. <p>This warning is displayed on the Structure page of a table if one or more
  176. column names match with words which are MySQL reserved.</p>
  177. <p>If you want to turn off this warning, you can set it to <tt class="docutils literal"><span class="pre">true</span></tt> and
  178. warning will no longer be displayed.</p>
  179. </dd></dl>
  180. <dl class="option">
  181. <dt id="cfg_TranslationWarningThreshold">
  182. <tt class="descname">$cfg['TranslationWarningThreshold']</tt><a class="headerlink" href="#cfg_TranslationWarningThreshold" title="Permalink to this definition">¶</a></dt>
  183. <dd><table class="docutils field-list" frame="void" rules="none">
  184. <col class="field-name" />
  185. <col class="field-body" />
  186. <tbody valign="top">
  187. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  188. </tr>
  189. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">80</td>
  190. </tr>
  191. </tbody>
  192. </table>
  193. <p>Show warning about incomplete translations on certain threshold.</p>
  194. </dd></dl>
  195. <dl class="option">
  196. <dt id="cfg_SendErrorReports">
  197. <tt class="descname">$cfg['SendErrorReports']</tt><a class="headerlink" href="#cfg_SendErrorReports" title="Permalink to this definition">¶</a></dt>
  198. <dd><table class="docutils field-list" frame="void" rules="none">
  199. <col class="field-name" />
  200. <col class="field-body" />
  201. <tbody valign="top">
  202. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  203. </tr>
  204. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'ask'</span></tt></td>
  205. </tr>
  206. </tbody>
  207. </table>
  208. <p>Sets the default behavior for JavaScript error reporting.</p>
  209. <p>Whenever an error is detected in the JavaScript execution, an error report
  210. may be sent to the phpMyAdmin team if the user agrees.</p>
  211. <p>The default setting of <tt class="docutils literal"><span class="pre">'ask'</span></tt> will ask the user everytime there is a new
  212. error report. However you can set this parameter to <tt class="docutils literal"><span class="pre">'always'</span></tt> to send error
  213. reports without asking for confirmation or you can set it to <tt class="docutils literal"><span class="pre">'never'</span></tt> to
  214. never send error reports.</p>
  215. <p>This directive is available both in the configuration file and in users
  216. preferences. If the person in charge of a multi-user installation prefers
  217. to disable this feature for all users, a value of <tt class="docutils literal"><span class="pre">'never'</span></tt> should be
  218. set, and the <span class="target" id="index-3"></span><a class="reference internal" href="#cfg_UserprefsDisallow"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['UserprefsDisallow']</span></tt></a> directive should
  219. contain <tt class="docutils literal"><span class="pre">'SendErrorReports'</span></tt> in one of its array values.</p>
  220. </dd></dl>
  221. <dl class="option">
  222. <dt id="cfg_AllowThirdPartyFraming">
  223. <tt class="descname">$cfg['AllowThirdPartyFraming']</tt><a class="headerlink" href="#cfg_AllowThirdPartyFraming" title="Permalink to this definition">¶</a></dt>
  224. <dd><table class="docutils field-list" frame="void" rules="none">
  225. <col class="field-name" />
  226. <col class="field-body" />
  227. <tbody valign="top">
  228. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  229. </tr>
  230. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  231. </tr>
  232. </tbody>
  233. </table>
  234. <p>Setting this to <tt class="docutils literal"><span class="pre">true</span></tt> allows phpMyAdmin to be included inside a frame,
  235. and is a potential security hole allowing cross-frame scripting attacks or
  236. clickjacking.</p>
  237. </dd></dl>
  238. </div>
  239. <div class="section" id="server-connection-settings">
  240. <h2>Server connection settings<a class="headerlink" href="#server-connection-settings" title="Permalink to this headline">¶</a></h2>
  241. <dl class="option">
  242. <dt id="cfg_Servers">
  243. <tt class="descname">$cfg['Servers']</tt><a class="headerlink" href="#cfg_Servers" title="Permalink to this definition">¶</a></dt>
  244. <dd><table class="docutils field-list" frame="void" rules="none">
  245. <col class="field-name" />
  246. <col class="field-body" />
  247. <tbody valign="top">
  248. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">array</td>
  249. </tr>
  250. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">one server array with settings listed bellow</td>
  251. </tr>
  252. </tbody>
  253. </table>
  254. <p>Since version 1.4.2, phpMyAdmin supports the administration of multiple
  255. MySQL servers. Therefore, a <span class="target" id="index-4"></span><a class="reference internal" href="#cfg_Servers"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers']</span></tt></a>-array has been
  256. added which contains the login information for the different servers. The
  257. first <span class="target" id="index-5"></span><a class="reference internal" href="#cfg_Servers_host"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['host']</span></tt></a> contains the hostname of
  258. the first server, the second <span class="target" id="index-6"></span><a class="reference internal" href="#cfg_Servers_host"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['host']</span></tt></a>
  259. the hostname of the second server, etc. In
  260. <tt class="file docutils literal"><span class="pre">libraries/config.default.php</span></tt>, there is only one section for server
  261. definition, however you can put as many as you need in
  262. <tt class="file docutils literal"><span class="pre">config.inc.php</span></tt>, copy that block or needed parts (you don&#8217;t have to
  263. define all settings, just those you need to change).</p>
  264. <div class="admonition note">
  265. <p class="first admonition-title">Note</p>
  266. <p class="last">The <span class="target" id="index-7"></span><a class="reference internal" href="#cfg_Servers"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers']</span></tt></a> array starts with
  267. $cfg[&#8216;Servers&#8217;][1]. Do not use $cfg[&#8216;Servers&#8217;][0]. If you want more
  268. than one server, just copy following section (including $i
  269. incrementation) serveral times. There is no need to define full server
  270. array, just define values you need to change.</p>
  271. </div>
  272. </dd></dl>
  273. <dl class="option">
  274. <dt id="cfg_Servers_host">
  275. <tt class="descname">$cfg['Servers'][$i]['host']</tt><a class="headerlink" href="#cfg_Servers_host" title="Permalink to this definition">¶</a></dt>
  276. <dd><table class="docutils field-list" frame="void" rules="none">
  277. <col class="field-name" />
  278. <col class="field-body" />
  279. <tbody valign="top">
  280. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  281. </tr>
  282. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'localhost'</span></tt></td>
  283. </tr>
  284. </tbody>
  285. </table>
  286. <p>The hostname or <a class="reference internal" href="glossary.html#term-ip"><em class="xref std std-term">IP</em></a> address of your $i-th MySQL-server. E.g.
  287. <tt class="docutils literal"><span class="pre">localhost</span></tt>.</p>
  288. <p>Possible values are:</p>
  289. <ul class="simple">
  290. <li>hostname, e.g., <tt class="docutils literal"><span class="pre">'localhost'</span></tt> or <tt class="docutils literal"><span class="pre">'mydb.example.org'</span></tt></li>
  291. <li>IP address, e.g., <tt class="docutils literal"><span class="pre">'127.0.0.1'</span></tt> or <tt class="docutils literal"><span class="pre">'192.168.10.1'</span></tt></li>
  292. <li>dot - <tt class="docutils literal"><span class="pre">'.'</span></tt>, i.e., use named pipes on windows systems</li>
  293. <li>empty - <tt class="docutils literal"><span class="pre">''</span></tt>, disables this server</li>
  294. </ul>
  295. <div class="admonition note">
  296. <p class="first admonition-title">Note</p>
  297. <dl class="last docutils">
  298. <dt>phpMyAdmin supports connecting to MySQL servers reachable via IPv6 only.</dt>
  299. <dd>To connect to an IPv6 MySQL server, enter its IPv6 address in this field.</dd>
  300. </dl>
  301. </div>
  302. </dd></dl>
  303. <dl class="option">
  304. <dt id="cfg_Servers_port">
  305. <tt class="descname">$cfg['Servers'][$i]['port']</tt><a class="headerlink" href="#cfg_Servers_port" title="Permalink to this definition">¶</a></dt>
  306. <dd><table class="docutils field-list" frame="void" rules="none">
  307. <col class="field-name" />
  308. <col class="field-body" />
  309. <tbody valign="top">
  310. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  311. </tr>
  312. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  313. </tr>
  314. </tbody>
  315. </table>
  316. <p>The port-number of your $i-th MySQL-server. Default is 3306 (leave
  317. blank).</p>
  318. <div class="admonition note">
  319. <p class="first admonition-title">Note</p>
  320. <p class="last">If you use <tt class="docutils literal"><span class="pre">localhost</span></tt> as the hostname, MySQL ignores this port number
  321. and connects with the socket, so if you want to connect to a port
  322. different from the default port, use <tt class="docutils literal"><span class="pre">127.0.0.1</span></tt> or the real hostname
  323. in <span class="target" id="index-8"></span><a class="reference internal" href="#cfg_Servers_host"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['host']</span></tt></a>.</p>
  324. </div>
  325. </dd></dl>
  326. <dl class="option">
  327. <dt id="cfg_Servers_socket">
  328. <tt class="descname">$cfg['Servers'][$i]['socket']</tt><a class="headerlink" href="#cfg_Servers_socket" title="Permalink to this definition">¶</a></dt>
  329. <dd><table class="docutils field-list" frame="void" rules="none">
  330. <col class="field-name" />
  331. <col class="field-body" />
  332. <tbody valign="top">
  333. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  334. </tr>
  335. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  336. </tr>
  337. </tbody>
  338. </table>
  339. <p>The path to the socket to use. Leave blank for default. To determine
  340. the correct socket, check your MySQL configuration or, using the
  341. <strong class="command">mysql</strong> command–line client, issue the <tt class="docutils literal"><span class="pre">status</span></tt> command. Among the
  342. resulting information displayed will be the socket used.</p>
  343. </dd></dl>
  344. <dl class="option">
  345. <dt id="cfg_Servers_ssl">
  346. <tt class="descname">$cfg['Servers'][$i]['ssl']</tt><a class="headerlink" href="#cfg_Servers_ssl" title="Permalink to this definition">¶</a></dt>
  347. <dd><table class="docutils field-list" frame="void" rules="none">
  348. <col class="field-name" />
  349. <col class="field-body" />
  350. <tbody valign="top">
  351. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  352. </tr>
  353. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  354. </tr>
  355. </tbody>
  356. </table>
  357. <p>Whether to enable SSL for the connection between phpMyAdmin and the MySQL server.</p>
  358. <p>When using the <tt class="docutils literal"><span class="pre">'mysql'</span></tt> extension,
  359. none of the remaining <tt class="docutils literal"><span class="pre">'ssl...'</span></tt> configuration options apply.</p>
  360. <p>We strongly recommend the <tt class="docutils literal"><span class="pre">'mysqli'</span></tt> extension when using this option.</p>
  361. </dd></dl>
  362. <dl class="option">
  363. <dt id="cfg_Servers_ssl_key">
  364. <tt class="descname">$cfg['Servers'][$i]['ssl_key']</tt><a class="headerlink" href="#cfg_Servers_ssl_key" title="Permalink to this definition">¶</a></dt>
  365. <dd><table class="docutils field-list" frame="void" rules="none">
  366. <col class="field-name" />
  367. <col class="field-body" />
  368. <tbody valign="top">
  369. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  370. </tr>
  371. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">NULL</td>
  372. </tr>
  373. </tbody>
  374. </table>
  375. <p>Path to the key file when using SSL for connecting to the MySQL server.</p>
  376. <p>For example:</p>
  377. <div class="highlight-php"><div class="highlight"><pre><span class="nv">$cfg</span><span class="p">[</span><span class="s1">&#39;Servers&#39;</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">&#39;ssl_key&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;/etc/mysql/server-key.pem&#39;</span><span class="p">;</span>
  378. </pre></div>
  379. </div>
  380. </dd></dl>
  381. <dl class="option">
  382. <dt id="cfg_Servers_ssl_cert">
  383. <tt class="descname">$cfg['Servers'][$i]['ssl_cert']</tt><a class="headerlink" href="#cfg_Servers_ssl_cert" title="Permalink to this definition">¶</a></dt>
  384. <dd><table class="docutils field-list" frame="void" rules="none">
  385. <col class="field-name" />
  386. <col class="field-body" />
  387. <tbody valign="top">
  388. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  389. </tr>
  390. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">NULL</td>
  391. </tr>
  392. </tbody>
  393. </table>
  394. <p>Path to the cert file when using SSL for connecting to the MySQL server.</p>
  395. </dd></dl>
  396. <dl class="option">
  397. <dt id="cfg_Servers_ssl_ca">
  398. <tt class="descname">$cfg['Servers'][$i]['ssl_ca']</tt><a class="headerlink" href="#cfg_Servers_ssl_ca" title="Permalink to this definition">¶</a></dt>
  399. <dd><table class="docutils field-list" frame="void" rules="none">
  400. <col class="field-name" />
  401. <col class="field-body" />
  402. <tbody valign="top">
  403. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  404. </tr>
  405. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">NULL</td>
  406. </tr>
  407. </tbody>
  408. </table>
  409. <p>Path to the CA file when using SSL for connecting to the MySQL server.</p>
  410. </dd></dl>
  411. <dl class="option">
  412. <dt id="cfg_Servers_ssl_ca_path">
  413. <tt class="descname">$cfg['Servers'][$i]['ssl_ca_path']</tt><a class="headerlink" href="#cfg_Servers_ssl_ca_path" title="Permalink to this definition">¶</a></dt>
  414. <dd><table class="docutils field-list" frame="void" rules="none">
  415. <col class="field-name" />
  416. <col class="field-body" />
  417. <tbody valign="top">
  418. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  419. </tr>
  420. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">NULL</td>
  421. </tr>
  422. </tbody>
  423. </table>
  424. <p>Directory containing trusted SSL CA certificates in PEM format.</p>
  425. </dd></dl>
  426. <dl class="option">
  427. <dt id="cfg_Servers_ssl_ciphers">
  428. <tt class="descname">$cfg['Servers'][$i]['ssl_ciphers']</tt><a class="headerlink" href="#cfg_Servers_ssl_ciphers" title="Permalink to this definition">¶</a></dt>
  429. <dd><table class="docutils field-list" frame="void" rules="none">
  430. <col class="field-name" />
  431. <col class="field-body" />
  432. <tbody valign="top">
  433. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  434. </tr>
  435. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">NULL</td>
  436. </tr>
  437. </tbody>
  438. </table>
  439. <p>List of allowable ciphers for SSL connections to the MySQL server.</p>
  440. </dd></dl>
  441. <dl class="option">
  442. <dt id="cfg_Servers_connect_type">
  443. <tt class="descname">$cfg['Servers'][$i]['connect_type']</tt><a class="headerlink" href="#cfg_Servers_connect_type" title="Permalink to this definition">¶</a></dt>
  444. <dd><table class="docutils field-list" frame="void" rules="none">
  445. <col class="field-name" />
  446. <col class="field-body" />
  447. <tbody valign="top">
  448. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  449. </tr>
  450. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'tcp'</span></tt></td>
  451. </tr>
  452. </tbody>
  453. </table>
  454. <p>What type connection to use with the MySQL server. Your options are
  455. <tt class="docutils literal"><span class="pre">'socket'</span></tt> and <tt class="docutils literal"><span class="pre">'tcp'</span></tt>. It defaults to tcp as that is nearly guaranteed
  456. to be available on all MySQL servers, while sockets are not supported on
  457. some platforms. To use the socket mode, your MySQL server must be on the
  458. same machine as the Web server.</p>
  459. </dd></dl>
  460. <dl class="option">
  461. <dt id="cfg_Servers_compress">
  462. <tt class="descname">$cfg['Servers'][$i]['compress']</tt><a class="headerlink" href="#cfg_Servers_compress" title="Permalink to this definition">¶</a></dt>
  463. <dd><table class="docutils field-list" frame="void" rules="none">
  464. <col class="field-name" />
  465. <col class="field-body" />
  466. <tbody valign="top">
  467. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  468. </tr>
  469. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  470. </tr>
  471. </tbody>
  472. </table>
  473. <p>Whether to use a compressed protocol for the MySQL server connection
  474. or not (experimental).</p>
  475. </dd></dl>
  476. <span class="target" id="controlhost"></span><dl class="option">
  477. <dt id="cfg_Servers_controlhost">
  478. <tt class="descname">$cfg['Servers'][$i]['controlhost']</tt><a class="headerlink" href="#cfg_Servers_controlhost" title="Permalink to this definition">¶</a></dt>
  479. <dd><table class="docutils field-list" frame="void" rules="none">
  480. <col class="field-name" />
  481. <col class="field-body" />
  482. <tbody valign="top">
  483. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  484. </tr>
  485. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  486. </tr>
  487. </tbody>
  488. </table>
  489. <p>Permits to use an alternate host to hold the configuration storage
  490. data.</p>
  491. </dd></dl>
  492. <span class="target" id="controlport"></span><dl class="option">
  493. <dt id="cfg_Servers_controlport">
  494. <tt class="descname">$cfg['Servers'][$i]['controlport']</tt><a class="headerlink" href="#cfg_Servers_controlport" title="Permalink to this definition">¶</a></dt>
  495. <dd><table class="docutils field-list" frame="void" rules="none">
  496. <col class="field-name" />
  497. <col class="field-body" />
  498. <tbody valign="top">
  499. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  500. </tr>
  501. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  502. </tr>
  503. </tbody>
  504. </table>
  505. <p>Permits to use an alternate port to connect to the host that
  506. holds the configuration storage.</p>
  507. </dd></dl>
  508. <span class="target" id="controluser"></span><dl class="option">
  509. <dt id="cfg_Servers_controluser">
  510. <tt class="descname">$cfg['Servers'][$i]['controluser']</tt><a class="headerlink" href="#cfg_Servers_controluser" title="Permalink to this definition">¶</a></dt>
  511. <dd><table class="docutils field-list" frame="void" rules="none">
  512. <col class="field-name" />
  513. <col class="field-body" />
  514. <tbody valign="top">
  515. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  516. </tr>
  517. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  518. </tr>
  519. </tbody>
  520. </table>
  521. </dd></dl>
  522. <dl class="option">
  523. <dt id="cfg_Servers_controlpass">
  524. <tt class="descname">$cfg['Servers'][$i]['controlpass']</tt><a class="headerlink" href="#cfg_Servers_controlpass" title="Permalink to this definition">¶</a></dt>
  525. <dd><table class="docutils field-list" frame="void" rules="none">
  526. <col class="field-name" />
  527. <col class="field-body" />
  528. <tbody valign="top">
  529. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  530. </tr>
  531. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  532. </tr>
  533. </tbody>
  534. </table>
  535. <p>This special account is used for 2 distinct purposes: to make possible all
  536. relational features (see <span class="target" id="index-9"></span><a class="reference internal" href="#cfg_Servers_pmadb"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></tt></a>).</p>
  537. <p class="versionchanged">
  538. <span class="versionmodified">Changed in version 2.2.5: </span>those were called <tt class="docutils literal"><span class="pre">stduser</span></tt> and <tt class="docutils literal"><span class="pre">stdpass</span></tt></p>
  539. <div class="admonition-see-also admonition seealso">
  540. <p class="first admonition-title">See also</p>
  541. <p class="last"><a class="reference internal" href="setup.html#setup"><em>Installation</em></a>, <a class="reference internal" href="setup.html#authentication-modes"><em>Using authentication modes</em></a>, <a class="reference internal" href="setup.html#linked-tables"><em>phpMyAdmin configuration storage</em></a></p>
  542. </div>
  543. </dd></dl>
  544. <dl class="option">
  545. <dt id="cfg_Servers_auth_type">
  546. <tt class="descname">$cfg['Servers'][$i]['auth_type']</tt><a class="headerlink" href="#cfg_Servers_auth_type" title="Permalink to this definition">¶</a></dt>
  547. <dd><table class="docutils field-list" frame="void" rules="none">
  548. <col class="field-name" />
  549. <col class="field-body" />
  550. <tbody valign="top">
  551. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  552. </tr>
  553. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'cookie'</span></tt></td>
  554. </tr>
  555. </tbody>
  556. </table>
  557. <p>Whether config or cookie or <a class="reference internal" href="glossary.html#term-http"><em class="xref std std-term">HTTP</em></a> or signon authentication should be
  558. used for this server.</p>
  559. <ul class="simple">
  560. <li>&#8216;config&#8217; authentication (<tt class="docutils literal"><span class="pre">$auth_type&nbsp;=&nbsp;'config'</span></tt>) is the plain old
  561. way: username and password are stored in <tt class="file docutils literal"><span class="pre">config.inc.php</span></tt>.</li>
  562. <li>&#8216;cookie&#8217; authentication mode (<tt class="docutils literal"><span class="pre">$auth_type&nbsp;=&nbsp;'cookie'</span></tt>) as
  563. introduced in 2.2.3 allows you to log in as any valid MySQL user with
  564. the help of cookies. Username and password are stored in cookies
  565. during the session and password is deleted when it ends. This can also
  566. allow you to log in in arbitrary server if <span class="target" id="index-10"></span><a class="reference internal" href="#cfg_AllowArbitraryServer"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['AllowArbitraryServer']</span></tt></a> enabled.</li>
  567. <li>&#8216;http&#8217; authentication (was
  568. called &#8216;advanced&#8217; in previous versions and can be written also as
  569. &#8216;http&#8217;) (<tt class="docutils literal"><span class="pre">$auth_type&nbsp;=&nbsp;'http';'</span></tt>) as introduced in 1.3.0 allows you to log in as any
  570. valid MySQL user via HTTP-Auth.</li>
  571. <li>&#8216;signon&#8217; authentication mode (<tt class="docutils literal"><span class="pre">$auth_type&nbsp;=&nbsp;'signon'</span></tt>) as
  572. introduced in 2.10.0 allows you to log in from prepared PHP session
  573. data or using supplied PHP script. This is useful for implementing
  574. single signon from another application. Sample way how to seed session
  575. is in signon example: <tt class="file docutils literal"><span class="pre">examples/signon.php</span></tt>. There is also
  576. alternative example using OpenID - <tt class="file docutils literal"><span class="pre">examples/openid.php</span></tt> and example
  577. for scripts based solution - <tt class="file docutils literal"><span class="pre">examples/signon-script.php</span></tt>. You need
  578. to configure <span class="target" id="index-11"></span><a class="reference internal" href="#cfg_Servers_SignonSession"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['SignonSession']</span></tt></a> or
  579. <span class="target" id="index-12"></span><a class="reference internal" href="#cfg_Servers_SignonScript"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['SignonScript']</span></tt></a> and
  580. <span class="target" id="index-13"></span><a class="reference internal" href="#cfg_Servers_SignonURL"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['SignonURL']</span></tt></a> to use this authentication
  581. method.</li>
  582. </ul>
  583. <div class="admonition-see-also admonition seealso">
  584. <p class="first admonition-title">See also</p>
  585. <p class="last"><a class="reference internal" href="setup.html#authentication-modes"><em>Using authentication modes</em></a></p>
  586. </div>
  587. </dd></dl>
  588. <span class="target" id="servers-auth-http-realm"></span><dl class="option">
  589. <dt id="cfg_Servers_auth_http_realm">
  590. <tt class="descname">$cfg['Servers'][$i]['auth_http_realm']</tt><a class="headerlink" href="#cfg_Servers_auth_http_realm" title="Permalink to this definition">¶</a></dt>
  591. <dd><table class="docutils field-list" frame="void" rules="none">
  592. <col class="field-name" />
  593. <col class="field-body" />
  594. <tbody valign="top">
  595. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  596. </tr>
  597. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  598. </tr>
  599. </tbody>
  600. </table>
  601. <p>When using auth_type = <tt class="docutils literal"><span class="pre">http</span></tt>, this field allows to define a custom
  602. <a class="reference internal" href="glossary.html#term-http"><em class="xref std std-term">HTTP</em></a> Basic Auth Realm which will be displayed to the user. If not
  603. explicitly specified in your configuration, a string combined of
  604. &#8220;phpMyAdmin &#8221; and either <span class="target" id="index-14"></span><a class="reference internal" href="#cfg_Servers_verbose"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['verbose']</span></tt></a> or
  605. <span class="target" id="index-15"></span><a class="reference internal" href="#cfg_Servers_host"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['host']</span></tt></a> will be used.</p>
  606. </dd></dl>
  607. <span class="target" id="servers-auth-swekey-config"></span><dl class="option">
  608. <dt id="cfg_Servers_auth_swekey_config">
  609. <tt class="descname">$cfg['Servers'][$i]['auth_swekey_config']</tt><a class="headerlink" href="#cfg_Servers_auth_swekey_config" title="Permalink to this definition">¶</a></dt>
  610. <dd><table class="docutils field-list" frame="void" rules="none">
  611. <col class="field-name" />
  612. <col class="field-body" />
  613. <tbody valign="top">
  614. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  615. </tr>
  616. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  617. </tr>
  618. </tbody>
  619. </table>
  620. <p>The name of the file containing <a class="reference internal" href="setup.html#swekey"><em>Swekey authentication mode</em></a> ids and login names for hardware
  621. authentication. Leave empty to deactivate this feature.</p>
  622. </dd></dl>
  623. <span class="target" id="servers-user"></span><dl class="option">
  624. <dt id="cfg_Servers_user">
  625. <tt class="descname">$cfg['Servers'][$i]['user']</tt><a class="headerlink" href="#cfg_Servers_user" title="Permalink to this definition">¶</a></dt>
  626. <dd><table class="docutils field-list" frame="void" rules="none">
  627. <col class="field-name" />
  628. <col class="field-body" />
  629. <tbody valign="top">
  630. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  631. </tr>
  632. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'root'</span></tt></td>
  633. </tr>
  634. </tbody>
  635. </table>
  636. </dd></dl>
  637. <dl class="option">
  638. <dt id="cfg_Servers_password">
  639. <tt class="descname">$cfg['Servers'][$i]['password']</tt><a class="headerlink" href="#cfg_Servers_password" title="Permalink to this definition">¶</a></dt>
  640. <dd><table class="docutils field-list" frame="void" rules="none">
  641. <col class="field-name" />
  642. <col class="field-body" />
  643. <tbody valign="top">
  644. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  645. </tr>
  646. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  647. </tr>
  648. </tbody>
  649. </table>
  650. <p>When using <span class="target" id="index-16"></span><a class="reference internal" href="#cfg_Servers_auth_type"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['auth_type']</span></tt></a> set to
  651. &#8216;config&#8217;, this is the user/password-pair which phpMyAdmin will use to
  652. connect to the MySQL server. This user/password pair is not needed when
  653. <a class="reference internal" href="glossary.html#term-http"><em class="xref std std-term">HTTP</em></a> or cookie authentication is used
  654. and should be empty.</p>
  655. </dd></dl>
  656. <span class="target" id="servers-nopassword"></span><dl class="option">
  657. <dt id="cfg_Servers_nopassword">
  658. <tt class="descname">$cfg['Servers'][$i]['nopassword']</tt><a class="headerlink" href="#cfg_Servers_nopassword" title="Permalink to this definition">¶</a></dt>
  659. <dd><table class="docutils field-list" frame="void" rules="none">
  660. <col class="field-name" />
  661. <col class="field-body" />
  662. <tbody valign="top">
  663. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  664. </tr>
  665. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  666. </tr>
  667. </tbody>
  668. </table>
  669. <p>Allow attempt to log in without password when a login with password
  670. fails. This can be used together with http authentication, when
  671. authentication is done some other way and phpMyAdmin gets user name
  672. from auth and uses empty password for connecting to MySQL. Password
  673. login is still tried first, but as fallback, no password method is
  674. tried.</p>
  675. </dd></dl>
  676. <span class="target" id="servers-only-db"></span><dl class="option">
  677. <dt id="cfg_Servers_only_db">
  678. <tt class="descname">$cfg['Servers'][$i]['only_db']</tt><a class="headerlink" href="#cfg_Servers_only_db" title="Permalink to this definition">¶</a></dt>
  679. <dd><table class="docutils field-list" frame="void" rules="none">
  680. <col class="field-name" />
  681. <col class="field-body" />
  682. <tbody valign="top">
  683. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string or array</td>
  684. </tr>
  685. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  686. </tr>
  687. </tbody>
  688. </table>
  689. <p>If set to a (an array of) database name(s), only this (these)
  690. database(s) will be shown to the user. Since phpMyAdmin 2.2.1,
  691. this/these database(s) name(s) may contain MySQL wildcards characters
  692. (&#8220;_&#8221; and &#8220;%&#8221;): if you want to use literal instances of these
  693. characters, escape them (I.E. use <tt class="docutils literal"><span class="pre">'my\_db'</span></tt> and not <tt class="docutils literal"><span class="pre">'my_db'</span></tt>).</p>
  694. <p>This setting is an efficient way to lower the server load since the
  695. latter does not need to send MySQL requests to build the available
  696. database list. But <strong>it does not replace the privileges rules of the
  697. MySQL database server</strong>. If set, it just means only these databases
  698. will be displayed but <strong>not that all other databases can&#8217;t be used.</strong></p>
  699. <p>An example of using more that one database:</p>
  700. <div class="highlight-php"><div class="highlight"><pre><span class="nv">$cfg</span><span class="p">[</span><span class="s1">&#39;Servers&#39;</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">&#39;only_db&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="k">array</span><span class="p">(</span><span class="s1">&#39;db1&#39;</span><span class="p">,</span> <span class="s1">&#39;db2&#39;</span><span class="p">);</span>
  701. </pre></div>
  702. </div>
  703. <p class="versionchanged">
  704. <span class="versionmodified">Changed in version 4.0.0: </span>Previous versions permitted to specify the display order of
  705. the database names via this directive.</p>
  706. </dd></dl>
  707. <dl class="option">
  708. <dt id="cfg_Servers_hide_db">
  709. <tt class="descname">$cfg['Servers'][$i]['hide_db']</tt><a class="headerlink" href="#cfg_Servers_hide_db" title="Permalink to this definition">¶</a></dt>
  710. <dd><table class="docutils field-list" frame="void" rules="none">
  711. <col class="field-name" />
  712. <col class="field-body" />
  713. <tbody valign="top">
  714. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  715. </tr>
  716. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  717. </tr>
  718. </tbody>
  719. </table>
  720. <p>Regular expression for hiding some databases from unprivileged users.
  721. This only hides them from listing, but a user is still able to access
  722. them (using, for example, the SQL query area). To limit access, use
  723. the MySQL privilege system. For example, to hide all databases
  724. starting with the letter &#8220;a&#8221;, use</p>
  725. <div class="highlight-php"><div class="highlight"><pre><span class="nv">$cfg</span><span class="p">[</span><span class="s1">&#39;Servers&#39;</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">&#39;hide_db&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;^a&#39;</span><span class="p">;</span>
  726. </pre></div>
  727. </div>
  728. <p>and to hide both &#8220;db1&#8221; and &#8220;db2&#8221; use</p>
  729. <div class="highlight-php"><div class="highlight"><pre><span class="nv">$cfg</span><span class="p">[</span><span class="s1">&#39;Servers&#39;</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">&#39;hide_db&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;^(db1|db2)$&#39;</span><span class="p">;</span>
  730. </pre></div>
  731. </div>
  732. <p>More information on regular expressions can be found in the <a class="reference external" href="http://php.net/manual/en/reference.pcre.pattern.syntax.php">PCRE
  733. pattern syntax</a> portion
  734. of the PHP reference manual.</p>
  735. </dd></dl>
  736. <dl class="option">
  737. <dt id="cfg_Servers_verbose">
  738. <tt class="descname">$cfg['Servers'][$i]['verbose']</tt><a class="headerlink" href="#cfg_Servers_verbose" title="Permalink to this definition">¶</a></dt>
  739. <dd><table class="docutils field-list" frame="void" rules="none">
  740. <col class="field-name" />
  741. <col class="field-body" />
  742. <tbody valign="top">
  743. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  744. </tr>
  745. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  746. </tr>
  747. </tbody>
  748. </table>
  749. <p>Only useful when using phpMyAdmin with multiple server entries. If
  750. set, this string will be displayed instead of the hostname in the
  751. pull-down menu on the main page. This can be useful if you want to
  752. show only certain databases on your system, for example. For HTTP
  753. auth, all non-US-ASCII characters will be stripped.</p>
  754. </dd></dl>
  755. <dl class="option">
  756. <dt id="cfg_Servers_pmadb">
  757. <tt class="descname">$cfg['Servers'][$i]['pmadb']</tt><a class="headerlink" href="#cfg_Servers_pmadb" title="Permalink to this definition">¶</a></dt>
  758. <dd><table class="docutils field-list" frame="void" rules="none">
  759. <col class="field-name" />
  760. <col class="field-body" />
  761. <tbody valign="top">
  762. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  763. </tr>
  764. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  765. </tr>
  766. </tbody>
  767. </table>
  768. <p>The name of the database containing the phpMyAdmin configuration
  769. storage.</p>
  770. <p>See the <a class="reference internal" href="setup.html#linked-tables"><em>phpMyAdmin configuration storage</em></a> section in this document to see the benefits of
  771. this feature, and for a quick way of creating this database and the needed
  772. tables.</p>
  773. <p>If you are the only user of this phpMyAdmin installation, you can use your
  774. current database to store those special tables; in this case, just put your
  775. current database name in <span class="target" id="index-17"></span><a class="reference internal" href="#cfg_Servers_pmadb"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></tt></a>. For a
  776. multi-user installation, set this parameter to the name of your central
  777. database containing the phpMyAdmin configuration storage.</p>
  778. </dd></dl>
  779. <span class="target" id="bookmark"></span><dl class="option">
  780. <dt id="cfg_Servers_bookmarktable">
  781. <tt class="descname">$cfg['Servers'][$i]['bookmarktable']</tt><a class="headerlink" href="#cfg_Servers_bookmarktable" title="Permalink to this definition">¶</a></dt>
  782. <dd><table class="docutils field-list" frame="void" rules="none">
  783. <col class="field-name" />
  784. <col class="field-body" />
  785. <tbody valign="top">
  786. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  787. </tr>
  788. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  789. </tr>
  790. </tbody>
  791. </table>
  792. <p>Since release 2.2.0 phpMyAdmin allows users to bookmark queries. This
  793. can be useful for queries you often run. To allow the usage of this
  794. functionality:</p>
  795. <ul class="simple">
  796. <li>set up <span class="target" id="index-18"></span><a class="reference internal" href="#cfg_Servers_pmadb"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></tt></a> and the phpMyAdmin configuration storage</li>
  797. <li>enter the table name in <span class="target" id="index-19"></span><a class="reference internal" href="#cfg_Servers_bookmarktable"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['bookmarktable']</span></tt></a></li>
  798. </ul>
  799. </dd></dl>
  800. <span class="target" id="relation"></span><dl class="option">
  801. <dt id="cfg_Servers_relation">
  802. <tt class="descname">$cfg['Servers'][$i]['relation']</tt><a class="headerlink" href="#cfg_Servers_relation" title="Permalink to this definition">¶</a></dt>
  803. <dd><table class="docutils field-list" frame="void" rules="none">
  804. <col class="field-name" />
  805. <col class="field-body" />
  806. <tbody valign="top">
  807. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  808. </tr>
  809. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  810. </tr>
  811. </tbody>
  812. </table>
  813. <p>Since release 2.2.4 you can describe, in a special &#8216;relation&#8217; table,
  814. which column is a key in another table (a foreign key). phpMyAdmin
  815. currently uses this to:</p>
  816. <ul class="simple">
  817. <li>make clickable, when you browse the master table, the data values that
  818. point to the foreign table;</li>
  819. <li>display in an optional tool-tip the &#8220;display column&#8221; when browsing the
  820. master table, if you move the mouse to a column containing a foreign
  821. key (use also the &#8216;table_info&#8217; table); (see <a class="reference internal" href="faq.html#faqdisplay"><em>6.7 How can I use the &#8220;display column&#8221; feature?</em></a>)</li>
  822. <li>in edit/insert mode, display a drop-down list of possible foreign keys
  823. (key value and &#8220;display column&#8221; are shown) (see <a class="reference internal" href="faq.html#faq6-21"><em>6.21 In edit/insert mode, how can I see a list of possible values for a column, based on some foreign table?</em></a>)</li>
  824. <li>display links on the table properties page, to check referential
  825. integrity (display missing foreign keys) for each described key;</li>
  826. <li>in query-by-example, create automatic joins (see <a class="reference internal" href="faq.html#faq6-6"><em>6.6 How can I use the relation table in Query-by-example?</em></a>)</li>
  827. <li>enable you to get a <a class="reference internal" href="glossary.html#term-pdf"><em class="xref std std-term">PDF</em></a> schema of
  828. your database (also uses the table_coords table).</li>
  829. </ul>
  830. <p>The keys can be numeric or character.</p>
  831. <p>To allow the usage of this functionality:</p>
  832. <ul class="simple">
  833. <li>set up <span class="target" id="index-20"></span><a class="reference internal" href="#cfg_Servers_pmadb"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></tt></a> and the phpMyAdmin configuration storage</li>
  834. <li>put the relation table name in <span class="target" id="index-21"></span><a class="reference internal" href="#cfg_Servers_relation"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['relation']</span></tt></a></li>
  835. <li>now as normal user open phpMyAdmin and for each one of your tables
  836. where you want to use this feature, click <em class="guilabel">Structure/Relation view/</em>
  837. and choose foreign columns.</li>
  838. </ul>
  839. <div class="admonition note">
  840. <p class="first admonition-title">Note</p>
  841. <p class="last">In the current version, <tt class="docutils literal"><span class="pre">master_db</span></tt> must be the same as <tt class="docutils literal"><span class="pre">foreign_db</span></tt>.
  842. Those columns have been put in future development of the cross-db
  843. relations.</p>
  844. </div>
  845. </dd></dl>
  846. <span class="target" id="table-info"></span><dl class="option">
  847. <dt id="cfg_Servers_table_info">
  848. <tt class="descname">$cfg['Servers'][$i]['table_info']</tt><a class="headerlink" href="#cfg_Servers_table_info" title="Permalink to this definition">¶</a></dt>
  849. <dd><table class="docutils field-list" frame="void" rules="none">
  850. <col class="field-name" />
  851. <col class="field-body" />
  852. <tbody valign="top">
  853. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  854. </tr>
  855. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  856. </tr>
  857. </tbody>
  858. </table>
  859. <p>Since release 2.3.0 you can describe, in a special &#8216;table_info&#8217;
  860. table, which column is to be displayed as a tool-tip when moving the
  861. cursor over the corresponding key. This configuration variable will
  862. hold the name of this special table. To allow the usage of this
  863. functionality:</p>
  864. <ul class="simple">
  865. <li>set up <span class="target" id="index-22"></span><a class="reference internal" href="#cfg_Servers_pmadb"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></tt></a> and the phpMyAdmin configuration storage</li>
  866. <li>put the table name in <span class="target" id="index-23"></span><a class="reference internal" href="#cfg_Servers_table_info"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['table_info']</span></tt></a> (e.g.
  867. <tt class="docutils literal"><span class="pre">pma__table_info</span></tt>)</li>
  868. <li>then for each table where you want to use this feature, click
  869. &#8220;Structure/Relation view/Choose column to display&#8221; to choose the
  870. column.</li>
  871. </ul>
  872. <div class="admonition-see-also admonition seealso">
  873. <p class="first admonition-title">See also</p>
  874. <p class="last"><a class="reference internal" href="faq.html#faqdisplay"><em>6.7 How can I use the &#8220;display column&#8221; feature?</em></a></p>
  875. </div>
  876. </dd></dl>
  877. <span class="target" id="table-coords"></span><dl class="option">
  878. <dt id="cfg_Servers_table_coords">
  879. <tt class="descname">$cfg['Servers'][$i]['table_coords']</tt><a class="headerlink" href="#cfg_Servers_table_coords" title="Permalink to this definition">¶</a></dt>
  880. <dd><table class="docutils field-list" frame="void" rules="none">
  881. <col class="field-name" />
  882. <col class="field-body" />
  883. <tbody valign="top">
  884. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  885. </tr>
  886. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  887. </tr>
  888. </tbody>
  889. </table>
  890. </dd></dl>
  891. <dl class="option">
  892. <dt id="cfg_Servers_pdf_pages">
  893. <tt class="descname">$cfg['Servers'][$i]['pdf_pages']</tt><a class="headerlink" href="#cfg_Servers_pdf_pages" title="Permalink to this definition">¶</a></dt>
  894. <dd><table class="docutils field-list" frame="void" rules="none">
  895. <col class="field-name" />
  896. <col class="field-body" />
  897. <tbody valign="top">
  898. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  899. </tr>
  900. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  901. </tr>
  902. </tbody>
  903. </table>
  904. <p>Since release 2.3.0 you can have phpMyAdmin create <a class="reference internal" href="glossary.html#term-pdf"><em class="xref std std-term">PDF</em></a> pages
  905. showing the relations between your tables. To do this it needs two tables
  906. &#8220;pdf_pages&#8221; (storing information about the available <a class="reference internal" href="glossary.html#term-pdf"><em class="xref std std-term">PDF</em></a> pages)
  907. and &#8220;table_coords&#8221; (storing coordinates where each table will be placed on
  908. a <a class="reference internal" href="glossary.html#term-pdf"><em class="xref std std-term">PDF</em></a> schema output). You must be using the &#8220;relation&#8221; feature.</p>
  909. <p>To allow the usage of this functionality:</p>
  910. <ul class="simple">
  911. <li>set up <span class="target" id="index-24"></span><a class="reference internal" href="#cfg_Servers_pmadb"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></tt></a> and the phpMyAdmin configuration storage</li>
  912. <li>put the correct table names in
  913. <span class="target" id="index-25"></span><a class="reference internal" href="#cfg_Servers_table_coords"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['table_coords']</span></tt></a> and
  914. <span class="target" id="index-26"></span><a class="reference internal" href="#cfg_Servers_pdf_pages"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['pdf_pages']</span></tt></a></li>
  915. </ul>
  916. <div class="admonition-see-also admonition seealso">
  917. <p class="first admonition-title">See also</p>
  918. <p class="last"><a class="reference internal" href="faq.html#faqpdf"><em>6.8 How can I produce a PDF schema of my database?</em></a>.</p>
  919. </div>
  920. </dd></dl>
  921. <span class="target" id="col-com"></span><dl class="option">
  922. <dt id="cfg_Servers_column_info">
  923. <tt class="descname">$cfg['Servers'][$i]['column_info']</tt><a class="headerlink" href="#cfg_Servers_column_info" title="Permalink to this definition">¶</a></dt>
  924. <dd><table class="docutils field-list" frame="void" rules="none">
  925. <col class="field-name" />
  926. <col class="field-body" />
  927. <tbody valign="top">
  928. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  929. </tr>
  930. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  931. </tr>
  932. </tbody>
  933. </table>
  934. <p>This part requires a content update! Since release 2.3.0 you can
  935. store comments to describe each column for each table. These will then
  936. be shown on the &#8220;printview&#8221;.</p>
  937. <p>Starting with release 2.5.0, comments are consequently used on the table
  938. property pages and table browse view, showing up as tool-tips above the
  939. column name (properties page) or embedded within the header of table in
  940. browse view. They can also be shown in a table dump. Please see the
  941. relevant configuration directives later on.</p>
  942. <p>Also new in release 2.5.0 is a MIME- transformation system which is also
  943. based on the following table structure. See <a class="reference internal" href="transformations.html#transformations"><em>Transformations</em></a> for
  944. further information. To use the MIME- transformation system, your
  945. column_info table has to have the three new columns &#8216;mimetype&#8217;,
  946. &#8216;transformation&#8217;, &#8216;transformation_options&#8217;.</p>
  947. <p>To allow the usage of this functionality:</p>
  948. <ul>
  949. <li><p class="first">set up <span class="target" id="index-27"></span><a class="reference internal" href="#cfg_Servers_pmadb"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></tt></a> and the phpMyAdmin configuration storage</p>
  950. </li>
  951. <li><p class="first">put the table name in <span class="target" id="index-28"></span><a class="reference internal" href="#cfg_Servers_column_info"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['column_info']</span></tt></a> (e.g.
  952. <tt class="docutils literal"><span class="pre">pma__column_info</span></tt>)</p>
  953. </li>
  954. <li><p class="first">to update your PRE-2.5.0 Column_comments Table use this: and
  955. remember that the Variable in <tt class="file docutils literal"><span class="pre">config.inc.php</span></tt> has been renamed from
  956. <span class="target" id="index-29"></span><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['column_comments']</span></tt> to
  957. <span class="target" id="index-30"></span><a class="reference internal" href="#cfg_Servers_column_info"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['column_info']</span></tt></a></p>
  958. <div class="highlight-mysql"><div class="highlight"><pre><span class="k">ALTER</span> <span class="k">TABLE</span> <span class="ss">`pma__column_comments`</span>
  959. <span class="k">ADD</span> <span class="ss">`mimetype`</span> <span class="kt">VARCHAR</span><span class="p">(</span> <span class="mi">255</span> <span class="p">)</span> <span class="k">NOT</span> <span class="no">NULL</span><span class="p">,</span>
  960. <span class="k">ADD</span> <span class="ss">`transformation`</span> <span class="kt">VARCHAR</span><span class="p">(</span> <span class="mi">255</span> <span class="p">)</span> <span class="k">NOT</span> <span class="no">NULL</span><span class="p">,</span>
  961. <span class="k">ADD</span> <span class="ss">`transformation_options`</span> <span class="kt">VARCHAR</span><span class="p">(</span> <span class="mi">255</span> <span class="p">)</span> <span class="k">NOT</span> <span class="no">NULL</span><span class="p">;</span>
  962. </pre></div>
  963. </div>
  964. </li>
  965. </ul>
  966. </dd></dl>
  967. <span class="target" id="history"></span><dl class="option">
  968. <dt id="cfg_Servers_history">
  969. <tt class="descname">$cfg['Servers'][$i]['history']</tt><a class="headerlink" href="#cfg_Servers_history" title="Permalink to this definition">¶</a></dt>
  970. <dd><table class="docutils field-list" frame="void" rules="none">
  971. <col class="field-name" />
  972. <col class="field-body" />
  973. <tbody valign="top">
  974. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  975. </tr>
  976. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  977. </tr>
  978. </tbody>
  979. </table>
  980. <p>Since release 2.5.0 you can store your <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> history, which means all
  981. queries you entered manually into the phpMyAdmin interface. If you don&#8217;t
  982. want to use a table-based history, you can use the JavaScript-based
  983. history.</p>
  984. <p>Using that, all your history items are deleted when closing the window.
  985. Using <span class="target" id="index-31"></span><a class="reference internal" href="#cfg_QueryHistoryMax"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['QueryHistoryMax']</span></tt></a> you can specify an amount of
  986. history items you want to have on hold. On every login, this list gets cut
  987. to the maximum amount.</p>
  988. <p>The query history is only available if JavaScript is enabled in
  989. your browser.</p>
  990. <p>To allow the usage of this functionality:</p>
  991. <ul class="simple">
  992. <li>set up <span class="target" id="index-32"></span><a class="reference internal" href="#cfg_Servers_pmadb"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></tt></a> and the phpMyAdmin configuration storage</li>
  993. <li>put the table name in <span class="target" id="index-33"></span><a class="reference internal" href="#cfg_Servers_history"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['history']</span></tt></a> (e.g.
  994. <tt class="docutils literal"><span class="pre">pma__history</span></tt>)</li>
  995. </ul>
  996. </dd></dl>
  997. <span class="target" id="recent"></span><dl class="option">
  998. <dt id="cfg_Servers_recent">
  999. <tt class="descname">$cfg['Servers'][$i]['recent']</tt><a class="headerlink" href="#cfg_Servers_recent" title="Permalink to this definition">¶</a></dt>
  1000. <dd><table class="docutils field-list" frame="void" rules="none">
  1001. <col class="field-name" />
  1002. <col class="field-body" />
  1003. <tbody valign="top">
  1004. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  1005. </tr>
  1006. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  1007. </tr>
  1008. </tbody>
  1009. </table>
  1010. <p>Since release 3.5.0 you can show recently used tables in the
  1011. navigation panel. It helps you to jump across table directly, without
  1012. the need to select the database, and then select the table. Using
  1013. <span class="target" id="index-34"></span><a class="reference internal" href="#cfg_NumRecentTables"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['NumRecentTables']</span></tt></a> you can configure the maximum number
  1014. of recent tables shown. When you select a table from the list, it will jump to
  1015. the page specified in <span class="target" id="index-35"></span><a class="reference internal" href="#cfg_NavigationTreeDefaultTabTable"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['NavigationTreeDefaultTabTable']</span></tt></a>.</p>
  1016. <p>Without configuring the storage, you can still access the recently used tables,
  1017. but it will disappear after you logout.</p>
  1018. <p>To allow the usage of this functionality persistently:</p>
  1019. <ul class="simple">
  1020. <li>set up <span class="target" id="index-36"></span><a class="reference internal" href="#cfg_Servers_pmadb"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></tt></a> and the phpMyAdmin configuration storage</li>
  1021. <li>put the table name in <span class="target" id="index-37"></span><a class="reference internal" href="#cfg_Servers_recent"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['recent']</span></tt></a> (e.g.
  1022. <tt class="docutils literal"><span class="pre">pma__recent</span></tt>)</li>
  1023. </ul>
  1024. </dd></dl>
  1025. <span class="target" id="table-uiprefs"></span><dl class="option">
  1026. <dt id="cfg_Servers_table_uiprefs">
  1027. <tt class="descname">$cfg['Servers'][$i]['table_uiprefs']</tt><a class="headerlink" href="#cfg_Servers_table_uiprefs" title="Permalink to this definition">¶</a></dt>
  1028. <dd><table class="docutils field-list" frame="void" rules="none">
  1029. <col class="field-name" />
  1030. <col class="field-body" />
  1031. <tbody valign="top">
  1032. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  1033. </tr>
  1034. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  1035. </tr>
  1036. </tbody>
  1037. </table>
  1038. <p>Since release 3.5.0 phpMyAdmin can be configured to remember several
  1039. things (sorted column <span class="target" id="index-38"></span><a class="reference internal" href="#cfg_RememberSorting"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['RememberSorting']</span></tt></a>, column order,
  1040. and column visibility from a database table) for browsing tables. Without
  1041. configuring the storage, these features still can be used, but the values will
  1042. disappear after you logout.</p>
  1043. <p>To allow the usage of these functionality persistently:</p>
  1044. <ul class="simple">
  1045. <li>set up <span class="target" id="index-39"></span><a class="reference internal" href="#cfg_Servers_pmadb"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></tt></a> and the phpMyAdmin configuration storage</li>
  1046. <li>put the table name in <span class="target" id="index-40"></span><a class="reference internal" href="#cfg_Servers_table_uiprefs"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['table_uiprefs']</span></tt></a> (e.g.
  1047. <tt class="docutils literal"><span class="pre">pma__table_uiprefs</span></tt>)</li>
  1048. </ul>
  1049. </dd></dl>
  1050. <span class="target" id="configurablemenus"></span><dl class="option">
  1051. <dt id="cfg_Servers_users">
  1052. <tt class="descname">$cfg['Servers'][$i]['users']</tt><a class="headerlink" href="#cfg_Servers_users" title="Permalink to this definition">¶</a></dt>
  1053. <dd><table class="docutils field-list" frame="void" rules="none">
  1054. <col class="field-name" />
  1055. <col class="field-body" />
  1056. <tbody valign="top">
  1057. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  1058. </tr>
  1059. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  1060. </tr>
  1061. </tbody>
  1062. </table>
  1063. </dd></dl>
  1064. <dl class="option">
  1065. <dt id="cfg_Servers_usergroups">
  1066. <tt class="descname">$cfg['Servers'][$i]['usergroups']</tt><a class="headerlink" href="#cfg_Servers_usergroups" title="Permalink to this definition">¶</a></dt>
  1067. <dd><table class="docutils field-list" frame="void" rules="none">
  1068. <col class="field-name" />
  1069. <col class="field-body" />
  1070. <tbody valign="top">
  1071. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  1072. </tr>
  1073. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  1074. </tr>
  1075. </tbody>
  1076. </table>
  1077. <p>Since release 4.1.0 you can create different user groups with menu items
  1078. attached to them. Users can be assigned to these groups and the logged in
  1079. user would only see menu items configured to the usergroup he is assigned to.
  1080. To do this it needs two tables &#8220;usergroups&#8221; (storing allowed menu items for each
  1081. user group) and &#8220;users&#8221; (storing users and their assignments to user groups).</p>
  1082. <p>To allow the usage of this functionality:</p>
  1083. <ul class="simple">
  1084. <li>set up <span class="target" id="index-41"></span><a class="reference internal" href="#cfg_Servers_pmadb"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></tt></a> and the phpMyAdmin configuration storage</li>
  1085. <li>put the correct table names in
  1086. <span class="target" id="index-42"></span><a class="reference internal" href="#cfg_Servers_users"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['users']</span></tt></a> (e.g. <tt class="docutils literal"><span class="pre">pma__users</span></tt>) and
  1087. <span class="target" id="index-43"></span><a class="reference internal" href="#cfg_Servers_usergroups"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['usergroups']</span></tt></a> (e.g. <tt class="docutils literal"><span class="pre">pma__usergroups</span></tt>)</li>
  1088. </ul>
  1089. </dd></dl>
  1090. <span class="target" id="navigationhiding"></span><dl class="option">
  1091. <dt id="cfg_Servers_navigationhiding">
  1092. <tt class="descname">$cfg['Servers'][$i]['navigationhiding']</tt><a class="headerlink" href="#cfg_Servers_navigationhiding" title="Permalink to this definition">¶</a></dt>
  1093. <dd><table class="docutils field-list" frame="void" rules="none">
  1094. <col class="field-name" />
  1095. <col class="field-body" />
  1096. <tbody valign="top">
  1097. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  1098. </tr>
  1099. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  1100. </tr>
  1101. </tbody>
  1102. </table>
  1103. <p>Since release 4.1.0 you can hide/show items in the navigation tree.</p>
  1104. <p>To allow the usage of this functionality:</p>
  1105. <ul class="simple">
  1106. <li>set up <span class="target" id="index-44"></span><a class="reference internal" href="#cfg_Servers_pmadb"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></tt></a> and the phpMyAdmin configuration storage</li>
  1107. <li>put the table name in <span class="target" id="index-45"></span><a class="reference internal" href="#cfg_Servers_navigationhiding"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['navigationhiding']</span></tt></a> (e.g.
  1108. <tt class="docutils literal"><span class="pre">pma__navigationhiding</span></tt>)</li>
  1109. </ul>
  1110. </dd></dl>
  1111. <span class="target" id="savedsearches"></span><dl class="option">
  1112. <dt id="cfg_Servers_savedsearches">
  1113. <tt class="descname">$cfg['Servers'][$i]['savedsearches']</tt><a class="headerlink" href="#cfg_Servers_savedsearches" title="Permalink to this definition">¶</a></dt>
  1114. <dd><table class="docutils field-list" frame="void" rules="none">
  1115. <col class="field-name" />
  1116. <col class="field-body" />
  1117. <tbody valign="top">
  1118. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  1119. </tr>
  1120. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  1121. </tr>
  1122. </tbody>
  1123. </table>
  1124. <p>Since release 4.2.0 you can save and load query-by-example searches from the Database &gt; Query panel.</p>
  1125. <p>To allow the usage of this functionality:</p>
  1126. <ul class="simple">
  1127. <li>set up <span class="target" id="index-46"></span><a class="reference internal" href="#cfg_Servers_pmadb"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></tt></a> and the phpMyAdmin configuration storage</li>
  1128. <li>put the table name in <span class="target" id="index-47"></span><a class="reference internal" href="#cfg_Servers_savedsearches"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['savedsearches']</span></tt></a> (e.g.
  1129. <tt class="docutils literal"><span class="pre">pma__savedsearches</span></tt>)</li>
  1130. </ul>
  1131. </dd></dl>
  1132. <span class="target" id="tracking"></span><dl class="option">
  1133. <dt id="cfg_Servers_tracking">
  1134. <tt class="descname">$cfg['Servers'][$i]['tracking']</tt><a class="headerlink" href="#cfg_Servers_tracking" title="Permalink to this definition">¶</a></dt>
  1135. <dd><table class="docutils field-list" frame="void" rules="none">
  1136. <col class="field-name" />
  1137. <col class="field-body" />
  1138. <tbody valign="top">
  1139. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  1140. </tr>
  1141. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  1142. </tr>
  1143. </tbody>
  1144. </table>
  1145. <p>Since release 3.3.x a tracking mechanism is available. It helps you to
  1146. track every <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> command which is
  1147. executed by phpMyAdmin. The mechanism supports logging of data
  1148. manipulation and data definition statements. After enabling it you can
  1149. create versions of tables.</p>
  1150. <p>The creation of a version has two effects:</p>
  1151. <ul class="simple">
  1152. <li>phpMyAdmin saves a snapshot of the table, including structure and
  1153. indexes.</li>
  1154. <li>phpMyAdmin logs all commands which change the structure and/or data of
  1155. the table and links these commands with the version number.</li>
  1156. </ul>
  1157. <p>Of course you can view the tracked changes. On the <em class="guilabel">Tracking</em>
  1158. page a complete report is available for every version. For the report you
  1159. can use filters, for example you can get a list of statements within a date
  1160. range. When you want to filter usernames you can enter * for all names or
  1161. you enter a list of names separated by &#8216;,&#8217;. In addition you can export the
  1162. (filtered) report to a file or to a temporary database.</p>
  1163. <p>To allow the usage of this functionality:</p>
  1164. <ul class="simple">
  1165. <li>set up <span class="target" id="index-48"></span><a class="reference internal" href="#cfg_Servers_pmadb"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></tt></a> and the phpMyAdmin configuration storage</li>
  1166. <li>put the table name in <span class="target" id="index-49"></span><a class="reference internal" href="#cfg_Servers_tracking"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['tracking']</span></tt></a> (e.g.
  1167. <tt class="docutils literal"><span class="pre">pma__tracking</span></tt>)</li>
  1168. </ul>
  1169. </dd></dl>
  1170. <span class="target" id="tracking2"></span><dl class="option">
  1171. <dt id="cfg_Servers_tracking_version_auto_create">
  1172. <tt class="descname">$cfg['Servers'][$i]['tracking_version_auto_create']</tt><a class="headerlink" href="#cfg_Servers_tracking_version_auto_create" title="Permalink to this definition">¶</a></dt>
  1173. <dd><table class="docutils field-list" frame="void" rules="none">
  1174. <col class="field-name" />
  1175. <col class="field-body" />
  1176. <tbody valign="top">
  1177. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  1178. </tr>
  1179. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  1180. </tr>
  1181. </tbody>
  1182. </table>
  1183. <p>Whether the tracking mechanism creates versions for tables and views
  1184. automatically.</p>
  1185. <p>If this is set to true and you create a table or view with</p>
  1186. <ul class="simple">
  1187. <li>CREATE TABLE ...</li>
  1188. <li>CREATE VIEW ...</li>
  1189. </ul>
  1190. <p>and no version exists for it, the mechanism will create a version for
  1191. you automatically.</p>
  1192. </dd></dl>
  1193. <span class="target" id="tracking3"></span><dl class="option">
  1194. <dt id="cfg_Servers_tracking_default_statements">
  1195. <tt class="descname">$cfg['Servers'][$i]['tracking_default_statements']</tt><a class="headerlink" href="#cfg_Servers_tracking_default_statements" title="Permalink to this definition">¶</a></dt>
  1196. <dd><table class="docutils field-list" frame="void" rules="none">
  1197. <col class="field-name" />
  1198. <col class="field-body" />
  1199. <tbody valign="top">
  1200. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  1201. </tr>
  1202. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'CREATE</span> <span class="pre">TABLE,ALTER</span> <span class="pre">TABLE,DROP</span> <span class="pre">TABLE,RENAME</span> <span class="pre">TABLE,CREATE</span> <span class="pre">INDEX,DROP</span> <span class="pre">INDEX,INSERT,UPDATE,DELETE,TRUNCATE,REPLACE,CREATE</span> <span class="pre">VIEW,ALTER</span> <span class="pre">VIEW,DROP</span> <span class="pre">VIEW,CREATE</span> <span class="pre">DATABASE,ALTER</span> <span class="pre">DATABASE,DROP</span> <span class="pre">DATABASE'</span></tt></td>
  1203. </tr>
  1204. </tbody>
  1205. </table>
  1206. <p>Defines the list of statements the auto-creation uses for new
  1207. versions.</p>
  1208. </dd></dl>
  1209. <span class="target" id="tracking4"></span><dl class="option">
  1210. <dt id="cfg_Servers_tracking_add_drop_view">
  1211. <tt class="descname">$cfg['Servers'][$i]['tracking_add_drop_view']</tt><a class="headerlink" href="#cfg_Servers_tracking_add_drop_view" title="Permalink to this definition">¶</a></dt>
  1212. <dd><table class="docutils field-list" frame="void" rules="none">
  1213. <col class="field-name" />
  1214. <col class="field-body" />
  1215. <tbody valign="top">
  1216. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  1217. </tr>
  1218. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  1219. </tr>
  1220. </tbody>
  1221. </table>
  1222. <p>Whether a DROP VIEW IF EXISTS statement will be added as first line to
  1223. the log when creating a view.</p>
  1224. </dd></dl>
  1225. <span class="target" id="tracking5"></span><dl class="option">
  1226. <dt id="cfg_Servers_tracking_add_drop_table">
  1227. <tt class="descname">$cfg['Servers'][$i]['tracking_add_drop_table']</tt><a class="headerlink" href="#cfg_Servers_tracking_add_drop_table" title="Permalink to this definition">¶</a></dt>
  1228. <dd><table class="docutils field-list" frame="void" rules="none">
  1229. <col class="field-name" />
  1230. <col class="field-body" />
  1231. <tbody valign="top">
  1232. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  1233. </tr>
  1234. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  1235. </tr>
  1236. </tbody>
  1237. </table>
  1238. <p>Whether a DROP TABLE IF EXISTS statement will be added as first line
  1239. to the log when creating a table.</p>
  1240. </dd></dl>
  1241. <span class="target" id="tracking6"></span><dl class="option">
  1242. <dt id="cfg_Servers_tracking_add_drop_database">
  1243. <tt class="descname">$cfg['Servers'][$i]['tracking_add_drop_database']</tt><a class="headerlink" href="#cfg_Servers_tracking_add_drop_database" title="Permalink to this definition">¶</a></dt>
  1244. <dd><table class="docutils field-list" frame="void" rules="none">
  1245. <col class="field-name" />
  1246. <col class="field-body" />
  1247. <tbody valign="top">
  1248. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  1249. </tr>
  1250. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  1251. </tr>
  1252. </tbody>
  1253. </table>
  1254. <p>Whether a DROP DATABASE IF EXISTS statement will be added as first
  1255. line to the log when creating a database.</p>
  1256. </dd></dl>
  1257. <span class="target" id="userconfig"></span><dl class="option">
  1258. <dt id="cfg_Servers_userconfig">
  1259. <tt class="descname">$cfg['Servers'][$i]['userconfig']</tt><a class="headerlink" href="#cfg_Servers_userconfig" title="Permalink to this definition">¶</a></dt>
  1260. <dd><table class="docutils field-list" frame="void" rules="none">
  1261. <col class="field-name" />
  1262. <col class="field-body" />
  1263. <tbody valign="top">
  1264. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  1265. </tr>
  1266. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  1267. </tr>
  1268. </tbody>
  1269. </table>
  1270. <p>Since release 3.4.x phpMyAdmin allows users to set most preferences by
  1271. themselves and store them in the database.</p>
  1272. <p>If you don&#8217;t allow for storing preferences in
  1273. <span class="target" id="index-50"></span><a class="reference internal" href="#cfg_Servers_pmadb"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></tt></a>, users can still personalize
  1274. phpMyAdmin, but settings will be saved in browser&#8217;s local storage, or, it
  1275. is is unavailable, until the end of session.</p>
  1276. <p>To allow the usage of this functionality:</p>
  1277. <ul class="simple">
  1278. <li>set up <span class="target" id="index-51"></span><a class="reference internal" href="#cfg_Servers_pmadb"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></tt></a> and the phpMyAdmin configuration storage</li>
  1279. <li>put the table name in <span class="target" id="index-52"></span><a class="reference internal" href="#cfg_Servers_userconfig"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['userconfig']</span></tt></a></li>
  1280. </ul>
  1281. </dd></dl>
  1282. <span class="target" id="designer-coords"></span><dl class="option">
  1283. <dt id="cfg_Servers_designer_coords">
  1284. <tt class="descname">$cfg['Servers'][$i]['designer_coords']</tt><a class="headerlink" href="#cfg_Servers_designer_coords" title="Permalink to this definition">¶</a></dt>
  1285. <dd><table class="docutils field-list" frame="void" rules="none">
  1286. <col class="field-name" />
  1287. <col class="field-body" />
  1288. <tbody valign="top">
  1289. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  1290. </tr>
  1291. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  1292. </tr>
  1293. </tbody>
  1294. </table>
  1295. <p>Since release 2.10.0 a Designer interface is available; it permits to
  1296. visually manage the relations.</p>
  1297. <p>To allow the usage of this functionality:</p>
  1298. <ul class="simple">
  1299. <li>set up <span class="target" id="index-53"></span><a class="reference internal" href="#cfg_Servers_pmadb"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></tt></a> and the phpMyAdmin configuration storage</li>
  1300. <li>put the table name in <span class="target" id="index-54"></span><a class="reference internal" href="#cfg_Servers_designer_coords"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['designer_coords']</span></tt></a>
  1301. (e.g. <tt class="docutils literal"><span class="pre">pma__designer_coords</span></tt>)</li>
  1302. </ul>
  1303. </dd></dl>
  1304. <dl class="option">
  1305. <dt id="cfg_Servers_MaxTableUiprefs">
  1306. <tt class="descname">$cfg['Servers'][$i]['MaxTableUiprefs']</tt><a class="headerlink" href="#cfg_Servers_MaxTableUiprefs" title="Permalink to this definition">¶</a></dt>
  1307. <dd><table class="docutils field-list" frame="void" rules="none">
  1308. <col class="field-name" />
  1309. <col class="field-body" />
  1310. <tbody valign="top">
  1311. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  1312. </tr>
  1313. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">100</td>
  1314. </tr>
  1315. </tbody>
  1316. </table>
  1317. <p>Maximum number of rows saved in
  1318. <span class="target" id="index-55"></span><a class="reference internal" href="#cfg_Servers_table_uiprefs"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['table_uiprefs']</span></tt></a> table.</p>
  1319. <p>When tables are dropped or renamed,
  1320. <span class="target" id="index-56"></span><a class="reference internal" href="#cfg_Servers_table_uiprefs"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['table_uiprefs']</span></tt></a> may contain invalid data
  1321. (referring to tables which no longer exist). We only keep this number of newest
  1322. rows in <span class="target" id="index-57"></span><a class="reference internal" href="#cfg_Servers_table_uiprefs"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['table_uiprefs']</span></tt></a> and automatically
  1323. delete older rows.</p>
  1324. </dd></dl>
  1325. <dl class="option">
  1326. <dt id="cfg_Servers_AllowRoot">
  1327. <tt class="descname">$cfg['Servers'][$i]['AllowRoot']</tt><a class="headerlink" href="#cfg_Servers_AllowRoot" title="Permalink to this definition">¶</a></dt>
  1328. <dd><table class="docutils field-list" frame="void" rules="none">
  1329. <col class="field-name" />
  1330. <col class="field-body" />
  1331. <tbody valign="top">
  1332. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  1333. </tr>
  1334. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  1335. </tr>
  1336. </tbody>
  1337. </table>
  1338. <p>Whether to allow root access. This is just a shortcut for the
  1339. <span class="target" id="index-58"></span><a class="reference internal" href="#cfg_Servers_AllowDeny_rules"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['AllowDeny']['rules']</span></tt></a> below.</p>
  1340. </dd></dl>
  1341. <dl class="option">
  1342. <dt id="cfg_Servers_AllowNoPassword">
  1343. <tt class="descname">$cfg['Servers'][$i]['AllowNoPassword']</tt><a class="headerlink" href="#cfg_Servers_AllowNoPassword" title="Permalink to this definition">¶</a></dt>
  1344. <dd><table class="docutils field-list" frame="void" rules="none">
  1345. <col class="field-name" />
  1346. <col class="field-body" />
  1347. <tbody valign="top">
  1348. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  1349. </tr>
  1350. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  1351. </tr>
  1352. </tbody>
  1353. </table>
  1354. <p>Whether to allow logins without a password. The default value of
  1355. <tt class="docutils literal"><span class="pre">false</span></tt> for this parameter prevents unintended access to a MySQL
  1356. server with was left with an empty password for root or on which an
  1357. anonymous (blank) user is defined.</p>
  1358. </dd></dl>
  1359. <span class="target" id="servers-allowdeny-order"></span><dl class="option">
  1360. <dt id="cfg_Servers_AllowDeny_order">
  1361. <tt class="descname">$cfg['Servers'][$i]['AllowDeny']['order']</tt><a class="headerlink" href="#cfg_Servers_AllowDeny_order" title="Permalink to this definition">¶</a></dt>
  1362. <dd><table class="docutils field-list" frame="void" rules="none">
  1363. <col class="field-name" />
  1364. <col class="field-body" />
  1365. <tbody valign="top">
  1366. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  1367. </tr>
  1368. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  1369. </tr>
  1370. </tbody>
  1371. </table>
  1372. <p>If your rule order is empty, then <a class="reference internal" href="glossary.html#term-ip"><em class="xref std std-term">IP</em></a>
  1373. authorization is disabled.</p>
  1374. <p>If your rule order is set to
  1375. <tt class="docutils literal"><span class="pre">'deny,allow'</span></tt> then the system applies all deny rules followed by
  1376. allow rules. Access is allowed by default. Any client which does not
  1377. match a Deny command or does match an Allow command will be allowed
  1378. access to the server.</p>
  1379. <p>If your rule order is set to <tt class="docutils literal"><span class="pre">'allow,deny'</span></tt>
  1380. then the system applies all allow rules followed by deny rules. Access
  1381. is denied by default. Any client which does not match an Allow
  1382. directive or does match a Deny directive will be denied access to the
  1383. server.</p>
  1384. <p>If your rule order is set to <tt class="docutils literal"><span class="pre">'explicit'</span></tt>, authorization is
  1385. performed in a similar fashion to rule order &#8216;deny,allow&#8217;, with the
  1386. added restriction that your host/username combination <strong>must</strong> be
  1387. listed in the <em>allow</em> rules, and not listed in the <em>deny</em> rules. This
  1388. is the <strong>most</strong> secure means of using Allow/Deny rules, and was
  1389. available in Apache by specifying allow and deny rules without setting
  1390. any order.</p>
  1391. <p>Please also see <span class="target" id="index-59"></span><a class="reference internal" href="#cfg_TrustedProxies"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['TrustedProxies']</span></tt></a> for
  1392. detecting IP address behind proxies.</p>
  1393. </dd></dl>
  1394. <span class="target" id="servers-allowdeny-rules"></span><dl class="option">
  1395. <dt id="cfg_Servers_AllowDeny_rules">
  1396. <tt class="descname">$cfg['Servers'][$i]['AllowDeny']['rules']</tt><a class="headerlink" href="#cfg_Servers_AllowDeny_rules" title="Permalink to this definition">¶</a></dt>
  1397. <dd><table class="docutils field-list" frame="void" rules="none">
  1398. <col class="field-name" />
  1399. <col class="field-body" />
  1400. <tbody valign="top">
  1401. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">array of strings</td>
  1402. </tr>
  1403. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">array()</td>
  1404. </tr>
  1405. </tbody>
  1406. </table>
  1407. <p>The general format for the rules is as such:</p>
  1408. <div class="highlight-none"><div class="highlight"><pre>&lt;&#39;allow&#39; | &#39;deny&#39;&gt; &lt;username&gt; [from] &lt;ipmask&gt;
  1409. </pre></div>
  1410. </div>
  1411. <p>If you wish to match all users, it is possible to use a <tt class="docutils literal"><span class="pre">'%'</span></tt> as a
  1412. wildcard in the <em>username</em> field.</p>
  1413. <p>There are a few shortcuts you can
  1414. use in the <em>ipmask</em> field as well (please note that those containing
  1415. SERVER_ADDRESS might not be available on all webservers):</p>
  1416. <div class="highlight-none"><div class="highlight"><pre>&#39;all&#39; -&gt; 0.0.0.0/0
  1417. &#39;localhost&#39; -&gt; 127.0.0.1/8
  1418. &#39;localnetA&#39; -&gt; SERVER_ADDRESS/8
  1419. &#39;localnetB&#39; -&gt; SERVER_ADDRESS/16
  1420. &#39;localnetC&#39; -&gt; SERVER_ADDRESS/24
  1421. </pre></div>
  1422. </div>
  1423. <p>Having an empty rule list is equivalent to either using <tt class="docutils literal"><span class="pre">'allow</span> <span class="pre">%</span>
  1424. <span class="pre">from</span> <span class="pre">all'</span></tt> if your rule order is set to <tt class="docutils literal"><span class="pre">'deny,allow'</span></tt> or <tt class="docutils literal"><span class="pre">'deny</span> <span class="pre">%</span>
  1425. <span class="pre">from</span> <span class="pre">all'</span></tt> if your rule order is set to <tt class="docutils literal"><span class="pre">'allow,deny'</span></tt> or
  1426. <tt class="docutils literal"><span class="pre">'explicit'</span></tt>.</p>
  1427. <p>For the <a class="reference internal" href="glossary.html#term-ip-address"><em class="xref std std-term">IP address</em></a> matching
  1428. system, the following work:</p>
  1429. <ul class="simple">
  1430. <li><tt class="docutils literal"><span class="pre">xxx.xxx.xxx.xxx</span></tt> (an exact <a class="reference internal" href="glossary.html#term-ip-address"><em class="xref std std-term">IP address</em></a>)</li>
  1431. <li><tt class="docutils literal"><span class="pre">xxx.xxx.xxx.[yyy-zzz]</span></tt> (an <a class="reference internal" href="glossary.html#term-ip-address"><em class="xref std std-term">IP address</em></a> range)</li>
  1432. <li><tt class="docutils literal"><span class="pre">xxx.xxx.xxx.xxx/nn</span></tt> (CIDR, Classless Inter-Domain Routing type <a class="reference internal" href="glossary.html#term-ip"><em class="xref std std-term">IP</em></a> addresses)</li>
  1433. </ul>
  1434. <p>But the following does not work:</p>
  1435. <ul class="simple">
  1436. <li><tt class="docutils literal"><span class="pre">xxx.xxx.xxx.xx[yyy-zzz]</span></tt> (partial <a class="reference internal" href="glossary.html#term-ip"><em class="xref std std-term">IP</em></a> address range)</li>
  1437. </ul>
  1438. <p>For <a class="reference internal" href="glossary.html#term-ipv6"><em class="xref std std-term">IPv6</em></a> addresses, the following work:</p>
  1439. <ul class="simple">
  1440. <li><tt class="docutils literal"><span class="pre">xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx</span></tt> (an exact <a class="reference internal" href="glossary.html#term-ipv6"><em class="xref std std-term">IPv6</em></a> address)</li>
  1441. <li><tt class="docutils literal"><span class="pre">xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:[yyyy-zzzz]</span></tt> (an <a class="reference internal" href="glossary.html#term-ipv6"><em class="xref std std-term">IPv6</em></a> address range)</li>
  1442. <li><tt class="docutils literal"><span class="pre">xxxx:xxxx:xxxx:xxxx/nn</span></tt> (CIDR, Classless Inter-Domain Routing type <a class="reference internal" href="glossary.html#term-ipv6"><em class="xref std std-term">IPv6</em></a> addresses)</li>
  1443. </ul>
  1444. <p>But the following does not work:</p>
  1445. <ul class="simple">
  1446. <li><tt class="docutils literal"><span class="pre">xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xx[yyy-zzz]</span></tt> (partial <a class="reference internal" href="glossary.html#term-ipv6"><em class="xref std std-term">IPv6</em></a> address range)</li>
  1447. </ul>
  1448. </dd></dl>
  1449. <dl class="option">
  1450. <dt id="cfg_Servers_SignonScript">
  1451. <tt class="descname">$cfg['Servers'][$i]['SignonScript']</tt><a class="headerlink" href="#cfg_Servers_SignonScript" title="Permalink to this definition">¶</a></dt>
  1452. <dd><table class="docutils field-list" frame="void" rules="none">
  1453. <col class="field-name" />
  1454. <col class="field-body" />
  1455. <tbody valign="top">
  1456. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  1457. </tr>
  1458. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  1459. </tr>
  1460. </tbody>
  1461. </table>
  1462. <p>Name of PHP script to be sourced and executed to obtain login
  1463. credentials. This is alternative approach to session based single
  1464. signon. The script needs to provide function
  1465. <tt class="docutils literal"><span class="pre">get_login_credentials</span></tt> which returns list of username and
  1466. password, accepting single parameter of existing username (can be
  1467. empty). See <tt class="file docutils literal"><span class="pre">examples/signon-script.php</span></tt> for an example.</p>
  1468. </dd></dl>
  1469. <dl class="option">
  1470. <dt id="cfg_Servers_SignonSession">
  1471. <tt class="descname">$cfg['Servers'][$i]['SignonSession']</tt><a class="headerlink" href="#cfg_Servers_SignonSession" title="Permalink to this definition">¶</a></dt>
  1472. <dd><table class="docutils field-list" frame="void" rules="none">
  1473. <col class="field-name" />
  1474. <col class="field-body" />
  1475. <tbody valign="top">
  1476. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  1477. </tr>
  1478. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  1479. </tr>
  1480. </tbody>
  1481. </table>
  1482. <p>Name of session which will be used for signon authentication method.
  1483. You should use something different than <tt class="docutils literal"><span class="pre">phpMyAdmin</span></tt>, because this
  1484. is session which phpMyAdmin uses internally. Takes effect only if
  1485. <span class="target" id="index-60"></span><a class="reference internal" href="#cfg_Servers_SignonScript"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['SignonScript']</span></tt></a> is not configured.</p>
  1486. </dd></dl>
  1487. <dl class="option">
  1488. <dt id="cfg_Servers_SignonURL">
  1489. <tt class="descname">$cfg['Servers'][$i]['SignonURL']</tt><a class="headerlink" href="#cfg_Servers_SignonURL" title="Permalink to this definition">¶</a></dt>
  1490. <dd><table class="docutils field-list" frame="void" rules="none">
  1491. <col class="field-name" />
  1492. <col class="field-body" />
  1493. <tbody valign="top">
  1494. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  1495. </tr>
  1496. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  1497. </tr>
  1498. </tbody>
  1499. </table>
  1500. <p><a class="reference internal" href="glossary.html#term-url"><em class="xref std std-term">URL</em></a> where user will be redirected
  1501. to log in for signon authentication method. Should be absolute
  1502. including protocol.</p>
  1503. </dd></dl>
  1504. <dl class="option">
  1505. <dt id="cfg_Servers_LogoutURL">
  1506. <tt class="descname">$cfg['Servers'][$i]['LogoutURL']</tt><a class="headerlink" href="#cfg_Servers_LogoutURL" title="Permalink to this definition">¶</a></dt>
  1507. <dd><table class="docutils field-list" frame="void" rules="none">
  1508. <col class="field-name" />
  1509. <col class="field-body" />
  1510. <tbody valign="top">
  1511. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  1512. </tr>
  1513. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  1514. </tr>
  1515. </tbody>
  1516. </table>
  1517. <p><a class="reference internal" href="glossary.html#term-url"><em class="xref std std-term">URL</em></a> where user will be redirected
  1518. after logout (doesn&#8217;t affect config authentication method). Should be
  1519. absolute including protocol.</p>
  1520. </dd></dl>
  1521. <dl class="option">
  1522. <dt id="cfg_Servers_StatusCacheDatabases">
  1523. <tt class="descname">$cfg['Servers'][$i]['StatusCacheDatabases']</tt><a class="headerlink" href="#cfg_Servers_StatusCacheDatabases" title="Permalink to this definition">¶</a></dt>
  1524. <dd><table class="docutils field-list" frame="void" rules="none">
  1525. <col class="field-name" />
  1526. <col class="field-body" />
  1527. <tbody valign="top">
  1528. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">array of strings</td>
  1529. </tr>
  1530. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">array()</td>
  1531. </tr>
  1532. </tbody>
  1533. </table>
  1534. <p>Enables caching of <tt class="docutils literal"><span class="pre">TABLE</span> <span class="pre">STATUS</span></tt> outputs for specific databases on
  1535. this server (in some cases <tt class="docutils literal"><span class="pre">TABLE</span> <span class="pre">STATUS</span></tt> can be very slow, so you
  1536. may want to cache it). APC is used (if the PHP extension is available,
  1537. if not, this setting is ignored silently). You have to provide
  1538. <span class="target" id="index-61"></span><a class="reference internal" href="#cfg_Servers_StatusCacheLifetime"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['StatusCacheLifetime']</span></tt></a>.</p>
  1539. </dd></dl>
  1540. <dl class="option">
  1541. <dt id="cfg_Servers_StatusCacheLifetime">
  1542. <tt class="descname">$cfg['Servers'][$i]['StatusCacheLifetime']</tt><a class="headerlink" href="#cfg_Servers_StatusCacheLifetime" title="Permalink to this definition">¶</a></dt>
  1543. <dd><table class="docutils field-list" frame="void" rules="none">
  1544. <col class="field-name" />
  1545. <col class="field-body" />
  1546. <tbody valign="top">
  1547. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  1548. </tr>
  1549. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">0</td>
  1550. </tr>
  1551. </tbody>
  1552. </table>
  1553. <p>Lifetime in seconds of the <tt class="docutils literal"><span class="pre">TABLE</span> <span class="pre">STATUS</span></tt> cache if
  1554. <span class="target" id="index-62"></span><a class="reference internal" href="#cfg_Servers_StatusCacheDatabases"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['StatusCacheDatabases']</span></tt></a> is used.</p>
  1555. </dd></dl>
  1556. </div>
  1557. <div class="section" id="generic-settings">
  1558. <h2>Generic settings<a class="headerlink" href="#generic-settings" title="Permalink to this headline">¶</a></h2>
  1559. <dl class="option">
  1560. <dt id="cfg_ServerDefault">
  1561. <tt class="descname">$cfg['ServerDefault']</tt><a class="headerlink" href="#cfg_ServerDefault" title="Permalink to this definition">¶</a></dt>
  1562. <dd><table class="docutils field-list" frame="void" rules="none">
  1563. <col class="field-name" />
  1564. <col class="field-body" />
  1565. <tbody valign="top">
  1566. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  1567. </tr>
  1568. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">1</td>
  1569. </tr>
  1570. </tbody>
  1571. </table>
  1572. <p>If you have more than one server configured, you can set
  1573. <span class="target" id="index-63"></span><a class="reference internal" href="#cfg_ServerDefault"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['ServerDefault']</span></tt></a> to any one of them to autoconnect to that
  1574. server when phpMyAdmin is started, or set it to 0 to be given a list
  1575. of servers without logging in.</p>
  1576. <p>If you have only one server configured,
  1577. <span class="target" id="index-64"></span><a class="reference internal" href="#cfg_ServerDefault"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['ServerDefault']</span></tt></a> MUST be set to that server.</p>
  1578. </dd></dl>
  1579. <dl class="option">
  1580. <dt id="cfg_VersionCheck">
  1581. <tt class="descname">$cfg['VersionCheck']</tt><a class="headerlink" href="#cfg_VersionCheck" title="Permalink to this definition">¶</a></dt>
  1582. <dd><table class="docutils field-list" frame="void" rules="none">
  1583. <col class="field-name" />
  1584. <col class="field-body" />
  1585. <tbody valign="top">
  1586. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  1587. </tr>
  1588. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  1589. </tr>
  1590. </tbody>
  1591. </table>
  1592. <p>Enables check for latest versions using javascript on main phpMyAdmin
  1593. page.</p>
  1594. <div class="admonition note">
  1595. <p class="first admonition-title">Note</p>
  1596. <p class="last">This setting can be adjusted by your vendor.</p>
  1597. </div>
  1598. </dd></dl>
  1599. <dl class="option">
  1600. <dt id="cfg_ProxyUrl">
  1601. <tt class="descname">$cfg['ProxyUrl']</tt><a class="headerlink" href="#cfg_ProxyUrl" title="Permalink to this definition">¶</a></dt>
  1602. <dd><table class="docutils field-list" frame="void" rules="none">
  1603. <col class="field-name" />
  1604. <col class="field-body" />
  1605. <tbody valign="top">
  1606. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  1607. </tr>
  1608. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">&#8220;&#8221;</td>
  1609. </tr>
  1610. </tbody>
  1611. </table>
  1612. <p>The url of the proxy to be used when phpmyadmin needs to access the outside
  1613. intenet such as when retrieving the latest version info or submitting error
  1614. reports. You need this if the server where phpMyAdmin is installed does not
  1615. have direct access to the internet.
  1616. The format is: &#8220;hostname:portnumber&#8221;</p>
  1617. </dd></dl>
  1618. <dl class="option">
  1619. <dt id="cfg_ProxyUser">
  1620. <tt class="descname">$cfg['ProxyUser']</tt><a class="headerlink" href="#cfg_ProxyUser" title="Permalink to this definition">¶</a></dt>
  1621. <dd><table class="docutils field-list" frame="void" rules="none">
  1622. <col class="field-name" />
  1623. <col class="field-body" />
  1624. <tbody valign="top">
  1625. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  1626. </tr>
  1627. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">&#8220;&#8221;</td>
  1628. </tr>
  1629. </tbody>
  1630. </table>
  1631. <p>The username for authenticating with the proxy. By default, no
  1632. authentication is performed. If a username is supplied, Basic
  1633. Authentication will be performed. No other types of authentication
  1634. are currently supported.</p>
  1635. </dd></dl>
  1636. <dl class="option">
  1637. <dt id="cfg_ProxyPass">
  1638. <tt class="descname">$cfg['ProxyPass']</tt><a class="headerlink" href="#cfg_ProxyPass" title="Permalink to this definition">¶</a></dt>
  1639. <dd><table class="docutils field-list" frame="void" rules="none">
  1640. <col class="field-name" />
  1641. <col class="field-body" />
  1642. <tbody valign="top">
  1643. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  1644. </tr>
  1645. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">&#8220;&#8221;</td>
  1646. </tr>
  1647. </tbody>
  1648. </table>
  1649. <p>The password for authenticating with the proxy.</p>
  1650. </dd></dl>
  1651. <dl class="option">
  1652. <dt id="cfg_MaxDbList">
  1653. <tt class="descname">$cfg['MaxDbList']</tt><a class="headerlink" href="#cfg_MaxDbList" title="Permalink to this definition">¶</a></dt>
  1654. <dd><table class="docutils field-list" frame="void" rules="none">
  1655. <col class="field-name" />
  1656. <col class="field-body" />
  1657. <tbody valign="top">
  1658. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  1659. </tr>
  1660. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">100</td>
  1661. </tr>
  1662. </tbody>
  1663. </table>
  1664. <p>The maximum number of database names to be displayed in the main panel&#8217;s
  1665. database list.</p>
  1666. </dd></dl>
  1667. <dl class="option">
  1668. <dt id="cfg_MaxTableList">
  1669. <tt class="descname">$cfg['MaxTableList']</tt><a class="headerlink" href="#cfg_MaxTableList" title="Permalink to this definition">¶</a></dt>
  1670. <dd><table class="docutils field-list" frame="void" rules="none">
  1671. <col class="field-name" />
  1672. <col class="field-body" />
  1673. <tbody valign="top">
  1674. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  1675. </tr>
  1676. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">250</td>
  1677. </tr>
  1678. </tbody>
  1679. </table>
  1680. <p>The maximum number of table names to be displayed in the main panel&#8217;s
  1681. list (except on the Export page). This limit is also enforced in the
  1682. navigation panel when in Light mode.</p>
  1683. </dd></dl>
  1684. <dl class="option">
  1685. <dt id="cfg_ShowHint">
  1686. <tt class="descname">$cfg['ShowHint']</tt><a class="headerlink" href="#cfg_ShowHint" title="Permalink to this definition">¶</a></dt>
  1687. <dd><table class="docutils field-list" frame="void" rules="none">
  1688. <col class="field-name" />
  1689. <col class="field-body" />
  1690. <tbody valign="top">
  1691. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  1692. </tr>
  1693. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  1694. </tr>
  1695. </tbody>
  1696. </table>
  1697. <p>Whether or not to show hints (for example, hints when hovering over
  1698. table headers).</p>
  1699. </dd></dl>
  1700. <dl class="option">
  1701. <dt id="cfg_MaxCharactersInDisplayedSQL">
  1702. <tt class="descname">$cfg['MaxCharactersInDisplayedSQL']</tt><a class="headerlink" href="#cfg_MaxCharactersInDisplayedSQL" title="Permalink to this definition">¶</a></dt>
  1703. <dd><table class="docutils field-list" frame="void" rules="none">
  1704. <col class="field-name" />
  1705. <col class="field-body" />
  1706. <tbody valign="top">
  1707. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  1708. </tr>
  1709. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">1000</td>
  1710. </tr>
  1711. </tbody>
  1712. </table>
  1713. <p>The maximum number of characters when a <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> query is displayed. The
  1714. default limit of 1000 should be correct to avoid the display of tons of
  1715. hexadecimal codes that represent BLOBs, but some users have real
  1716. <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> queries that are longer than 1000 characters. Also, if a
  1717. query&#8217;s length exceeds this limit, this query is not saved in the history.</p>
  1718. </dd></dl>
  1719. <dl class="option">
  1720. <dt id="cfg_PersistentConnections">
  1721. <tt class="descname">$cfg['PersistentConnections']</tt><a class="headerlink" href="#cfg_PersistentConnections" title="Permalink to this definition">¶</a></dt>
  1722. <dd><table class="docutils field-list" frame="void" rules="none">
  1723. <col class="field-name" />
  1724. <col class="field-body" />
  1725. <tbody valign="top">
  1726. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  1727. </tr>
  1728. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  1729. </tr>
  1730. </tbody>
  1731. </table>
  1732. <p>Whether <a class="reference external" href="http://php.net/manual/en/features.persistent-connections.php">persistent connections</a> should be used or not. Works with
  1733. following extensions:</p>
  1734. <ul class="simple">
  1735. <li>mysql (<a class="reference external" href="http://php.net/manual/en/function.mysql-pconnect.php">mysql_pconnect</a>),</li>
  1736. <li>mysqli (requires PHP 5.3.0 or newer, <a class="reference external" href="http://php.net/manual/en/mysqli.persistconns.php">more information</a>).</li>
  1737. </ul>
  1738. </dd></dl>
  1739. <dl class="option">
  1740. <dt id="cfg_ForceSSL">
  1741. <tt class="descname">$cfg['ForceSSL']</tt><a class="headerlink" href="#cfg_ForceSSL" title="Permalink to this definition">¶</a></dt>
  1742. <dd><table class="docutils field-list" frame="void" rules="none">
  1743. <col class="field-name" />
  1744. <col class="field-body" />
  1745. <tbody valign="top">
  1746. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  1747. </tr>
  1748. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  1749. </tr>
  1750. </tbody>
  1751. </table>
  1752. <p>Whether to force using https while accessing phpMyAdmin.</p>
  1753. <div class="admonition note">
  1754. <p class="first admonition-title">Note</p>
  1755. <p class="last">In some setups (like separate SSL proxy or load balancer) you might
  1756. have to set <span class="target" id="index-65"></span><a class="reference internal" href="#cfg_PmaAbsoluteUri"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['PmaAbsoluteUri']</span></tt></a> for correct
  1757. redirection.</p>
  1758. </div>
  1759. </dd></dl>
  1760. <dl class="option">
  1761. <dt id="cfg_ExecTimeLimit">
  1762. <tt class="descname">$cfg['ExecTimeLimit']</tt><a class="headerlink" href="#cfg_ExecTimeLimit" title="Permalink to this definition">¶</a></dt>
  1763. <dd><table class="docutils field-list" frame="void" rules="none">
  1764. <col class="field-name" />
  1765. <col class="field-body" />
  1766. <tbody valign="top">
  1767. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer [number of seconds]</td>
  1768. </tr>
  1769. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">300</td>
  1770. </tr>
  1771. </tbody>
  1772. </table>
  1773. <p>Set the number of seconds a script is allowed to run. If seconds is
  1774. set to zero, no time limit is imposed. This setting is used while
  1775. importing/exporting dump files but has
  1776. no effect when PHP is running in safe mode.</p>
  1777. </dd></dl>
  1778. <dl class="option">
  1779. <dt id="cfg_SessionSavePath">
  1780. <tt class="descname">$cfg['SessionSavePath']</tt><a class="headerlink" href="#cfg_SessionSavePath" title="Permalink to this definition">¶</a></dt>
  1781. <dd><table class="docutils field-list" frame="void" rules="none">
  1782. <col class="field-name" />
  1783. <col class="field-body" />
  1784. <tbody valign="top">
  1785. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  1786. </tr>
  1787. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  1788. </tr>
  1789. </tbody>
  1790. </table>
  1791. <p>Path for storing session data (<a class="reference external" href="http://php.net/session_save_path">session_save_path PHP parameter</a>).</p>
  1792. </dd></dl>
  1793. <dl class="option">
  1794. <dt id="cfg_MemoryLimit">
  1795. <tt class="descname">$cfg['MemoryLimit']</tt><a class="headerlink" href="#cfg_MemoryLimit" title="Permalink to this definition">¶</a></dt>
  1796. <dd><table class="docutils field-list" frame="void" rules="none">
  1797. <col class="field-name" />
  1798. <col class="field-body" />
  1799. <tbody valign="top">
  1800. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string [number of bytes]</td>
  1801. </tr>
  1802. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'-1'</span></tt></td>
  1803. </tr>
  1804. </tbody>
  1805. </table>
  1806. <p>Set the number of bytes a script is allowed to allocate. If set to
  1807. <tt class="docutils literal"><span class="pre">'-1'</span></tt>, no limit is imposed.</p>
  1808. <p>This setting is used while importing/exporting dump files and at some other
  1809. places in phpMyAdmin so you definitely don&#8217;t want to put here a too low
  1810. value. It has no effect when PHP is running in safe mode.</p>
  1811. <p>You can also use any string as in <tt class="file docutils literal"><span class="pre">php.ini</span></tt>, eg. &#8216;16M&#8217;. Ensure you
  1812. don&#8217;t omit the suffix (16 means 16 bytes!)</p>
  1813. </dd></dl>
  1814. <dl class="option">
  1815. <dt id="cfg_SkipLockedTables">
  1816. <tt class="descname">$cfg['SkipLockedTables']</tt><a class="headerlink" href="#cfg_SkipLockedTables" title="Permalink to this definition">¶</a></dt>
  1817. <dd><table class="docutils field-list" frame="void" rules="none">
  1818. <col class="field-name" />
  1819. <col class="field-body" />
  1820. <tbody valign="top">
  1821. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  1822. </tr>
  1823. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  1824. </tr>
  1825. </tbody>
  1826. </table>
  1827. <p>Mark used tables and make it possible to show databases with locked
  1828. tables (since MySQL 3.23.30).</p>
  1829. </dd></dl>
  1830. <dl class="option">
  1831. <dt id="cfg_ShowSQL">
  1832. <tt class="descname">$cfg['ShowSQL']</tt><a class="headerlink" href="#cfg_ShowSQL" title="Permalink to this definition">¶</a></dt>
  1833. <dd><table class="docutils field-list" frame="void" rules="none">
  1834. <col class="field-name" />
  1835. <col class="field-body" />
  1836. <tbody valign="top">
  1837. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  1838. </tr>
  1839. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  1840. </tr>
  1841. </tbody>
  1842. </table>
  1843. <p>Defines whether <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> queries
  1844. generated by phpMyAdmin should be displayed or not.</p>
  1845. </dd></dl>
  1846. <dl class="option">
  1847. <dt id="cfg_RetainQueryBox">
  1848. <tt class="descname">$cfg['RetainQueryBox']</tt><a class="headerlink" href="#cfg_RetainQueryBox" title="Permalink to this definition">¶</a></dt>
  1849. <dd><table class="docutils field-list" frame="void" rules="none">
  1850. <col class="field-name" />
  1851. <col class="field-body" />
  1852. <tbody valign="top">
  1853. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  1854. </tr>
  1855. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  1856. </tr>
  1857. </tbody>
  1858. </table>
  1859. <p>Defines whether the <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> query box
  1860. should be kept displayed after its submission.</p>
  1861. </dd></dl>
  1862. <dl class="option">
  1863. <dt id="cfg_CodemirrorEnable">
  1864. <tt class="descname">$cfg['CodemirrorEnable']</tt><a class="headerlink" href="#cfg_CodemirrorEnable" title="Permalink to this definition">¶</a></dt>
  1865. <dd><table class="docutils field-list" frame="void" rules="none">
  1866. <col class="field-name" />
  1867. <col class="field-body" />
  1868. <tbody valign="top">
  1869. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  1870. </tr>
  1871. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  1872. </tr>
  1873. </tbody>
  1874. </table>
  1875. <p>Defines whether to use a Javascript code editor for SQL query boxes.
  1876. CodeMirror provides syntax highlighting and line numbers. However,
  1877. middle-clicking for pasting the clipboard contents in some Linux
  1878. distributions (such as Ubuntu) is not supported by all browsers.</p>
  1879. </dd></dl>
  1880. <dl class="option">
  1881. <dt id="cfg_AllowUserDropDatabase">
  1882. <tt class="descname">$cfg['AllowUserDropDatabase']</tt><a class="headerlink" href="#cfg_AllowUserDropDatabase" title="Permalink to this definition">¶</a></dt>
  1883. <dd><table class="docutils field-list" frame="void" rules="none">
  1884. <col class="field-name" />
  1885. <col class="field-body" />
  1886. <tbody valign="top">
  1887. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  1888. </tr>
  1889. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  1890. </tr>
  1891. </tbody>
  1892. </table>
  1893. <p>Defines whether normal users (non-administrator) are allowed to delete
  1894. their own database or not. If set as false, the link <em class="guilabel">Drop
  1895. Database</em> will not be shown, and even a <tt class="docutils literal"><span class="pre">DROP</span> <span class="pre">DATABASE</span> <span class="pre">mydatabase</span></tt> will
  1896. be rejected. Quite practical for <a class="reference internal" href="glossary.html#term-isp"><em class="xref std std-term">ISP</em></a> &#8216;s with many customers.</p>
  1897. <div class="admonition note">
  1898. <p class="first admonition-title">Note</p>
  1899. <p class="last">This limitation of <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> queries is not
  1900. as strict as when using MySQL privileges. This is due to nature of
  1901. <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> queries which might be quite
  1902. complicated. So this choice should be viewed as help to avoid accidental
  1903. dropping rather than strict privilege limitation.</p>
  1904. </div>
  1905. </dd></dl>
  1906. <dl class="option">
  1907. <dt id="cfg_Confirm">
  1908. <tt class="descname">$cfg['Confirm']</tt><a class="headerlink" href="#cfg_Confirm" title="Permalink to this definition">¶</a></dt>
  1909. <dd><table class="docutils field-list" frame="void" rules="none">
  1910. <col class="field-name" />
  1911. <col class="field-body" />
  1912. <tbody valign="top">
  1913. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  1914. </tr>
  1915. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  1916. </tr>
  1917. </tbody>
  1918. </table>
  1919. <p>Whether a warning (&#8220;Are your really sure...&#8221;) should be displayed when
  1920. you&#8217;re about to lose data.</p>
  1921. </dd></dl>
  1922. <dl class="option">
  1923. <dt id="cfg_UseDbSearch">
  1924. <tt class="descname">$cfg['UseDbSearch']</tt><a class="headerlink" href="#cfg_UseDbSearch" title="Permalink to this definition">¶</a></dt>
  1925. <dd><table class="docutils field-list" frame="void" rules="none">
  1926. <col class="field-name" />
  1927. <col class="field-body" />
  1928. <tbody valign="top">
  1929. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  1930. </tr>
  1931. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  1932. </tr>
  1933. </tbody>
  1934. </table>
  1935. <p>Define whether the &#8220;search string inside database&#8221; is enabled or not.</p>
  1936. </dd></dl>
  1937. <dl class="option">
  1938. <dt id="cfg_IgnoreMultiSubmitErrors">
  1939. <tt class="descname">$cfg['IgnoreMultiSubmitErrors']</tt><a class="headerlink" href="#cfg_IgnoreMultiSubmitErrors" title="Permalink to this definition">¶</a></dt>
  1940. <dd><table class="docutils field-list" frame="void" rules="none">
  1941. <col class="field-name" />
  1942. <col class="field-body" />
  1943. <tbody valign="top">
  1944. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  1945. </tr>
  1946. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  1947. </tr>
  1948. </tbody>
  1949. </table>
  1950. <p>Define whether phpMyAdmin will continue executing a multi-query
  1951. statement if one of the queries fails. Default is to abort execution.</p>
  1952. </dd></dl>
  1953. </div>
  1954. <div class="section" id="cookie-authentication-options">
  1955. <h2>Cookie authentication options<a class="headerlink" href="#cookie-authentication-options" title="Permalink to this headline">¶</a></h2>
  1956. <dl class="option">
  1957. <dt id="cfg_blowfish_secret">
  1958. <tt class="descname">$cfg['blowfish_secret']</tt><a class="headerlink" href="#cfg_blowfish_secret" title="Permalink to this definition">¶</a></dt>
  1959. <dd><table class="docutils field-list" frame="void" rules="none">
  1960. <col class="field-name" />
  1961. <col class="field-body" />
  1962. <tbody valign="top">
  1963. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  1964. </tr>
  1965. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  1966. </tr>
  1967. </tbody>
  1968. </table>
  1969. <p>The &#8220;cookie&#8221; auth_type uses blowfish algorithm to encrypt the
  1970. password. If you are using the &#8220;cookie&#8221; auth_type, enter here a
  1971. random passphrase of your choice. It will be used internally by the
  1972. blowfish algorithm: you won’t be prompted for this passphrase. There
  1973. is no maximum length for this secret.</p>
  1974. <p class="versionchanged">
  1975. <span class="versionmodified">Changed in version 3.1.0: </span>Since version 3.1.0 phpMyAdmin can generate this on the fly, but it
  1976. makes a bit weaker security as this generated secret is stored in
  1977. session and furthermore it makes impossible to recall user name from
  1978. cookie.</p>
  1979. </dd></dl>
  1980. <dl class="option">
  1981. <dt id="cfg_LoginCookieRecall">
  1982. <tt class="descname">$cfg['LoginCookieRecall']</tt><a class="headerlink" href="#cfg_LoginCookieRecall" title="Permalink to this definition">¶</a></dt>
  1983. <dd><table class="docutils field-list" frame="void" rules="none">
  1984. <col class="field-name" />
  1985. <col class="field-body" />
  1986. <tbody valign="top">
  1987. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  1988. </tr>
  1989. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  1990. </tr>
  1991. </tbody>
  1992. </table>
  1993. <p>Define whether the previous login should be recalled or not in cookie
  1994. authentication mode.</p>
  1995. <p>This is automatically disabled if you do not have
  1996. configured <span class="target" id="index-66"></span><a class="reference internal" href="#cfg_blowfish_secret"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['blowfish_secret']</span></tt></a>.</p>
  1997. </dd></dl>
  1998. <dl class="option">
  1999. <dt id="cfg_LoginCookieValidity">
  2000. <tt class="descname">$cfg['LoginCookieValidity']</tt><a class="headerlink" href="#cfg_LoginCookieValidity" title="Permalink to this definition">¶</a></dt>
  2001. <dd><table class="docutils field-list" frame="void" rules="none">
  2002. <col class="field-name" />
  2003. <col class="field-body" />
  2004. <tbody valign="top">
  2005. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer [number of seconds]</td>
  2006. </tr>
  2007. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">1440</td>
  2008. </tr>
  2009. </tbody>
  2010. </table>
  2011. <p>Define how long a login cookie is valid. Please note that php
  2012. configuration option <a class="reference external" href="http://php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime">session.gc_maxlifetime</a> might limit session validity and if the session is lost,
  2013. the login cookie is also invalidated. So it is a good idea to set
  2014. <tt class="docutils literal"><span class="pre">session.gc_maxlifetime</span></tt> at least to the same value of
  2015. <span class="target" id="index-67"></span><a class="reference internal" href="#cfg_LoginCookieValidity"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['LoginCookieValidity']</span></tt></a>.</p>
  2016. </dd></dl>
  2017. <dl class="option">
  2018. <dt id="cfg_LoginCookieStore">
  2019. <tt class="descname">$cfg['LoginCookieStore']</tt><a class="headerlink" href="#cfg_LoginCookieStore" title="Permalink to this definition">¶</a></dt>
  2020. <dd><table class="docutils field-list" frame="void" rules="none">
  2021. <col class="field-name" />
  2022. <col class="field-body" />
  2023. <tbody valign="top">
  2024. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer [number of seconds]</td>
  2025. </tr>
  2026. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">0</td>
  2027. </tr>
  2028. </tbody>
  2029. </table>
  2030. <p>Define how long login cookie should be stored in browser. Default 0
  2031. means that it will be kept for existing session. This is recommended
  2032. for not trusted environments.</p>
  2033. </dd></dl>
  2034. <dl class="option">
  2035. <dt id="cfg_LoginCookieDeleteAll">
  2036. <tt class="descname">$cfg['LoginCookieDeleteAll']</tt><a class="headerlink" href="#cfg_LoginCookieDeleteAll" title="Permalink to this definition">¶</a></dt>
  2037. <dd><table class="docutils field-list" frame="void" rules="none">
  2038. <col class="field-name" />
  2039. <col class="field-body" />
  2040. <tbody valign="top">
  2041. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2042. </tr>
  2043. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  2044. </tr>
  2045. </tbody>
  2046. </table>
  2047. <p>If enabled (default), logout deletes cookies for all servers,
  2048. otherwise only for current one. Setting this to false makes it easy to
  2049. forget to log out from other server, when you are using more of them.</p>
  2050. </dd></dl>
  2051. <span class="target" id="allowarbitraryserver"></span><dl class="option">
  2052. <dt id="cfg_AllowArbitraryServer">
  2053. <tt class="descname">$cfg['AllowArbitraryServer']</tt><a class="headerlink" href="#cfg_AllowArbitraryServer" title="Permalink to this definition">¶</a></dt>
  2054. <dd><table class="docutils field-list" frame="void" rules="none">
  2055. <col class="field-name" />
  2056. <col class="field-body" />
  2057. <tbody valign="top">
  2058. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2059. </tr>
  2060. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  2061. </tr>
  2062. </tbody>
  2063. </table>
  2064. <p>If enabled, allows you to log in to arbitrary servers using cookie
  2065. authentication.</p>
  2066. <div class="admonition note">
  2067. <p class="first admonition-title">Note</p>
  2068. <p class="last">Please use this carefully, as this may allow users access to MySQL servers
  2069. behind the firewall where your <a class="reference internal" href="glossary.html#term-http"><em class="xref std std-term">HTTP</em></a>
  2070. server is placed.</p>
  2071. </div>
  2072. </dd></dl>
  2073. <dl class="option">
  2074. <dt id="cfg_CaptchaLoginPublicKey">
  2075. <tt class="descname">$cfg['CaptchaLoginPublicKey']</tt><a class="headerlink" href="#cfg_CaptchaLoginPublicKey" title="Permalink to this definition">¶</a></dt>
  2076. <dd><table class="docutils field-list" frame="void" rules="none">
  2077. <col class="field-name" />
  2078. <col class="field-body" />
  2079. <tbody valign="top">
  2080. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  2081. </tr>
  2082. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  2083. </tr>
  2084. </tbody>
  2085. </table>
  2086. <p>The public key for the reCaptcha service that can be obtain from
  2087. <a class="reference external" href="http://www.google.com/recaptcha">http://www.google.com/recaptcha</a>.</p>
  2088. <p>reCaptcha will be then used in <a class="reference internal" href="setup.html#cookie"><em>Cookie authentication mode</em></a>.</p>
  2089. </dd></dl>
  2090. <dl class="option">
  2091. <dt id="cfg_CaptchaLoginPrivateKey">
  2092. <tt class="descname">$cfg['CaptchaLoginPrivateKey']</tt><a class="headerlink" href="#cfg_CaptchaLoginPrivateKey" title="Permalink to this definition">¶</a></dt>
  2093. <dd><table class="docutils field-list" frame="void" rules="none">
  2094. <col class="field-name" />
  2095. <col class="field-body" />
  2096. <tbody valign="top">
  2097. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  2098. </tr>
  2099. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  2100. </tr>
  2101. </tbody>
  2102. </table>
  2103. <p>The private key for the reCaptcha service that can be obtain from
  2104. <a class="reference external" href="http://www.google.com/recaptcha">http://www.google.com/recaptcha</a>.</p>
  2105. <p>reCaptcha will be then used in <a class="reference internal" href="setup.html#cookie"><em>Cookie authentication mode</em></a>.</p>
  2106. </dd></dl>
  2107. </div>
  2108. <div class="section" id="navigation-panel-setup">
  2109. <h2>Navigation panel setup<a class="headerlink" href="#navigation-panel-setup" title="Permalink to this headline">¶</a></h2>
  2110. <dl class="option">
  2111. <dt id="cfg_FirstLevelNavigationItems">
  2112. <tt class="descname">$cfg['FirstLevelNavigationItems']</tt><a class="headerlink" href="#cfg_FirstLevelNavigationItems" title="Permalink to this definition">¶</a></dt>
  2113. <dd><table class="docutils field-list" frame="void" rules="none">
  2114. <col class="field-name" />
  2115. <col class="field-body" />
  2116. <tbody valign="top">
  2117. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  2118. </tr>
  2119. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">250</td>
  2120. </tr>
  2121. </tbody>
  2122. </table>
  2123. <p>The number of first level databases that can be displayed on each page
  2124. of navigation tree.</p>
  2125. </dd></dl>
  2126. <dl class="option">
  2127. <dt id="cfg_MaxNavigationItems">
  2128. <tt class="descname">$cfg['MaxNavigationItems']</tt><a class="headerlink" href="#cfg_MaxNavigationItems" title="Permalink to this definition">¶</a></dt>
  2129. <dd><table class="docutils field-list" frame="void" rules="none">
  2130. <col class="field-name" />
  2131. <col class="field-body" />
  2132. <tbody valign="top">
  2133. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  2134. </tr>
  2135. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">50</td>
  2136. </tr>
  2137. </tbody>
  2138. </table>
  2139. <p>The number of items (tables, columns, indexes) that can be displayed on each
  2140. page of the navigation tree.</p>
  2141. </dd></dl>
  2142. <dl class="option">
  2143. <dt id="cfg_NavigationTreeEnableGrouping">
  2144. <tt class="descname">$cfg['NavigationTreeEnableGrouping']</tt><a class="headerlink" href="#cfg_NavigationTreeEnableGrouping" title="Permalink to this definition">¶</a></dt>
  2145. <dd><table class="docutils field-list" frame="void" rules="none">
  2146. <col class="field-name" />
  2147. <col class="field-body" />
  2148. <tbody valign="top">
  2149. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2150. </tr>
  2151. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  2152. </tr>
  2153. </tbody>
  2154. </table>
  2155. <p>Defines whether to group the databases based on a common prefix
  2156. in their name <span class="target" id="index-68"></span><a class="reference internal" href="#cfg_NavigationTreeDbSeparator"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['NavigationTreeDbSeparator']</span></tt></a>.</p>
  2157. </dd></dl>
  2158. <dl class="option">
  2159. <dt id="cfg_NavigationTreeDbSeparator">
  2160. <tt class="descname">$cfg['NavigationTreeDbSeparator']</tt><a class="headerlink" href="#cfg_NavigationTreeDbSeparator" title="Permalink to this definition">¶</a></dt>
  2161. <dd><table class="docutils field-list" frame="void" rules="none">
  2162. <col class="field-name" />
  2163. <col class="field-body" />
  2164. <tbody valign="top">
  2165. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string or array</td>
  2166. </tr>
  2167. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'_'</span></tt></td>
  2168. </tr>
  2169. </tbody>
  2170. </table>
  2171. <p>The string used to separate the parts of the database name when
  2172. showing them in a tree. Alternatively you can specify more strings in
  2173. an array and all of them will be used as a separator.</p>
  2174. </dd></dl>
  2175. <dl class="option">
  2176. <dt id="cfg_NavigationTreeTableSeparator">
  2177. <tt class="descname">$cfg['NavigationTreeTableSeparator']</tt><a class="headerlink" href="#cfg_NavigationTreeTableSeparator" title="Permalink to this definition">¶</a></dt>
  2178. <dd><table class="docutils field-list" frame="void" rules="none">
  2179. <col class="field-name" />
  2180. <col class="field-body" />
  2181. <tbody valign="top">
  2182. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string or array</td>
  2183. </tr>
  2184. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'__'</span></tt></td>
  2185. </tr>
  2186. </tbody>
  2187. </table>
  2188. <p>Defines a string to be used to nest table spaces. This means if you have
  2189. tables like <tt class="docutils literal"><span class="pre">first__second__third</span></tt> this will be shown as a three-level
  2190. hierarchy like: first &gt; second &gt; third. If set to false or empty, the
  2191. feature is disabled. NOTE: You should not use this separator at the
  2192. beginning or end of a table name or multiple times after another without
  2193. any other characters in between.</p>
  2194. </dd></dl>
  2195. <dl class="option">
  2196. <dt id="cfg_NavigationTreeTableLevel">
  2197. <tt class="descname">$cfg['NavigationTreeTableLevel']</tt><a class="headerlink" href="#cfg_NavigationTreeTableLevel" title="Permalink to this definition">¶</a></dt>
  2198. <dd><table class="docutils field-list" frame="void" rules="none">
  2199. <col class="field-name" />
  2200. <col class="field-body" />
  2201. <tbody valign="top">
  2202. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  2203. </tr>
  2204. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">1</td>
  2205. </tr>
  2206. </tbody>
  2207. </table>
  2208. <p>Defines how many sublevels should be displayed when splitting up
  2209. tables by the above separator.</p>
  2210. </dd></dl>
  2211. <dl class="option">
  2212. <dt id="cfg_NumRecentTables">
  2213. <tt class="descname">$cfg['NumRecentTables']</tt><a class="headerlink" href="#cfg_NumRecentTables" title="Permalink to this definition">¶</a></dt>
  2214. <dd><table class="docutils field-list" frame="void" rules="none">
  2215. <col class="field-name" />
  2216. <col class="field-body" />
  2217. <tbody valign="top">
  2218. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  2219. </tr>
  2220. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">10</td>
  2221. </tr>
  2222. </tbody>
  2223. </table>
  2224. <p>The maximum number of recently used tables shown in the navigation
  2225. panel. Set this to 0 (zero) to disable the listing of recent tables.</p>
  2226. </dd></dl>
  2227. <dl class="option">
  2228. <dt id="cfg_NavigationDisplayLogo">
  2229. <tt class="descname">$cfg['NavigationDisplayLogo']</tt><a class="headerlink" href="#cfg_NavigationDisplayLogo" title="Permalink to this definition">¶</a></dt>
  2230. <dd><table class="docutils field-list" frame="void" rules="none">
  2231. <col class="field-name" />
  2232. <col class="field-body" />
  2233. <tbody valign="top">
  2234. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2235. </tr>
  2236. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  2237. </tr>
  2238. </tbody>
  2239. </table>
  2240. <p>Defines whether or not to display the phpMyAdmin logo at the top of
  2241. the navigation panel.</p>
  2242. </dd></dl>
  2243. <dl class="option">
  2244. <dt id="cfg_NavigationLogoLink">
  2245. <tt class="descname">$cfg['NavigationLogoLink']</tt><a class="headerlink" href="#cfg_NavigationLogoLink" title="Permalink to this definition">¶</a></dt>
  2246. <dd><table class="docutils field-list" frame="void" rules="none">
  2247. <col class="field-name" />
  2248. <col class="field-body" />
  2249. <tbody valign="top">
  2250. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  2251. </tr>
  2252. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'index.php'</span></tt></td>
  2253. </tr>
  2254. </tbody>
  2255. </table>
  2256. <p>Enter <a class="reference internal" href="glossary.html#term-url"><em class="xref std std-term">URL</em></a> where logo in the
  2257. navigation panel will point to. For use especially with self made
  2258. theme which changes this.</p>
  2259. </dd></dl>
  2260. <dl class="option">
  2261. <dt id="cfg_NavigationLogoLinkWindow">
  2262. <tt class="descname">$cfg['NavigationLogoLinkWindow']</tt><a class="headerlink" href="#cfg_NavigationLogoLinkWindow" title="Permalink to this definition">¶</a></dt>
  2263. <dd><table class="docutils field-list" frame="void" rules="none">
  2264. <col class="field-name" />
  2265. <col class="field-body" />
  2266. <tbody valign="top">
  2267. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  2268. </tr>
  2269. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'main'</span></tt></td>
  2270. </tr>
  2271. </tbody>
  2272. </table>
  2273. <p>Whether to open the linked page in the main window (<tt class="docutils literal"><span class="pre">main</span></tt>) or in a
  2274. new one (<tt class="docutils literal"><span class="pre">new</span></tt>). Note: use <tt class="docutils literal"><span class="pre">new</span></tt> if you are linking to
  2275. <tt class="docutils literal"><span class="pre">phpmyadmin.net</span></tt>.</p>
  2276. </dd></dl>
  2277. <dl class="option">
  2278. <dt id="cfg_NavigationTreeDisplayItemFilterMinimum">
  2279. <tt class="descname">$cfg['NavigationTreeDisplayItemFilterMinimum']</tt><a class="headerlink" href="#cfg_NavigationTreeDisplayItemFilterMinimum" title="Permalink to this definition">¶</a></dt>
  2280. <dd><table class="docutils field-list" frame="void" rules="none">
  2281. <col class="field-name" />
  2282. <col class="field-body" />
  2283. <tbody valign="top">
  2284. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  2285. </tr>
  2286. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">30</td>
  2287. </tr>
  2288. </tbody>
  2289. </table>
  2290. <p>Defines the minimum number of items (tables, views, routines and
  2291. events) to display a JavaScript filter box above the list of items in
  2292. the navigation tree.</p>
  2293. <p>To disable the filter completely some high number can be used (e.g. 9999)</p>
  2294. </dd></dl>
  2295. <dl class="option">
  2296. <dt id="cfg_NavigationTreeDisplayDbFilterMinimum">
  2297. <tt class="descname">$cfg['NavigationTreeDisplayDbFilterMinimum']</tt><a class="headerlink" href="#cfg_NavigationTreeDisplayDbFilterMinimum" title="Permalink to this definition">¶</a></dt>
  2298. <dd><table class="docutils field-list" frame="void" rules="none">
  2299. <col class="field-name" />
  2300. <col class="field-body" />
  2301. <tbody valign="top">
  2302. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  2303. </tr>
  2304. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">30</td>
  2305. </tr>
  2306. </tbody>
  2307. </table>
  2308. <p>Defines the minimum number of databases to display a JavaScript filter
  2309. box above the list of databases in the navigation tree.</p>
  2310. <p>To disable the filter completely some high number can be used
  2311. (e.g. 9999)</p>
  2312. </dd></dl>
  2313. <dl class="option">
  2314. <dt id="cfg_NavigationDisplayServers">
  2315. <tt class="descname">$cfg['NavigationDisplayServers']</tt><a class="headerlink" href="#cfg_NavigationDisplayServers" title="Permalink to this definition">¶</a></dt>
  2316. <dd><table class="docutils field-list" frame="void" rules="none">
  2317. <col class="field-name" />
  2318. <col class="field-body" />
  2319. <tbody valign="top">
  2320. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2321. </tr>
  2322. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  2323. </tr>
  2324. </tbody>
  2325. </table>
  2326. <p>Defines whether or not to display a server choice at the top of the
  2327. navigation panel.</p>
  2328. </dd></dl>
  2329. <dl class="option">
  2330. <dt id="cfg_DisplayServersList">
  2331. <tt class="descname">$cfg['DisplayServersList']</tt><a class="headerlink" href="#cfg_DisplayServersList" title="Permalink to this definition">¶</a></dt>
  2332. <dd><table class="docutils field-list" frame="void" rules="none">
  2333. <col class="field-name" />
  2334. <col class="field-body" />
  2335. <tbody valign="top">
  2336. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2337. </tr>
  2338. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  2339. </tr>
  2340. </tbody>
  2341. </table>
  2342. <p>Defines whether to display this server choice as links instead of in a
  2343. drop-down.</p>
  2344. </dd></dl>
  2345. <dl class="option">
  2346. <dt id="cfg_NavigationTreeDefaultTabTable">
  2347. <tt class="descname">$cfg['NavigationTreeDefaultTabTable']</tt><a class="headerlink" href="#cfg_NavigationTreeDefaultTabTable" title="Permalink to this definition">¶</a></dt>
  2348. <dd><table class="docutils field-list" frame="void" rules="none">
  2349. <col class="field-name" />
  2350. <col class="field-body" />
  2351. <tbody valign="top">
  2352. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  2353. </tr>
  2354. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'tbl_structure.php'</span></tt></td>
  2355. </tr>
  2356. </tbody>
  2357. </table>
  2358. <p>Defines the tab displayed by default when clicking the small icon next
  2359. to each table name in the navigation panel. Possible values:</p>
  2360. <ul class="simple">
  2361. <li><tt class="docutils literal"><span class="pre">tbl_structure.php</span></tt></li>
  2362. <li><tt class="docutils literal"><span class="pre">tbl_sql.php</span></tt></li>
  2363. <li><tt class="docutils literal"><span class="pre">tbl_select.php</span></tt></li>
  2364. <li><tt class="docutils literal"><span class="pre">tbl_change.php</span></tt></li>
  2365. <li><tt class="docutils literal"><span class="pre">sql.php</span></tt></li>
  2366. </ul>
  2367. </dd></dl>
  2368. <dl class="option">
  2369. <dt id="cfg_NavigationTreeDisableDatabaseExpansion">
  2370. <tt class="descname">$cfg['NavigationTreeDisableDatabaseExpansion']</tt><a class="headerlink" href="#cfg_NavigationTreeDisableDatabaseExpansion" title="Permalink to this definition">¶</a></dt>
  2371. <dd><table class="docutils field-list" frame="void" rules="none">
  2372. <col class="field-name" />
  2373. <col class="field-body" />
  2374. <tbody valign="top">
  2375. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2376. </tr>
  2377. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  2378. </tr>
  2379. </tbody>
  2380. </table>
  2381. <p>Whether or not to disable the possibility of databases expansion in the navigation panel</p>
  2382. </dd></dl>
  2383. </div>
  2384. <div class="section" id="main-panel">
  2385. <h2>Main panel<a class="headerlink" href="#main-panel" title="Permalink to this headline">¶</a></h2>
  2386. <dl class="option">
  2387. <dt id="cfg_ShowStats">
  2388. <tt class="descname">$cfg['ShowStats']</tt><a class="headerlink" href="#cfg_ShowStats" title="Permalink to this definition">¶</a></dt>
  2389. <dd><table class="docutils field-list" frame="void" rules="none">
  2390. <col class="field-name" />
  2391. <col class="field-body" />
  2392. <tbody valign="top">
  2393. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2394. </tr>
  2395. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  2396. </tr>
  2397. </tbody>
  2398. </table>
  2399. <p>Defines whether or not to display space usage and statistics about
  2400. databases and tables. Note that statistics requires at least MySQL
  2401. 3.23.3 and that, at this date, MySQL doesn&#8217;t return such information
  2402. for Berkeley DB tables.</p>
  2403. </dd></dl>
  2404. <dl class="option">
  2405. <dt id="cfg_ShowServerInfo">
  2406. <tt class="descname">$cfg['ShowServerInfo']</tt><a class="headerlink" href="#cfg_ShowServerInfo" title="Permalink to this definition">¶</a></dt>
  2407. <dd><table class="docutils field-list" frame="void" rules="none">
  2408. <col class="field-name" />
  2409. <col class="field-body" />
  2410. <tbody valign="top">
  2411. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2412. </tr>
  2413. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  2414. </tr>
  2415. </tbody>
  2416. </table>
  2417. <p>Defines whether to display detailed server information on main page.
  2418. You can additionally hide more information by using
  2419. <span class="target" id="index-69"></span><a class="reference internal" href="#cfg_Servers_verbose"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['verbose']</span></tt></a>.</p>
  2420. </dd></dl>
  2421. <dl class="option">
  2422. <dt id="cfg_ShowPhpInfo">
  2423. <tt class="descname">$cfg['ShowPhpInfo']</tt><a class="headerlink" href="#cfg_ShowPhpInfo" title="Permalink to this definition">¶</a></dt>
  2424. <dd><table class="docutils field-list" frame="void" rules="none">
  2425. <col class="field-name" />
  2426. <col class="field-body" />
  2427. <tbody valign="top">
  2428. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2429. </tr>
  2430. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  2431. </tr>
  2432. </tbody>
  2433. </table>
  2434. </dd></dl>
  2435. <dl class="option">
  2436. <dt id="cfg_ShowChgPassword">
  2437. <tt class="descname">$cfg['ShowChgPassword']</tt><a class="headerlink" href="#cfg_ShowChgPassword" title="Permalink to this definition">¶</a></dt>
  2438. <dd><table class="docutils field-list" frame="void" rules="none">
  2439. <col class="field-name" />
  2440. <col class="field-body" />
  2441. <tbody valign="top">
  2442. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2443. </tr>
  2444. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  2445. </tr>
  2446. </tbody>
  2447. </table>
  2448. </dd></dl>
  2449. <dl class="option">
  2450. <dt id="cfg_ShowCreateDb">
  2451. <tt class="descname">$cfg['ShowCreateDb']</tt><a class="headerlink" href="#cfg_ShowCreateDb" title="Permalink to this definition">¶</a></dt>
  2452. <dd><table class="docutils field-list" frame="void" rules="none">
  2453. <col class="field-name" />
  2454. <col class="field-body" />
  2455. <tbody valign="top">
  2456. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2457. </tr>
  2458. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  2459. </tr>
  2460. </tbody>
  2461. </table>
  2462. <p>Defines whether to display the <em class="guilabel">PHP information</em> and
  2463. <em class="guilabel">Change password</em> links and form for creating database or not at
  2464. the starting main (right) frame. This setting does not check MySQL commands
  2465. entered directly.</p>
  2466. <p>Please note that to block the usage of <tt class="docutils literal"><span class="pre">phpinfo()</span></tt> in scripts, you have to
  2467. put this in your <tt class="file docutils literal"><span class="pre">php.ini</span></tt>:</p>
  2468. <div class="highlight-ini"><div class="highlight"><pre><span class="na">disable_functions</span> <span class="o">=</span> <span class="s">phpinfo()</span>
  2469. </pre></div>
  2470. </div>
  2471. <p>Also note that enabling the <em class="guilabel">Change password</em> link has no effect
  2472. with config authentication mode: because of the hard coded password value
  2473. in the configuration file, end users can&#8217;t be allowed to change their
  2474. passwords.</p>
  2475. </dd></dl>
  2476. </div>
  2477. <div class="section" id="database-structure">
  2478. <h2>Database structure<a class="headerlink" href="#database-structure" title="Permalink to this headline">¶</a></h2>
  2479. <dl class="option">
  2480. <dt id="cfg_ShowDbStructureCreation">
  2481. <tt class="descname">$cfg['ShowDbStructureCreation']</tt><a class="headerlink" href="#cfg_ShowDbStructureCreation" title="Permalink to this definition">¶</a></dt>
  2482. <dd><table class="docutils field-list" frame="void" rules="none">
  2483. <col class="field-name" />
  2484. <col class="field-body" />
  2485. <tbody valign="top">
  2486. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2487. </tr>
  2488. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  2489. </tr>
  2490. </tbody>
  2491. </table>
  2492. <p>Defines whether the database structure page (tables list) has a
  2493. &#8220;Creation&#8221; column that displays when each table was created.</p>
  2494. </dd></dl>
  2495. <dl class="option">
  2496. <dt id="cfg_ShowDbStructureLastUpdate">
  2497. <tt class="descname">$cfg['ShowDbStructureLastUpdate']</tt><a class="headerlink" href="#cfg_ShowDbStructureLastUpdate" title="Permalink to this definition">¶</a></dt>
  2498. <dd><table class="docutils field-list" frame="void" rules="none">
  2499. <col class="field-name" />
  2500. <col class="field-body" />
  2501. <tbody valign="top">
  2502. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2503. </tr>
  2504. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  2505. </tr>
  2506. </tbody>
  2507. </table>
  2508. <p>Defines whether the database structure page (tables list) has a &#8220;Last
  2509. update&#8221; column that displays when each table was last updated.</p>
  2510. </dd></dl>
  2511. <dl class="option">
  2512. <dt id="cfg_ShowDbStructureLastCheck">
  2513. <tt class="descname">$cfg['ShowDbStructureLastCheck']</tt><a class="headerlink" href="#cfg_ShowDbStructureLastCheck" title="Permalink to this definition">¶</a></dt>
  2514. <dd><table class="docutils field-list" frame="void" rules="none">
  2515. <col class="field-name" />
  2516. <col class="field-body" />
  2517. <tbody valign="top">
  2518. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2519. </tr>
  2520. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  2521. </tr>
  2522. </tbody>
  2523. </table>
  2524. <p>Defines whether the database structure page (tables list) has a &#8220;Last
  2525. check&#8221; column that displays when each table was last checked.</p>
  2526. </dd></dl>
  2527. <dl class="option">
  2528. <dt id="cfg_HideStructureActions">
  2529. <tt class="descname">$cfg['HideStructureActions']</tt><a class="headerlink" href="#cfg_HideStructureActions" title="Permalink to this definition">¶</a></dt>
  2530. <dd><table class="docutils field-list" frame="void" rules="none">
  2531. <col class="field-name" />
  2532. <col class="field-body" />
  2533. <tbody valign="top">
  2534. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2535. </tr>
  2536. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  2537. </tr>
  2538. </tbody>
  2539. </table>
  2540. <p>Defines whether the table structure actions are hidden under a &#8220;More&#8221;
  2541. drop-down.</p>
  2542. </dd></dl>
  2543. </div>
  2544. <div class="section" id="browse-mode">
  2545. <h2>Browse mode<a class="headerlink" href="#browse-mode" title="Permalink to this headline">¶</a></h2>
  2546. <dl class="option">
  2547. <dt id="cfg_TableNavigationLinksMode">
  2548. <tt class="descname">$cfg['TableNavigationLinksMode']</tt><a class="headerlink" href="#cfg_TableNavigationLinksMode" title="Permalink to this definition">¶</a></dt>
  2549. <dd><table class="docutils field-list" frame="void" rules="none">
  2550. <col class="field-name" />
  2551. <col class="field-body" />
  2552. <tbody valign="top">
  2553. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  2554. </tr>
  2555. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'icons'</span></tt></td>
  2556. </tr>
  2557. </tbody>
  2558. </table>
  2559. <p>Defines whether the table navigation links contain <tt class="docutils literal"><span class="pre">'icons'</span></tt>, <tt class="docutils literal"><span class="pre">'text'</span></tt>
  2560. or <tt class="docutils literal"><span class="pre">'both'</span></tt>.</p>
  2561. </dd></dl>
  2562. <dl class="option">
  2563. <dt id="cfg_ShowAll">
  2564. <tt class="descname">$cfg['ShowAll']</tt><a class="headerlink" href="#cfg_ShowAll" title="Permalink to this definition">¶</a></dt>
  2565. <dd><table class="docutils field-list" frame="void" rules="none">
  2566. <col class="field-name" />
  2567. <col class="field-body" />
  2568. <tbody valign="top">
  2569. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2570. </tr>
  2571. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  2572. </tr>
  2573. </tbody>
  2574. </table>
  2575. <p>Defines whether a user should be displayed a &#8220;Show all&#8221; button in browse
  2576. mode or not in all cases. By default it is shown only on small tables (less
  2577. than 500 rows) to avoid performance issues while getting too many rows.</p>
  2578. </dd></dl>
  2579. <dl class="option">
  2580. <dt id="cfg_MaxRows">
  2581. <tt class="descname">$cfg['MaxRows']</tt><a class="headerlink" href="#cfg_MaxRows" title="Permalink to this definition">¶</a></dt>
  2582. <dd><table class="docutils field-list" frame="void" rules="none">
  2583. <col class="field-name" />
  2584. <col class="field-body" />
  2585. <tbody valign="top">
  2586. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  2587. </tr>
  2588. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">25</td>
  2589. </tr>
  2590. </tbody>
  2591. </table>
  2592. <p>Number of rows displayed when browsing a result set and no LIMIT
  2593. clause is used. If the result set contains more rows, &#8220;Previous&#8221; and
  2594. &#8220;Next&#8221; links will be shown. Possible values: 25,50,100,250,500.</p>
  2595. </dd></dl>
  2596. <dl class="option">
  2597. <dt id="cfg_Order">
  2598. <tt class="descname">$cfg['Order']</tt><a class="headerlink" href="#cfg_Order" title="Permalink to this definition">¶</a></dt>
  2599. <dd><table class="docutils field-list" frame="void" rules="none">
  2600. <col class="field-name" />
  2601. <col class="field-body" />
  2602. <tbody valign="top">
  2603. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  2604. </tr>
  2605. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'SMART'</span></tt></td>
  2606. </tr>
  2607. </tbody>
  2608. </table>
  2609. <p>Defines whether columns are displayed in ascending (<tt class="docutils literal"><span class="pre">ASC</span></tt>) order, in
  2610. descending (<tt class="docutils literal"><span class="pre">DESC</span></tt>) order or in a &#8220;smart&#8221; (<tt class="docutils literal"><span class="pre">SMART</span></tt>) order - I.E.
  2611. descending order for columns of type TIME, DATE, DATETIME and
  2612. TIMESTAMP, ascending order else- by default.</p>
  2613. </dd></dl>
  2614. <dl class="option">
  2615. <dt id="cfg_DisplayBinaryAsHex">
  2616. <tt class="descname">$cfg['DisplayBinaryAsHex']</tt><a class="headerlink" href="#cfg_DisplayBinaryAsHex" title="Permalink to this definition">¶</a></dt>
  2617. <dd><table class="docutils field-list" frame="void" rules="none">
  2618. <col class="field-name" />
  2619. <col class="field-body" />
  2620. <tbody valign="top">
  2621. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2622. </tr>
  2623. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  2624. </tr>
  2625. </tbody>
  2626. </table>
  2627. <p>Defines whether the &#8220;Show binary contents as HEX&#8221; browse option is
  2628. ticked by default.</p>
  2629. </dd></dl>
  2630. <dl class="option">
  2631. <dt id="cfg_GridEditing">
  2632. <tt class="descname">$cfg['GridEditing']</tt><a class="headerlink" href="#cfg_GridEditing" title="Permalink to this definition">¶</a></dt>
  2633. <dd><table class="docutils field-list" frame="void" rules="none">
  2634. <col class="field-name" />
  2635. <col class="field-body" />
  2636. <tbody valign="top">
  2637. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  2638. </tr>
  2639. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'double-click'</span></tt></td>
  2640. </tr>
  2641. </tbody>
  2642. </table>
  2643. <p>Defines which action (<tt class="docutils literal"><span class="pre">double-click</span></tt> or <tt class="docutils literal"><span class="pre">click</span></tt>) triggers grid
  2644. editing. Can be deactived with the <tt class="docutils literal"><span class="pre">disabled</span></tt> value.</p>
  2645. </dd></dl>
  2646. <dl class="option">
  2647. <dt id="cfg_SaveCellsAtOnce">
  2648. <tt class="descname">$cfg['SaveCellsAtOnce']</tt><a class="headerlink" href="#cfg_SaveCellsAtOnce" title="Permalink to this definition">¶</a></dt>
  2649. <dd><table class="docutils field-list" frame="void" rules="none">
  2650. <col class="field-name" />
  2651. <col class="field-body" />
  2652. <tbody valign="top">
  2653. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2654. </tr>
  2655. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  2656. </tr>
  2657. </tbody>
  2658. </table>
  2659. <p>Defines whether or not to save all edited cells at once for grid
  2660. editing.</p>
  2661. </dd></dl>
  2662. </div>
  2663. <div class="section" id="editing-mode">
  2664. <h2>Editing mode<a class="headerlink" href="#editing-mode" title="Permalink to this headline">¶</a></h2>
  2665. <dl class="option">
  2666. <dt id="cfg_ProtectBinary">
  2667. <tt class="descname">$cfg['ProtectBinary']</tt><a class="headerlink" href="#cfg_ProtectBinary" title="Permalink to this definition">¶</a></dt>
  2668. <dd><table class="docutils field-list" frame="void" rules="none">
  2669. <col class="field-name" />
  2670. <col class="field-body" />
  2671. <tbody valign="top">
  2672. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean or string</td>
  2673. </tr>
  2674. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'blob'</span></tt></td>
  2675. </tr>
  2676. </tbody>
  2677. </table>
  2678. <p>Defines whether <tt class="docutils literal"><span class="pre">BLOB</span></tt> or <tt class="docutils literal"><span class="pre">BINARY</span></tt> columns are protected from
  2679. editing when browsing a table&#8217;s content. Valid values are:</p>
  2680. <ul class="simple">
  2681. <li><tt class="docutils literal"><span class="pre">false</span></tt> to allow editing of all columns;</li>
  2682. <li><tt class="docutils literal"><span class="pre">'blob'</span></tt> to allow editing of all columns except <tt class="docutils literal"><span class="pre">BLOBS</span></tt>;</li>
  2683. <li><tt class="docutils literal"><span class="pre">'noblob'</span></tt> to disallow editing of all columns except <tt class="docutils literal"><span class="pre">BLOBS</span></tt> (the
  2684. opposite of <tt class="docutils literal"><span class="pre">'blob'</span></tt>);</li>
  2685. <li><tt class="docutils literal"><span class="pre">'all'</span></tt> to disallow editing of all <tt class="docutils literal"><span class="pre">BINARY</span></tt> or <tt class="docutils literal"><span class="pre">BLOB</span></tt> columns.</li>
  2686. </ul>
  2687. </dd></dl>
  2688. <dl class="option">
  2689. <dt id="cfg_ShowFunctionFields">
  2690. <tt class="descname">$cfg['ShowFunctionFields']</tt><a class="headerlink" href="#cfg_ShowFunctionFields" title="Permalink to this definition">¶</a></dt>
  2691. <dd><table class="docutils field-list" frame="void" rules="none">
  2692. <col class="field-name" />
  2693. <col class="field-body" />
  2694. <tbody valign="top">
  2695. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2696. </tr>
  2697. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  2698. </tr>
  2699. </tbody>
  2700. </table>
  2701. <p>Defines whether or not MySQL functions fields should be initially
  2702. displayed in edit/insert mode. Since version 2.10, the user can toggle
  2703. this setting from the interface.</p>
  2704. </dd></dl>
  2705. <dl class="option">
  2706. <dt id="cfg_ShowFieldTypesInDataEditView">
  2707. <tt class="descname">$cfg['ShowFieldTypesInDataEditView']</tt><a class="headerlink" href="#cfg_ShowFieldTypesInDataEditView" title="Permalink to this definition">¶</a></dt>
  2708. <dd><table class="docutils field-list" frame="void" rules="none">
  2709. <col class="field-name" />
  2710. <col class="field-body" />
  2711. <tbody valign="top">
  2712. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2713. </tr>
  2714. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  2715. </tr>
  2716. </tbody>
  2717. </table>
  2718. <p>Defines whether or not type fields should be initially displayed in
  2719. edit/insert mode. The user can toggle this setting from the interface.</p>
  2720. </dd></dl>
  2721. <dl class="option">
  2722. <dt id="cfg_InsertRows">
  2723. <tt class="descname">$cfg['InsertRows']</tt><a class="headerlink" href="#cfg_InsertRows" title="Permalink to this definition">¶</a></dt>
  2724. <dd><table class="docutils field-list" frame="void" rules="none">
  2725. <col class="field-name" />
  2726. <col class="field-body" />
  2727. <tbody valign="top">
  2728. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  2729. </tr>
  2730. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">2</td>
  2731. </tr>
  2732. </tbody>
  2733. </table>
  2734. <p>Defines the maximum number of concurrent entries for the Insert page.</p>
  2735. </dd></dl>
  2736. <dl class="option">
  2737. <dt id="cfg_ForeignKeyMaxLimit">
  2738. <tt class="descname">$cfg['ForeignKeyMaxLimit']</tt><a class="headerlink" href="#cfg_ForeignKeyMaxLimit" title="Permalink to this definition">¶</a></dt>
  2739. <dd><table class="docutils field-list" frame="void" rules="none">
  2740. <col class="field-name" />
  2741. <col class="field-body" />
  2742. <tbody valign="top">
  2743. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  2744. </tr>
  2745. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">100</td>
  2746. </tr>
  2747. </tbody>
  2748. </table>
  2749. <p>If there are fewer items than this in the set of foreign keys, then a
  2750. drop-down box of foreign keys is presented, in the style described by
  2751. the <span class="target" id="index-70"></span><a class="reference internal" href="#cfg_ForeignKeyDropdownOrder"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['ForeignKeyDropdownOrder']</span></tt></a> setting.</p>
  2752. </dd></dl>
  2753. <dl class="option">
  2754. <dt id="cfg_ForeignKeyDropdownOrder">
  2755. <tt class="descname">$cfg['ForeignKeyDropdownOrder']</tt><a class="headerlink" href="#cfg_ForeignKeyDropdownOrder" title="Permalink to this definition">¶</a></dt>
  2756. <dd><table class="docutils field-list" frame="void" rules="none">
  2757. <col class="field-name" />
  2758. <col class="field-body" />
  2759. <tbody valign="top">
  2760. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">array</td>
  2761. </tr>
  2762. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">array(&#8216;content-id&#8217;, &#8216;id-content&#8217;)</td>
  2763. </tr>
  2764. </tbody>
  2765. </table>
  2766. <p>For the foreign key drop-down fields, there are several methods of
  2767. display, offering both the key and value data. The contents of the
  2768. array should be one or both of the following strings: <tt class="docutils literal"><span class="pre">content-id</span></tt>,
  2769. <tt class="docutils literal"><span class="pre">id-content</span></tt>.</p>
  2770. </dd></dl>
  2771. </div>
  2772. <div class="section" id="export-and-import-settings">
  2773. <h2>Export and import settings<a class="headerlink" href="#export-and-import-settings" title="Permalink to this headline">¶</a></h2>
  2774. <dl class="option">
  2775. <dt id="cfg_ZipDump">
  2776. <tt class="descname">$cfg['ZipDump']</tt><a class="headerlink" href="#cfg_ZipDump" title="Permalink to this definition">¶</a></dt>
  2777. <dd><table class="docutils field-list" frame="void" rules="none">
  2778. <col class="field-name" />
  2779. <col class="field-body" />
  2780. <tbody valign="top">
  2781. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2782. </tr>
  2783. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  2784. </tr>
  2785. </tbody>
  2786. </table>
  2787. </dd></dl>
  2788. <dl class="option">
  2789. <dt id="cfg_GZipDump">
  2790. <tt class="descname">$cfg['GZipDump']</tt><a class="headerlink" href="#cfg_GZipDump" title="Permalink to this definition">¶</a></dt>
  2791. <dd><table class="docutils field-list" frame="void" rules="none">
  2792. <col class="field-name" />
  2793. <col class="field-body" />
  2794. <tbody valign="top">
  2795. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2796. </tr>
  2797. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  2798. </tr>
  2799. </tbody>
  2800. </table>
  2801. </dd></dl>
  2802. <dl class="option">
  2803. <dt id="cfg_BZipDump">
  2804. <tt class="descname">$cfg['BZipDump']</tt><a class="headerlink" href="#cfg_BZipDump" title="Permalink to this definition">¶</a></dt>
  2805. <dd><table class="docutils field-list" frame="void" rules="none">
  2806. <col class="field-name" />
  2807. <col class="field-body" />
  2808. <tbody valign="top">
  2809. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2810. </tr>
  2811. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  2812. </tr>
  2813. </tbody>
  2814. </table>
  2815. <p>Defines whether to allow the use of zip/GZip/BZip2 compression when
  2816. creating a dump file</p>
  2817. </dd></dl>
  2818. <dl class="option">
  2819. <dt id="cfg_CompressOnFly">
  2820. <tt class="descname">$cfg['CompressOnFly']</tt><a class="headerlink" href="#cfg_CompressOnFly" title="Permalink to this definition">¶</a></dt>
  2821. <dd><table class="docutils field-list" frame="void" rules="none">
  2822. <col class="field-name" />
  2823. <col class="field-body" />
  2824. <tbody valign="top">
  2825. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  2826. </tr>
  2827. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  2828. </tr>
  2829. </tbody>
  2830. </table>
  2831. <p>Defines whether to allow on the fly compression for GZip/BZip2
  2832. compressed exports. This doesn&#8217;t affect smaller dumps and allows users
  2833. to create larger dumps that won&#8217;t otherwise fit in memory due to php
  2834. memory limit. Produced files contain more GZip/BZip2 headers, but all
  2835. normal programs handle this correctly.</p>
  2836. </dd></dl>
  2837. <dl class="option">
  2838. <dt id="cfg_Export">
  2839. <tt class="descname">$cfg['Export']</tt><a class="headerlink" href="#cfg_Export" title="Permalink to this definition">¶</a></dt>
  2840. <dd><table class="docutils field-list" frame="void" rules="none">
  2841. <col class="field-name" />
  2842. <col class="field-body" />
  2843. <tbody valign="top">
  2844. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">array</td>
  2845. </tr>
  2846. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">array(...)</td>
  2847. </tr>
  2848. </tbody>
  2849. </table>
  2850. <p>In this array are defined default parameters for export, names of
  2851. items are similar to texts seen on export page, so you can easily
  2852. identify what they mean.</p>
  2853. </dd></dl>
  2854. <dl class="option">
  2855. <dt id="cfg_Export_method">
  2856. <tt class="descname">$cfg['Export']['method']</tt><a class="headerlink" href="#cfg_Export_method" title="Permalink to this definition">¶</a></dt>
  2857. <dd><table class="docutils field-list" frame="void" rules="none">
  2858. <col class="field-name" />
  2859. <col class="field-body" />
  2860. <tbody valign="top">
  2861. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  2862. </tr>
  2863. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'quick'</span></tt></td>
  2864. </tr>
  2865. </tbody>
  2866. </table>
  2867. <p>Defines how the export form is displayed when it loads. Valid values
  2868. are:</p>
  2869. <ul class="simple">
  2870. <li><tt class="docutils literal"><span class="pre">quick</span></tt> to display the minimum number of options to configure</li>
  2871. <li><tt class="docutils literal"><span class="pre">custom</span></tt> to display every available option to configure</li>
  2872. <li><tt class="docutils literal"><span class="pre">custom-no-form</span></tt> same as <tt class="docutils literal"><span class="pre">custom</span></tt> but does not display the option
  2873. of using quick export</li>
  2874. </ul>
  2875. </dd></dl>
  2876. <dl class="option">
  2877. <dt id="cfg_Import">
  2878. <tt class="descname">$cfg['Import']</tt><a class="headerlink" href="#cfg_Import" title="Permalink to this definition">¶</a></dt>
  2879. <dd><table class="docutils field-list" frame="void" rules="none">
  2880. <col class="field-name" />
  2881. <col class="field-body" />
  2882. <tbody valign="top">
  2883. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">array</td>
  2884. </tr>
  2885. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">array(...)</td>
  2886. </tr>
  2887. </tbody>
  2888. </table>
  2889. <p>In this array are defined default parameters for import, names of
  2890. items are similar to texts seen on import page, so you can easily
  2891. identify what they mean.</p>
  2892. </dd></dl>
  2893. </div>
  2894. <div class="section" id="tabs-display-settings">
  2895. <h2>Tabs display settings<a class="headerlink" href="#tabs-display-settings" title="Permalink to this headline">¶</a></h2>
  2896. <dl class="option">
  2897. <dt id="cfg_TabsMode">
  2898. <tt class="descname">$cfg['TabsMode']</tt><a class="headerlink" href="#cfg_TabsMode" title="Permalink to this definition">¶</a></dt>
  2899. <dd><table class="docutils field-list" frame="void" rules="none">
  2900. <col class="field-name" />
  2901. <col class="field-body" />
  2902. <tbody valign="top">
  2903. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  2904. </tr>
  2905. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'both'</span></tt></td>
  2906. </tr>
  2907. </tbody>
  2908. </table>
  2909. <p>Defines whether the menu tabs contain <tt class="docutils literal"><span class="pre">'icons'</span></tt>, <tt class="docutils literal"><span class="pre">'text'</span></tt> or <tt class="docutils literal"><span class="pre">'both'</span></tt>.</p>
  2910. </dd></dl>
  2911. <dl class="option">
  2912. <dt id="cfg_ActionLinksMode">
  2913. <tt class="descname">$cfg['ActionLinksMode']</tt><a class="headerlink" href="#cfg_ActionLinksMode" title="Permalink to this definition">¶</a></dt>
  2914. <dd><table class="docutils field-list" frame="void" rules="none">
  2915. <col class="field-name" />
  2916. <col class="field-body" />
  2917. <tbody valign="top">
  2918. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  2919. </tr>
  2920. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'both'</span></tt></td>
  2921. </tr>
  2922. </tbody>
  2923. </table>
  2924. <p>If set to <tt class="docutils literal"><span class="pre">icons</span></tt>, will display icons instead of text for db and table
  2925. properties links (like <em class="guilabel">Browse</em>, <em class="guilabel">Select</em>,
  2926. <em class="guilabel">Insert</em>, ...). Can be set to <tt class="docutils literal"><span class="pre">'both'</span></tt>
  2927. if you want icons AND text. When set to <tt class="docutils literal"><span class="pre">text</span></tt>, will only show text.</p>
  2928. </dd></dl>
  2929. <dl class="option">
  2930. <dt id="cfg_PropertiesNumColumns">
  2931. <tt class="descname">$cfg['PropertiesNumColumns']</tt><a class="headerlink" href="#cfg_PropertiesNumColumns" title="Permalink to this definition">¶</a></dt>
  2932. <dd><table class="docutils field-list" frame="void" rules="none">
  2933. <col class="field-name" />
  2934. <col class="field-body" />
  2935. <tbody valign="top">
  2936. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  2937. </tr>
  2938. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">1</td>
  2939. </tr>
  2940. </tbody>
  2941. </table>
  2942. <p>How many columns will be utilized to display the tables on the database
  2943. property view? When setting this to a value larger than 1, the type of the
  2944. database will be omitted for more display space.</p>
  2945. </dd></dl>
  2946. <dl class="option">
  2947. <dt id="cfg_DefaultTabServer">
  2948. <tt class="descname">$cfg['DefaultTabServer']</tt><a class="headerlink" href="#cfg_DefaultTabServer" title="Permalink to this definition">¶</a></dt>
  2949. <dd><table class="docutils field-list" frame="void" rules="none">
  2950. <col class="field-name" />
  2951. <col class="field-body" />
  2952. <tbody valign="top">
  2953. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  2954. </tr>
  2955. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'index.php'</span></tt></td>
  2956. </tr>
  2957. </tbody>
  2958. </table>
  2959. <p>Defines the tab displayed by default on server view. Possible values:</p>
  2960. <ul class="simple">
  2961. <li><tt class="docutils literal"><span class="pre">main.php</span></tt> (recommended for multi-user setups)</li>
  2962. <li><tt class="docutils literal"><span class="pre">server_databases.php</span></tt>,</li>
  2963. <li><tt class="docutils literal"><span class="pre">server_status.php</span></tt></li>
  2964. <li><tt class="docutils literal"><span class="pre">server_variables.php</span></tt></li>
  2965. <li><tt class="docutils literal"><span class="pre">server_privileges.php</span></tt></li>
  2966. </ul>
  2967. </dd></dl>
  2968. <dl class="option">
  2969. <dt id="cfg_DefaultTabDatabase">
  2970. <tt class="descname">$cfg['DefaultTabDatabase']</tt><a class="headerlink" href="#cfg_DefaultTabDatabase" title="Permalink to this definition">¶</a></dt>
  2971. <dd><table class="docutils field-list" frame="void" rules="none">
  2972. <col class="field-name" />
  2973. <col class="field-body" />
  2974. <tbody valign="top">
  2975. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  2976. </tr>
  2977. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'db_structure.php'</span></tt></td>
  2978. </tr>
  2979. </tbody>
  2980. </table>
  2981. <p>Defines the tab displayed by default on database view. Possible
  2982. values:</p>
  2983. <ul class="simple">
  2984. <li><tt class="docutils literal"><span class="pre">db_structure.php</span></tt></li>
  2985. <li><tt class="docutils literal"><span class="pre">db_sql.php</span></tt></li>
  2986. <li><tt class="docutils literal"><span class="pre">db_search.php</span></tt>.</li>
  2987. </ul>
  2988. </dd></dl>
  2989. <dl class="option">
  2990. <dt id="cfg_DefaultTabTable">
  2991. <tt class="descname">$cfg['DefaultTabTable']</tt><a class="headerlink" href="#cfg_DefaultTabTable" title="Permalink to this definition">¶</a></dt>
  2992. <dd><table class="docutils field-list" frame="void" rules="none">
  2993. <col class="field-name" />
  2994. <col class="field-body" />
  2995. <tbody valign="top">
  2996. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  2997. </tr>
  2998. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'sql.php'</span></tt></td>
  2999. </tr>
  3000. </tbody>
  3001. </table>
  3002. <p>Defines the tab displayed by default on table view. Possible values:</p>
  3003. <ul class="simple">
  3004. <li><tt class="docutils literal"><span class="pre">tbl_structure.php</span></tt></li>
  3005. <li><tt class="docutils literal"><span class="pre">tbl_sql.php</span></tt></li>
  3006. <li><tt class="docutils literal"><span class="pre">tbl_select.php</span></tt></li>
  3007. <li><tt class="docutils literal"><span class="pre">tbl_change.php</span></tt></li>
  3008. <li><tt class="docutils literal"><span class="pre">sql.php</span></tt></li>
  3009. </ul>
  3010. </dd></dl>
  3011. </div>
  3012. <div class="section" id="pdf-options">
  3013. <h2>PDF Options<a class="headerlink" href="#pdf-options" title="Permalink to this headline">¶</a></h2>
  3014. <dl class="option">
  3015. <dt id="cfg_PDFPageSizes">
  3016. <tt class="descname">$cfg['PDFPageSizes']</tt><a class="headerlink" href="#cfg_PDFPageSizes" title="Permalink to this definition">¶</a></dt>
  3017. <dd><table class="docutils field-list" frame="void" rules="none">
  3018. <col class="field-name" />
  3019. <col class="field-body" />
  3020. <tbody valign="top">
  3021. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">array</td>
  3022. </tr>
  3023. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">array('A3',</span> <span class="pre">'A4',</span> <span class="pre">'A5',</span> <span class="pre">'letter',</span> <span class="pre">'legal')</span></tt></td>
  3024. </tr>
  3025. </tbody>
  3026. </table>
  3027. <p>Array of possible paper sizes for creating PDF pages.</p>
  3028. <p>You should never need to change this.</p>
  3029. </dd></dl>
  3030. <dl class="option">
  3031. <dt id="cfg_PDFDefaultPageSize">
  3032. <tt class="descname">$cfg['PDFDefaultPageSize']</tt><a class="headerlink" href="#cfg_PDFDefaultPageSize" title="Permalink to this definition">¶</a></dt>
  3033. <dd><table class="docutils field-list" frame="void" rules="none">
  3034. <col class="field-name" />
  3035. <col class="field-body" />
  3036. <tbody valign="top">
  3037. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  3038. </tr>
  3039. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'A4'</span></tt></td>
  3040. </tr>
  3041. </tbody>
  3042. </table>
  3043. <p>Default page size to use when creating PDF pages. Valid values are any
  3044. listed in <span class="target" id="index-71"></span><a class="reference internal" href="#cfg_PDFPageSizes"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['PDFPageSizes']</span></tt></a>.</p>
  3045. </dd></dl>
  3046. </div>
  3047. <div class="section" id="languages">
  3048. <h2>Languages<a class="headerlink" href="#languages" title="Permalink to this headline">¶</a></h2>
  3049. <dl class="option">
  3050. <dt id="cfg_DefaultLang">
  3051. <tt class="descname">$cfg['DefaultLang']</tt><a class="headerlink" href="#cfg_DefaultLang" title="Permalink to this definition">¶</a></dt>
  3052. <dd><table class="docutils field-list" frame="void" rules="none">
  3053. <col class="field-name" />
  3054. <col class="field-body" />
  3055. <tbody valign="top">
  3056. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  3057. </tr>
  3058. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'en'</span></tt></td>
  3059. </tr>
  3060. </tbody>
  3061. </table>
  3062. <p>Defines the default language to use, if not browser-defined or user-
  3063. defined. The corresponding language file needs to be in
  3064. locale/<em>code</em>/LC_MESSAGES/phpmyadmin.mo.</p>
  3065. </dd></dl>
  3066. <dl class="option">
  3067. <dt id="cfg_DefaultConnectionCollation">
  3068. <tt class="descname">$cfg['DefaultConnectionCollation']</tt><a class="headerlink" href="#cfg_DefaultConnectionCollation" title="Permalink to this definition">¶</a></dt>
  3069. <dd><table class="docutils field-list" frame="void" rules="none">
  3070. <col class="field-name" />
  3071. <col class="field-body" />
  3072. <tbody valign="top">
  3073. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  3074. </tr>
  3075. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'utf8_general_ci'</span></tt></td>
  3076. </tr>
  3077. </tbody>
  3078. </table>
  3079. <p>Defines the default connection collation to use, if not user-defined.
  3080. See the <a class="reference external" href="http://dev.mysql.com/doc/mysql/en/charset-charsets.html">MySQL documentation</a> for list of possible values. This setting is
  3081. ignored when connected to Drizzle server.</p>
  3082. </dd></dl>
  3083. <dl class="option">
  3084. <dt id="cfg_Lang">
  3085. <tt class="descname">$cfg['Lang']</tt><a class="headerlink" href="#cfg_Lang" title="Permalink to this definition">¶</a></dt>
  3086. <dd><table class="docutils field-list" frame="void" rules="none">
  3087. <col class="field-name" />
  3088. <col class="field-body" />
  3089. <tbody valign="top">
  3090. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  3091. </tr>
  3092. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">not set</td>
  3093. </tr>
  3094. </tbody>
  3095. </table>
  3096. <p>Force language to use. The corresponding language file needs to be in
  3097. locale/<em>code</em>/LC_MESSAGES/phpmyadmin.mo.</p>
  3098. </dd></dl>
  3099. <dl class="option">
  3100. <dt id="cfg_FilterLanguages">
  3101. <tt class="descname">$cfg['FilterLanguages']</tt><a class="headerlink" href="#cfg_FilterLanguages" title="Permalink to this definition">¶</a></dt>
  3102. <dd><table class="docutils field-list" frame="void" rules="none">
  3103. <col class="field-name" />
  3104. <col class="field-body" />
  3105. <tbody valign="top">
  3106. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  3107. </tr>
  3108. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  3109. </tr>
  3110. </tbody>
  3111. </table>
  3112. <p>Limit list of available languages to those matching the given regular
  3113. expression. For example if you want only Czech and English, you should
  3114. set filter to <tt class="docutils literal"><span class="pre">'^(cs|en)'</span></tt>.</p>
  3115. </dd></dl>
  3116. <dl class="option">
  3117. <dt id="cfg_RecodingEngine">
  3118. <tt class="descname">$cfg['RecodingEngine']</tt><a class="headerlink" href="#cfg_RecodingEngine" title="Permalink to this definition">¶</a></dt>
  3119. <dd><table class="docutils field-list" frame="void" rules="none">
  3120. <col class="field-name" />
  3121. <col class="field-body" />
  3122. <tbody valign="top">
  3123. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  3124. </tr>
  3125. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'auto'</span></tt></td>
  3126. </tr>
  3127. </tbody>
  3128. </table>
  3129. <p>You can select here which functions will be used for character set
  3130. conversion. Possible values are:</p>
  3131. <ul class="simple">
  3132. <li>auto - automatically use available one (first is tested iconv, then
  3133. recode)</li>
  3134. <li>iconv - use iconv or libiconv functions</li>
  3135. <li>recode - use recode_string function</li>
  3136. <li>mb - use mbstring extension</li>
  3137. <li>none - disable encoding conversion</li>
  3138. </ul>
  3139. <p>Enabled charset conversion activates a pull-down menu in the Export
  3140. and Import pages, to choose the character set when exporting a file.
  3141. The default value in this menu comes from
  3142. <span class="target" id="index-72"></span><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Export']['charset']</span></tt> and <span class="target" id="index-73"></span><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Import']['charset']</span></tt>.</p>
  3143. </dd></dl>
  3144. <dl class="option">
  3145. <dt id="cfg_IconvExtraParams">
  3146. <tt class="descname">$cfg['IconvExtraParams']</tt><a class="headerlink" href="#cfg_IconvExtraParams" title="Permalink to this definition">¶</a></dt>
  3147. <dd><table class="docutils field-list" frame="void" rules="none">
  3148. <col class="field-name" />
  3149. <col class="field-body" />
  3150. <tbody valign="top">
  3151. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  3152. </tr>
  3153. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'//TRANSLIT'</span></tt></td>
  3154. </tr>
  3155. </tbody>
  3156. </table>
  3157. <p>Specify some parameters for iconv used in charset conversion. See
  3158. <a class="reference external" href="http://www.gnu.org/software/libiconv/documentation/libiconv/iconv_open.3.html">iconv documentation</a> for details. By default
  3159. <tt class="docutils literal"><span class="pre">//TRANSLIT</span></tt> is used, so that invalid characters will be
  3160. transliterated.</p>
  3161. </dd></dl>
  3162. <dl class="option">
  3163. <dt id="cfg_AvailableCharsets">
  3164. <tt class="descname">$cfg['AvailableCharsets']</tt><a class="headerlink" href="#cfg_AvailableCharsets" title="Permalink to this definition">¶</a></dt>
  3165. <dd><table class="docutils field-list" frame="void" rules="none">
  3166. <col class="field-name" />
  3167. <col class="field-body" />
  3168. <tbody valign="top">
  3169. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">array</td>
  3170. </tr>
  3171. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">array(..._</td>
  3172. </tr>
  3173. </tbody>
  3174. </table>
  3175. <p>Available character sets for MySQL conversion. You can add your own
  3176. (any of supported by recode/iconv) or remove these which you don&#8217;t
  3177. use. Character sets will be shown in same order as here listed, so if
  3178. you frequently use some of these move them to the top.</p>
  3179. </dd></dl>
  3180. </div>
  3181. <div class="section" id="web-server-settings">
  3182. <h2>Web server settings<a class="headerlink" href="#web-server-settings" title="Permalink to this headline">¶</a></h2>
  3183. <dl class="option">
  3184. <dt id="cfg_OBGzip">
  3185. <tt class="descname">$cfg['OBGzip']</tt><a class="headerlink" href="#cfg_OBGzip" title="Permalink to this definition">¶</a></dt>
  3186. <dd><table class="docutils field-list" frame="void" rules="none">
  3187. <col class="field-name" />
  3188. <col class="field-body" />
  3189. <tbody valign="top">
  3190. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string/boolean</td>
  3191. </tr>
  3192. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'auto'</span></tt></td>
  3193. </tr>
  3194. </tbody>
  3195. </table>
  3196. <p>Defines whether to use GZip output buffering for increased speed in
  3197. <a class="reference internal" href="glossary.html#term-http"><em class="xref std std-term">HTTP</em></a> transfers. Set to
  3198. true/false for enabling/disabling. When set to &#8216;auto&#8217; (string),
  3199. phpMyAdmin tries to enable output buffering and will automatically
  3200. disable it if your browser has some problems with buffering. IE6 with
  3201. a certain patch is known to cause data corruption when having enabled
  3202. buffering.</p>
  3203. </dd></dl>
  3204. <dl class="option">
  3205. <dt id="cfg_TrustedProxies">
  3206. <tt class="descname">$cfg['TrustedProxies']</tt><a class="headerlink" href="#cfg_TrustedProxies" title="Permalink to this definition">¶</a></dt>
  3207. <dd><table class="docutils field-list" frame="void" rules="none">
  3208. <col class="field-name" />
  3209. <col class="field-body" />
  3210. <tbody valign="top">
  3211. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">array</td>
  3212. </tr>
  3213. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">array()</td>
  3214. </tr>
  3215. </tbody>
  3216. </table>
  3217. <p>Lists proxies and HTTP headers which are trusted for
  3218. <span class="target" id="index-74"></span><a class="reference internal" href="#cfg_Servers_AllowDeny_order"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['AllowDeny']['order']</span></tt></a>. This list is by
  3219. default empty, you need to fill in some trusted proxy servers if you
  3220. want to use rules for IP addresses behind proxy.</p>
  3221. <p>The following example specifies that phpMyAdmin should trust a
  3222. HTTP_X_FORWARDED_FOR (<tt class="docutils literal"><span class="pre">X</span> <span class="pre">-Forwarded-For</span></tt>) header coming from the proxy
  3223. 1.2.3.4:</p>
  3224. <div class="highlight-php"><div class="highlight"><pre><span class="nv">$cfg</span><span class="p">[</span><span class="s1">&#39;TrustedProxies&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="k">array</span><span class="p">(</span><span class="s1">&#39;1.2.3.4&#39;</span> <span class="o">=&gt;</span> <span class="s1">&#39;HTTP_X_FORWARDED_FOR&#39;</span><span class="p">);</span>
  3225. </pre></div>
  3226. </div>
  3227. <p>The <span class="target" id="index-75"></span><a class="reference internal" href="#cfg_Servers_AllowDeny_rules"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['AllowDeny']['rules']</span></tt></a> directive uses the
  3228. client&#8217;s IP address as usual.</p>
  3229. </dd></dl>
  3230. <dl class="option">
  3231. <dt id="cfg_GD2Available">
  3232. <tt class="descname">$cfg['GD2Available']</tt><a class="headerlink" href="#cfg_GD2Available" title="Permalink to this definition">¶</a></dt>
  3233. <dd><table class="docutils field-list" frame="void" rules="none">
  3234. <col class="field-name" />
  3235. <col class="field-body" />
  3236. <tbody valign="top">
  3237. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  3238. </tr>
  3239. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'auto'</span></tt></td>
  3240. </tr>
  3241. </tbody>
  3242. </table>
  3243. <p>Specifies whether GD &gt;= 2 is available. If yes it can be used for MIME
  3244. transformations. Possible values are:</p>
  3245. <ul class="simple">
  3246. <li>auto - automatically detect</li>
  3247. <li>yes - GD 2 functions can be used</li>
  3248. <li>no - GD 2 function cannot be used</li>
  3249. </ul>
  3250. </dd></dl>
  3251. <dl class="option">
  3252. <dt id="cfg_CheckConfigurationPermissions">
  3253. <tt class="descname">$cfg['CheckConfigurationPermissions']</tt><a class="headerlink" href="#cfg_CheckConfigurationPermissions" title="Permalink to this definition">¶</a></dt>
  3254. <dd><table class="docutils field-list" frame="void" rules="none">
  3255. <col class="field-name" />
  3256. <col class="field-body" />
  3257. <tbody valign="top">
  3258. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  3259. </tr>
  3260. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  3261. </tr>
  3262. </tbody>
  3263. </table>
  3264. <p>We normally check the permissions on the configuration file to ensure
  3265. it&#8217;s not world writable. However, phpMyAdmin could be installed on a
  3266. NTFS filesystem mounted on a non-Windows server, in which case the
  3267. permissions seems wrong but in fact cannot be detected. In this case a
  3268. sysadmin would set this parameter to <tt class="docutils literal"><span class="pre">false</span></tt>.</p>
  3269. </dd></dl>
  3270. <dl class="option">
  3271. <dt id="cfg_LinkLengthLimit">
  3272. <tt class="descname">$cfg['LinkLengthLimit']</tt><a class="headerlink" href="#cfg_LinkLengthLimit" title="Permalink to this definition">¶</a></dt>
  3273. <dd><table class="docutils field-list" frame="void" rules="none">
  3274. <col class="field-name" />
  3275. <col class="field-body" />
  3276. <tbody valign="top">
  3277. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  3278. </tr>
  3279. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">1000</td>
  3280. </tr>
  3281. </tbody>
  3282. </table>
  3283. <p>Limit for length of <a class="reference internal" href="glossary.html#term-url"><em class="xref std std-term">URL</em></a> in links. When length would be above this
  3284. limit, it is replaced by form with button. This is required as some web
  3285. servers (<a class="reference internal" href="glossary.html#term-iis"><em class="xref std std-term">IIS</em></a>) have problems with long <a class="reference internal" href="glossary.html#term-url"><em class="xref std std-term">URL</em></a> .</p>
  3286. </dd></dl>
  3287. <dl class="option">
  3288. <dt id="cfg_CSPAllow">
  3289. <tt class="descname">$cfg['CSPAllow']</tt><a class="headerlink" href="#cfg_CSPAllow" title="Permalink to this definition">¶</a></dt>
  3290. <dd><table class="docutils field-list" frame="void" rules="none">
  3291. <col class="field-name" />
  3292. <col class="field-body" />
  3293. <tbody valign="top">
  3294. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  3295. </tr>
  3296. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  3297. </tr>
  3298. </tbody>
  3299. </table>
  3300. <p>Additional string to include in allowed script and image sources in Content
  3301. Security Policy header.</p>
  3302. <p>This can be useful when you want to include some external javascript files
  3303. in <tt class="file docutils literal"><span class="pre">config.footer.inc.php</span></tt> or <tt class="file docutils literal"><span class="pre">config.header.inc.php</span></tt>, which
  3304. would be normally not allowed by Content Security Policy.</p>
  3305. <p>To allow some sites, just list them within the string:</p>
  3306. <div class="highlight-php"><div class="highlight"><pre><span class="nv">$cfg</span><span class="p">[</span><span class="s1">&#39;CSPAllow&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;example.com example.net&#39;</span><span class="p">;</span>
  3307. </pre></div>
  3308. </div>
  3309. <p class="versionadded">
  3310. <span class="versionmodified">New in version 4.0.4.</span></p>
  3311. </dd></dl>
  3312. <dl class="option">
  3313. <dt id="cfg_DisableMultiTableMaintenance">
  3314. <tt class="descname">$cfg['DisableMultiTableMaintenance']</tt><a class="headerlink" href="#cfg_DisableMultiTableMaintenance" title="Permalink to this definition">¶</a></dt>
  3315. <dd><table class="docutils field-list" frame="void" rules="none">
  3316. <col class="field-name" />
  3317. <col class="field-body" />
  3318. <tbody valign="top">
  3319. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  3320. </tr>
  3321. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  3322. </tr>
  3323. </tbody>
  3324. </table>
  3325. <p>In the database Structure page, it&#8217;s possible to mark some tables then
  3326. choose an operation like optimizing for many tables. This can slow
  3327. down a server; therefore, setting this to <tt class="docutils literal"><span class="pre">true</span></tt> prevents this kind
  3328. of multiple maintenance operation.</p>
  3329. </dd></dl>
  3330. </div>
  3331. <div class="section" id="theme-settings">
  3332. <h2>Theme settings<a class="headerlink" href="#theme-settings" title="Permalink to this headline">¶</a></h2>
  3333. <dl class="option">
  3334. <dt id="cfg_NaviWidth">
  3335. <tt class="descname">$cfg['NaviWidth']</tt><a class="headerlink" href="#cfg_NaviWidth" title="Permalink to this definition">¶</a></dt>
  3336. <dd><table class="docutils field-list" frame="void" rules="none">
  3337. <col class="field-name" />
  3338. <col class="field-body" />
  3339. <tbody valign="top">
  3340. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  3341. </tr>
  3342. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"></td>
  3343. </tr>
  3344. </tbody>
  3345. </table>
  3346. <p>Navigation panel width in pixels. See
  3347. <tt class="file docutils literal"><span class="pre">themes/themename/layout.inc.php</span></tt>.</p>
  3348. </dd></dl>
  3349. <dl class="option">
  3350. <dt id="cfg_NaviBackground">
  3351. <tt class="descname">$cfg['NaviBackground']</tt><a class="headerlink" href="#cfg_NaviBackground" title="Permalink to this definition">¶</a></dt>
  3352. <dd><table class="docutils field-list" frame="void" rules="none">
  3353. <col class="field-name" />
  3354. <col class="field-body" />
  3355. <tbody valign="top">
  3356. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string [CSS color for background]</td>
  3357. </tr>
  3358. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"></td>
  3359. </tr>
  3360. </tbody>
  3361. </table>
  3362. </dd></dl>
  3363. <dl class="option">
  3364. <dt id="cfg_MainBackground">
  3365. <tt class="descname">$cfg['MainBackground']</tt><a class="headerlink" href="#cfg_MainBackground" title="Permalink to this definition">¶</a></dt>
  3366. <dd><table class="docutils field-list" frame="void" rules="none">
  3367. <col class="field-name" />
  3368. <col class="field-body" />
  3369. <tbody valign="top">
  3370. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string [CSS color for background]</td>
  3371. </tr>
  3372. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"></td>
  3373. </tr>
  3374. </tbody>
  3375. </table>
  3376. <p>The background styles used for both the frames. See
  3377. <tt class="file docutils literal"><span class="pre">themes/themename/layout.inc.php</span></tt>.</p>
  3378. </dd></dl>
  3379. <dl class="option">
  3380. <dt id="cfg_NaviPointerBackground">
  3381. <tt class="descname">$cfg['NaviPointerBackground']</tt><a class="headerlink" href="#cfg_NaviPointerBackground" title="Permalink to this definition">¶</a></dt>
  3382. <dd><table class="docutils field-list" frame="void" rules="none">
  3383. <col class="field-name" />
  3384. <col class="field-body" />
  3385. <tbody valign="top">
  3386. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string [CSS color for background]</td>
  3387. </tr>
  3388. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"></td>
  3389. </tr>
  3390. </tbody>
  3391. </table>
  3392. </dd></dl>
  3393. <dl class="option">
  3394. <dt id="cfg_NaviPointerColor">
  3395. <tt class="descname">$cfg['NaviPointerColor']</tt><a class="headerlink" href="#cfg_NaviPointerColor" title="Permalink to this definition">¶</a></dt>
  3396. <dd><table class="docutils field-list" frame="void" rules="none">
  3397. <col class="field-name" />
  3398. <col class="field-body" />
  3399. <tbody valign="top">
  3400. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string [CSS color]</td>
  3401. </tr>
  3402. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"></td>
  3403. </tr>
  3404. </tbody>
  3405. </table>
  3406. <p>The style used for the pointer in the navigation panel. See
  3407. <tt class="file docutils literal"><span class="pre">themes/themename/layout.inc.php</span></tt>.</p>
  3408. </dd></dl>
  3409. <dl class="option">
  3410. <dt id="cfg_Border">
  3411. <tt class="descname">$cfg['Border']</tt><a class="headerlink" href="#cfg_Border" title="Permalink to this definition">¶</a></dt>
  3412. <dd><table class="docutils field-list" frame="void" rules="none">
  3413. <col class="field-name" />
  3414. <col class="field-body" />
  3415. <tbody valign="top">
  3416. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  3417. </tr>
  3418. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"></td>
  3419. </tr>
  3420. </tbody>
  3421. </table>
  3422. <p>The size of a table&#8217;s border. See <tt class="file docutils literal"><span class="pre">themes/themename/layout.inc.php</span></tt>.</p>
  3423. </dd></dl>
  3424. <dl class="option">
  3425. <dt id="cfg_ThBackground">
  3426. <tt class="descname">$cfg['ThBackground']</tt><a class="headerlink" href="#cfg_ThBackground" title="Permalink to this definition">¶</a></dt>
  3427. <dd><table class="docutils field-list" frame="void" rules="none">
  3428. <col class="field-name" />
  3429. <col class="field-body" />
  3430. <tbody valign="top">
  3431. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string [CSS color for background]</td>
  3432. </tr>
  3433. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"></td>
  3434. </tr>
  3435. </tbody>
  3436. </table>
  3437. </dd></dl>
  3438. <dl class="option">
  3439. <dt id="cfg_ThColor">
  3440. <tt class="descname">$cfg['ThColor']</tt><a class="headerlink" href="#cfg_ThColor" title="Permalink to this definition">¶</a></dt>
  3441. <dd><table class="docutils field-list" frame="void" rules="none">
  3442. <col class="field-name" />
  3443. <col class="field-body" />
  3444. <tbody valign="top">
  3445. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string [CSS color]</td>
  3446. </tr>
  3447. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"></td>
  3448. </tr>
  3449. </tbody>
  3450. </table>
  3451. <p>The style used for table headers. See
  3452. <tt class="file docutils literal"><span class="pre">themes/themename/layout.inc.php</span></tt>.</p>
  3453. </dd></dl>
  3454. <span class="target" id="cfg-bgcolorone"></span><dl class="option">
  3455. <dt id="cfg_BgOne">
  3456. <tt class="descname">$cfg['BgOne']</tt><a class="headerlink" href="#cfg_BgOne" title="Permalink to this definition">¶</a></dt>
  3457. <dd><table class="docutils field-list" frame="void" rules="none">
  3458. <col class="field-name" />
  3459. <col class="field-body" />
  3460. <tbody valign="top">
  3461. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string [CSS color]</td>
  3462. </tr>
  3463. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"></td>
  3464. </tr>
  3465. </tbody>
  3466. </table>
  3467. <p>The color (HTML) #1 for table rows. See
  3468. <tt class="file docutils literal"><span class="pre">themes/themename/layout.inc.php</span></tt>.</p>
  3469. </dd></dl>
  3470. <span class="target" id="cfg-bgcolortwo"></span><dl class="option">
  3471. <dt id="cfg_BgTwo">
  3472. <tt class="descname">$cfg['BgTwo']</tt><a class="headerlink" href="#cfg_BgTwo" title="Permalink to this definition">¶</a></dt>
  3473. <dd><table class="docutils field-list" frame="void" rules="none">
  3474. <col class="field-name" />
  3475. <col class="field-body" />
  3476. <tbody valign="top">
  3477. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string [CSS color]</td>
  3478. </tr>
  3479. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"></td>
  3480. </tr>
  3481. </tbody>
  3482. </table>
  3483. <p>The color (HTML) #2 for table rows. See
  3484. <tt class="file docutils literal"><span class="pre">themes/themename/layout.inc.php</span></tt>.</p>
  3485. </dd></dl>
  3486. <dl class="option">
  3487. <dt id="cfg_BrowsePointerBackground">
  3488. <tt class="descname">$cfg['BrowsePointerBackground']</tt><a class="headerlink" href="#cfg_BrowsePointerBackground" title="Permalink to this definition">¶</a></dt>
  3489. <dd><table class="docutils field-list" frame="void" rules="none">
  3490. <col class="field-name" />
  3491. <col class="field-body" />
  3492. <tbody valign="top">
  3493. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string [CSS color]</td>
  3494. </tr>
  3495. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"></td>
  3496. </tr>
  3497. </tbody>
  3498. </table>
  3499. </dd></dl>
  3500. <dl class="option">
  3501. <dt id="cfg_BrowsePointerColor">
  3502. <tt class="descname">$cfg['BrowsePointerColor']</tt><a class="headerlink" href="#cfg_BrowsePointerColor" title="Permalink to this definition">¶</a></dt>
  3503. <dd><table class="docutils field-list" frame="void" rules="none">
  3504. <col class="field-name" />
  3505. <col class="field-body" />
  3506. <tbody valign="top">
  3507. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string [CSS color]</td>
  3508. </tr>
  3509. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"></td>
  3510. </tr>
  3511. </tbody>
  3512. </table>
  3513. </dd></dl>
  3514. <dl class="option">
  3515. <dt id="cfg_BrowseMarkerBackground">
  3516. <tt class="descname">$cfg['BrowseMarkerBackground']</tt><a class="headerlink" href="#cfg_BrowseMarkerBackground" title="Permalink to this definition">¶</a></dt>
  3517. <dd><table class="docutils field-list" frame="void" rules="none">
  3518. <col class="field-name" />
  3519. <col class="field-body" />
  3520. <tbody valign="top">
  3521. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string [CSS color]</td>
  3522. </tr>
  3523. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"></td>
  3524. </tr>
  3525. </tbody>
  3526. </table>
  3527. </dd></dl>
  3528. <dl class="option">
  3529. <dt id="cfg_BrowseMarkerColor">
  3530. <tt class="descname">$cfg['BrowseMarkerColor']</tt><a class="headerlink" href="#cfg_BrowseMarkerColor" title="Permalink to this definition">¶</a></dt>
  3531. <dd><table class="docutils field-list" frame="void" rules="none">
  3532. <col class="field-name" />
  3533. <col class="field-body" />
  3534. <tbody valign="top">
  3535. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string [CSS color]</td>
  3536. </tr>
  3537. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"></td>
  3538. </tr>
  3539. </tbody>
  3540. </table>
  3541. <p>The colors (HTML) uses for the pointer and the marker in browse mode.
  3542. The former feature highlights the row over which your mouse is passing
  3543. and the latter lets you visually mark/unmark rows by clicking on the
  3544. corresponding checkbox. Highlighting / marking a column is done by
  3545. hovering over / clicking the column&#8217;s header (outside of the text).
  3546. See <tt class="file docutils literal"><span class="pre">themes/themename/layout.inc.php</span></tt>.</p>
  3547. </dd></dl>
  3548. <dl class="option">
  3549. <dt id="cfg_FontFamily">
  3550. <tt class="descname">$cfg['FontFamily']</tt><a class="headerlink" href="#cfg_FontFamily" title="Permalink to this definition">¶</a></dt>
  3551. <dd><table class="docutils field-list" frame="void" rules="none">
  3552. <col class="field-name" />
  3553. <col class="field-body" />
  3554. <tbody valign="top">
  3555. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  3556. </tr>
  3557. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"></td>
  3558. </tr>
  3559. </tbody>
  3560. </table>
  3561. <p>You put here a valid CSS font family value, for example <tt class="docutils literal"><span class="pre">arial,</span> <span class="pre">sans-</span>
  3562. <span class="pre">serif</span></tt>. See <tt class="file docutils literal"><span class="pre">themes/themename/layout.inc.php</span></tt>.</p>
  3563. </dd></dl>
  3564. <dl class="option">
  3565. <dt id="cfg_FontFamilyFixed">
  3566. <tt class="descname">$cfg['FontFamilyFixed']</tt><a class="headerlink" href="#cfg_FontFamilyFixed" title="Permalink to this definition">¶</a></dt>
  3567. <dd><table class="docutils field-list" frame="void" rules="none">
  3568. <col class="field-name" />
  3569. <col class="field-body" />
  3570. <tbody valign="top">
  3571. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  3572. </tr>
  3573. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"></td>
  3574. </tr>
  3575. </tbody>
  3576. </table>
  3577. <p>You put here a valid CSS font family value, for example <tt class="docutils literal"><span class="pre">monospace</span></tt>.
  3578. This one is used in textarea. See <tt class="file docutils literal"><span class="pre">themes/themename/layout.inc.php</span></tt>.</p>
  3579. </dd></dl>
  3580. </div>
  3581. <div class="section" id="design-customization">
  3582. <h2>Design customization<a class="headerlink" href="#design-customization" title="Permalink to this headline">¶</a></h2>
  3583. <dl class="option">
  3584. <dt id="cfg_NavigationTreePointerEnable">
  3585. <tt class="descname">$cfg['NavigationTreePointerEnable']</tt><a class="headerlink" href="#cfg_NavigationTreePointerEnable" title="Permalink to this definition">¶</a></dt>
  3586. <dd><table class="docutils field-list" frame="void" rules="none">
  3587. <col class="field-name" />
  3588. <col class="field-body" />
  3589. <tbody valign="top">
  3590. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  3591. </tr>
  3592. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  3593. </tr>
  3594. </tbody>
  3595. </table>
  3596. <p>A value of <tt class="docutils literal"><span class="pre">true</span></tt> activates the navi pointer.</p>
  3597. </dd></dl>
  3598. <dl class="option">
  3599. <dt id="cfg_BrowsePointerEnable">
  3600. <tt class="descname">$cfg['BrowsePointerEnable']</tt><a class="headerlink" href="#cfg_BrowsePointerEnable" title="Permalink to this definition">¶</a></dt>
  3601. <dd><table class="docutils field-list" frame="void" rules="none">
  3602. <col class="field-name" />
  3603. <col class="field-body" />
  3604. <tbody valign="top">
  3605. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  3606. </tr>
  3607. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  3608. </tr>
  3609. </tbody>
  3610. </table>
  3611. <p>Whether to activate the browse pointer or not.</p>
  3612. </dd></dl>
  3613. <dl class="option">
  3614. <dt id="cfg_BrowseMarkerEnable">
  3615. <tt class="descname">$cfg['BrowseMarkerEnable']</tt><a class="headerlink" href="#cfg_BrowseMarkerEnable" title="Permalink to this definition">¶</a></dt>
  3616. <dd><table class="docutils field-list" frame="void" rules="none">
  3617. <col class="field-name" />
  3618. <col class="field-body" />
  3619. <tbody valign="top">
  3620. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  3621. </tr>
  3622. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  3623. </tr>
  3624. </tbody>
  3625. </table>
  3626. <p>Whether to activate the browse marker or not.</p>
  3627. </dd></dl>
  3628. <dl class="option">
  3629. <dt id="cfg_LimitChars">
  3630. <tt class="descname">$cfg['LimitChars']</tt><a class="headerlink" href="#cfg_LimitChars" title="Permalink to this definition">¶</a></dt>
  3631. <dd><table class="docutils field-list" frame="void" rules="none">
  3632. <col class="field-name" />
  3633. <col class="field-body" />
  3634. <tbody valign="top">
  3635. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  3636. </tr>
  3637. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">50</td>
  3638. </tr>
  3639. </tbody>
  3640. </table>
  3641. <p>Maximum number of characters shown in any non-numeric field on browse
  3642. view. Can be turned off by a toggle button on the browse page.</p>
  3643. </dd></dl>
  3644. <dl class="option">
  3645. <dt id="cfg_RowActionLinks">
  3646. <tt class="descname">$cfg['RowActionLinks']</tt><a class="headerlink" href="#cfg_RowActionLinks" title="Permalink to this definition">¶</a></dt>
  3647. <dd><table class="docutils field-list" frame="void" rules="none">
  3648. <col class="field-name" />
  3649. <col class="field-body" />
  3650. <tbody valign="top">
  3651. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  3652. </tr>
  3653. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'left'</span></tt></td>
  3654. </tr>
  3655. </tbody>
  3656. </table>
  3657. <p>Defines the place where table row links (Edit, Copy, Delete) would be
  3658. put when tables contents are displayed (you may have them displayed at
  3659. the left side, right side, both sides or nowhere). &#8220;left&#8221; and &#8220;right&#8221;
  3660. are parsed as &#8220;top&#8221; and &#8220;bottom&#8221; with vertical display mode.</p>
  3661. </dd></dl>
  3662. <dl class="option">
  3663. <dt id="cfg_DefaultDisplay">
  3664. <tt class="descname">$cfg['DefaultDisplay']</tt><a class="headerlink" href="#cfg_DefaultDisplay" title="Permalink to this definition">¶</a></dt>
  3665. <dd><table class="docutils field-list" frame="void" rules="none">
  3666. <col class="field-name" />
  3667. <col class="field-body" />
  3668. <tbody valign="top">
  3669. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  3670. </tr>
  3671. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'horizonta'</span></tt></td>
  3672. </tr>
  3673. </tbody>
  3674. </table>
  3675. <p>There are 3 display modes: horizontal, horizontalflipped and vertical.
  3676. Define which one is displayed by default. The first mode displays each
  3677. row on a horizontal line, the second rotates the headers by 90
  3678. degrees, so you can use descriptive headers even though columns only
  3679. contain small values and still print them out. The vertical mode sorts
  3680. each row on a vertical lineup.</p>
  3681. </dd></dl>
  3682. <dl class="option">
  3683. <dt id="cfg_RememberSorting">
  3684. <tt class="descname">$cfg['RememberSorting']</tt><a class="headerlink" href="#cfg_RememberSorting" title="Permalink to this definition">¶</a></dt>
  3685. <dd><table class="docutils field-list" frame="void" rules="none">
  3686. <col class="field-name" />
  3687. <col class="field-body" />
  3688. <tbody valign="top">
  3689. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  3690. </tr>
  3691. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  3692. </tr>
  3693. </tbody>
  3694. </table>
  3695. <p>If enabled, remember the sorting of each table when browsing them.</p>
  3696. </dd></dl>
  3697. <dl class="option">
  3698. <dt id="cfg_HeaderFlipType">
  3699. <tt class="descname">$cfg['HeaderFlipType']</tt><a class="headerlink" href="#cfg_HeaderFlipType" title="Permalink to this definition">¶</a></dt>
  3700. <dd><table class="docutils field-list" frame="void" rules="none">
  3701. <col class="field-name" />
  3702. <col class="field-body" />
  3703. <tbody valign="top">
  3704. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  3705. </tr>
  3706. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'auto'</span></tt></td>
  3707. </tr>
  3708. </tbody>
  3709. </table>
  3710. <p>The HeaderFlipType can be set to &#8216;auto&#8217;, &#8216;css&#8217; or &#8216;fake&#8217;. When using
  3711. &#8216;css&#8217; the rotation of the header for horizontalflipped is done via
  3712. CSS. The CSS transformation currently works only in Internet
  3713. Explorer.If set to &#8216;fake&#8217; PHP does the transformation for you, but of
  3714. course this does not look as good as CSS. The &#8216;auto&#8217; option enables
  3715. CSS transformation when browser supports it and use PHP based one
  3716. otherwise.</p>
  3717. </dd></dl>
  3718. <dl class="option">
  3719. <dt id="cfg_ShowBrowseComments">
  3720. <tt class="descname">$cfg['ShowBrowseComments']</tt><a class="headerlink" href="#cfg_ShowBrowseComments" title="Permalink to this definition">¶</a></dt>
  3721. <dd><table class="docutils field-list" frame="void" rules="none">
  3722. <col class="field-name" />
  3723. <col class="field-body" />
  3724. <tbody valign="top">
  3725. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  3726. </tr>
  3727. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  3728. </tr>
  3729. </tbody>
  3730. </table>
  3731. </dd></dl>
  3732. <dl class="option">
  3733. <dt id="cfg_ShowPropertyComments">
  3734. <tt class="descname">$cfg['ShowPropertyComments']</tt><a class="headerlink" href="#cfg_ShowPropertyComments" title="Permalink to this definition">¶</a></dt>
  3735. <dd><table class="docutils field-list" frame="void" rules="none">
  3736. <col class="field-name" />
  3737. <col class="field-body" />
  3738. <tbody valign="top">
  3739. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  3740. </tr>
  3741. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  3742. </tr>
  3743. </tbody>
  3744. </table>
  3745. <p>By setting the corresponding variable to <tt class="docutils literal"><span class="pre">true</span></tt> you can enable the
  3746. display of column comments in Browse or Property display. In browse
  3747. mode, the comments are shown inside the header. In property mode,
  3748. comments are displayed using a CSS-formatted dashed-line below the
  3749. name of the column. The comment is shown as a tool-tip for that
  3750. column.</p>
  3751. </dd></dl>
  3752. </div>
  3753. <div class="section" id="text-fields">
  3754. <h2>Text fields<a class="headerlink" href="#text-fields" title="Permalink to this headline">¶</a></h2>
  3755. <dl class="option">
  3756. <dt id="cfg_CharEditing">
  3757. <tt class="descname">$cfg['CharEditing']</tt><a class="headerlink" href="#cfg_CharEditing" title="Permalink to this definition">¶</a></dt>
  3758. <dd><table class="docutils field-list" frame="void" rules="none">
  3759. <col class="field-name" />
  3760. <col class="field-body" />
  3761. <tbody valign="top">
  3762. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  3763. </tr>
  3764. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'input'</span></tt></td>
  3765. </tr>
  3766. </tbody>
  3767. </table>
  3768. <p>Defines which type of editing controls should be used for CHAR and
  3769. VARCHAR columns. Applies to data editing and also to the default values
  3770. in structure editing. Possible values are:</p>
  3771. <ul class="simple">
  3772. <li>input - this allows to limit size of text to size of columns in MySQL,
  3773. but has problems with newlines in columns</li>
  3774. <li>textarea - no problems with newlines in columns, but also no length
  3775. limitations</li>
  3776. </ul>
  3777. </dd></dl>
  3778. <dl class="option">
  3779. <dt id="cfg_MinSizeForInputField">
  3780. <tt class="descname">$cfg['MinSizeForInputField']</tt><a class="headerlink" href="#cfg_MinSizeForInputField" title="Permalink to this definition">¶</a></dt>
  3781. <dd><table class="docutils field-list" frame="void" rules="none">
  3782. <col class="field-name" />
  3783. <col class="field-body" />
  3784. <tbody valign="top">
  3785. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  3786. </tr>
  3787. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">4</td>
  3788. </tr>
  3789. </tbody>
  3790. </table>
  3791. <p>Defines the minimum size for input fields generated for CHAR and
  3792. VARCHAR columns.</p>
  3793. </dd></dl>
  3794. <dl class="option">
  3795. <dt id="cfg_MaxSizeForInputField">
  3796. <tt class="descname">$cfg['MaxSizeForInputField']</tt><a class="headerlink" href="#cfg_MaxSizeForInputField" title="Permalink to this definition">¶</a></dt>
  3797. <dd><table class="docutils field-list" frame="void" rules="none">
  3798. <col class="field-name" />
  3799. <col class="field-body" />
  3800. <tbody valign="top">
  3801. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  3802. </tr>
  3803. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">60</td>
  3804. </tr>
  3805. </tbody>
  3806. </table>
  3807. <p>Defines the maximum size for input fields generated for CHAR and
  3808. VARCHAR columns.</p>
  3809. </dd></dl>
  3810. <dl class="option">
  3811. <dt id="cfg_TextareaCols">
  3812. <tt class="descname">$cfg['TextareaCols']</tt><a class="headerlink" href="#cfg_TextareaCols" title="Permalink to this definition">¶</a></dt>
  3813. <dd><table class="docutils field-list" frame="void" rules="none">
  3814. <col class="field-name" />
  3815. <col class="field-body" />
  3816. <tbody valign="top">
  3817. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  3818. </tr>
  3819. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">40</td>
  3820. </tr>
  3821. </tbody>
  3822. </table>
  3823. </dd></dl>
  3824. <dl class="option">
  3825. <dt id="cfg_TextareaRows">
  3826. <tt class="descname">$cfg['TextareaRows']</tt><a class="headerlink" href="#cfg_TextareaRows" title="Permalink to this definition">¶</a></dt>
  3827. <dd><table class="docutils field-list" frame="void" rules="none">
  3828. <col class="field-name" />
  3829. <col class="field-body" />
  3830. <tbody valign="top">
  3831. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  3832. </tr>
  3833. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">15</td>
  3834. </tr>
  3835. </tbody>
  3836. </table>
  3837. </dd></dl>
  3838. <dl class="option">
  3839. <dt id="cfg_CharTextareaCols">
  3840. <tt class="descname">$cfg['CharTextareaCols']</tt><a class="headerlink" href="#cfg_CharTextareaCols" title="Permalink to this definition">¶</a></dt>
  3841. <dd><table class="docutils field-list" frame="void" rules="none">
  3842. <col class="field-name" />
  3843. <col class="field-body" />
  3844. <tbody valign="top">
  3845. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  3846. </tr>
  3847. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">40</td>
  3848. </tr>
  3849. </tbody>
  3850. </table>
  3851. </dd></dl>
  3852. <dl class="option">
  3853. <dt id="cfg_CharTextareaRows">
  3854. <tt class="descname">$cfg['CharTextareaRows']</tt><a class="headerlink" href="#cfg_CharTextareaRows" title="Permalink to this definition">¶</a></dt>
  3855. <dd><table class="docutils field-list" frame="void" rules="none">
  3856. <col class="field-name" />
  3857. <col class="field-body" />
  3858. <tbody valign="top">
  3859. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  3860. </tr>
  3861. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">2</td>
  3862. </tr>
  3863. </tbody>
  3864. </table>
  3865. <p>Number of columns and rows for the textareas. This value will be
  3866. emphasized (*2) for <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> query
  3867. textareas and (*1.25) for <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a>
  3868. textareas inside the query window.</p>
  3869. <p>The Char* values are used for CHAR
  3870. and VARCHAR editing (if configured via <span class="target" id="index-76"></span><a class="reference internal" href="#cfg_CharEditing"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['CharEditing']</span></tt></a>).</p>
  3871. </dd></dl>
  3872. <dl class="option">
  3873. <dt id="cfg_LongtextDoubleTextarea">
  3874. <tt class="descname">$cfg['LongtextDoubleTextarea']</tt><a class="headerlink" href="#cfg_LongtextDoubleTextarea" title="Permalink to this definition">¶</a></dt>
  3875. <dd><table class="docutils field-list" frame="void" rules="none">
  3876. <col class="field-name" />
  3877. <col class="field-body" />
  3878. <tbody valign="top">
  3879. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  3880. </tr>
  3881. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  3882. </tr>
  3883. </tbody>
  3884. </table>
  3885. <p>Defines whether textarea for LONGTEXT columns should have double size.</p>
  3886. </dd></dl>
  3887. <dl class="option">
  3888. <dt id="cfg_TextareaAutoSelect">
  3889. <tt class="descname">$cfg['TextareaAutoSelect']</tt><a class="headerlink" href="#cfg_TextareaAutoSelect" title="Permalink to this definition">¶</a></dt>
  3890. <dd><table class="docutils field-list" frame="void" rules="none">
  3891. <col class="field-name" />
  3892. <col class="field-body" />
  3893. <tbody valign="top">
  3894. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  3895. </tr>
  3896. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  3897. </tr>
  3898. </tbody>
  3899. </table>
  3900. <p>Defines if the whole textarea of the query box will be selected on
  3901. click.</p>
  3902. </dd></dl>
  3903. </div>
  3904. <div class="section" id="sql-query-box-settings">
  3905. <h2>SQL query box settings<a class="headerlink" href="#sql-query-box-settings" title="Permalink to this headline">¶</a></h2>
  3906. <dl class="option">
  3907. <dt id="cfg_SQLQuery_Edit">
  3908. <tt class="descname">$cfg['SQLQuery']['Edit']</tt><a class="headerlink" href="#cfg_SQLQuery_Edit" title="Permalink to this definition">¶</a></dt>
  3909. <dd><table class="docutils field-list" frame="void" rules="none">
  3910. <col class="field-name" />
  3911. <col class="field-body" />
  3912. <tbody valign="top">
  3913. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  3914. </tr>
  3915. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  3916. </tr>
  3917. </tbody>
  3918. </table>
  3919. <p>Whether to display an edit link to change a query in any SQL Query
  3920. box.</p>
  3921. </dd></dl>
  3922. <dl class="option">
  3923. <dt id="cfg_SQLQuery_Explain">
  3924. <tt class="descname">$cfg['SQLQuery']['Explain']</tt><a class="headerlink" href="#cfg_SQLQuery_Explain" title="Permalink to this definition">¶</a></dt>
  3925. <dd><table class="docutils field-list" frame="void" rules="none">
  3926. <col class="field-name" />
  3927. <col class="field-body" />
  3928. <tbody valign="top">
  3929. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  3930. </tr>
  3931. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  3932. </tr>
  3933. </tbody>
  3934. </table>
  3935. <p>Whether to display a link to explain a SELECT query in any SQL Query
  3936. box.</p>
  3937. </dd></dl>
  3938. <dl class="option">
  3939. <dt id="cfg_SQLQuery_ShowAsPHP">
  3940. <tt class="descname">$cfg['SQLQuery']['ShowAsPHP']</tt><a class="headerlink" href="#cfg_SQLQuery_ShowAsPHP" title="Permalink to this definition">¶</a></dt>
  3941. <dd><table class="docutils field-list" frame="void" rules="none">
  3942. <col class="field-name" />
  3943. <col class="field-body" />
  3944. <tbody valign="top">
  3945. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  3946. </tr>
  3947. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  3948. </tr>
  3949. </tbody>
  3950. </table>
  3951. <p>Whether to display a link to wrap a query in PHP code in any SQL Query
  3952. box.</p>
  3953. </dd></dl>
  3954. <dl class="option">
  3955. <dt id="cfg_SQLQuery_Refresh">
  3956. <tt class="descname">$cfg['SQLQuery']['Refresh']</tt><a class="headerlink" href="#cfg_SQLQuery_Refresh" title="Permalink to this definition">¶</a></dt>
  3957. <dd><table class="docutils field-list" frame="void" rules="none">
  3958. <col class="field-name" />
  3959. <col class="field-body" />
  3960. <tbody valign="top">
  3961. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  3962. </tr>
  3963. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  3964. </tr>
  3965. </tbody>
  3966. </table>
  3967. <p>Whether to display a link to refresh a query in any SQL Query box.</p>
  3968. </dd></dl>
  3969. </div>
  3970. <div class="section" id="web-server-upload-save-import-directories">
  3971. <h2>Web server upload/save/import directories<a class="headerlink" href="#web-server-upload-save-import-directories" title="Permalink to this headline">¶</a></h2>
  3972. <dl class="option">
  3973. <dt id="cfg_UploadDir">
  3974. <tt class="descname">$cfg['UploadDir']</tt><a class="headerlink" href="#cfg_UploadDir" title="Permalink to this definition">¶</a></dt>
  3975. <dd><table class="docutils field-list" frame="void" rules="none">
  3976. <col class="field-name" />
  3977. <col class="field-body" />
  3978. <tbody valign="top">
  3979. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  3980. </tr>
  3981. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  3982. </tr>
  3983. </tbody>
  3984. </table>
  3985. <p>The name of the directory where <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> files have been uploaded by
  3986. other means than phpMyAdmin (for example, ftp). Those files are available
  3987. under a drop-down box when you click the database or table name, then the
  3988. Import tab.</p>
  3989. <p>If
  3990. you want different directory for each user, %u will be replaced with
  3991. username.</p>
  3992. <p>Please note that the file names must have the suffix &#8221;.sql&#8221;
  3993. (or &#8221;.sql.bz2&#8221; or &#8221;.sql.gz&#8221; if support for compressed formats is
  3994. enabled).</p>
  3995. <p>This feature is useful when your file is too big to be
  3996. uploaded via <a class="reference internal" href="glossary.html#term-http"><em class="xref std std-term">HTTP</em></a>, or when file
  3997. uploads are disabled in PHP.</p>
  3998. <div class="admonition note">
  3999. <p class="first admonition-title">Note</p>
  4000. <p class="last">If PHP is running in safe mode, this directory must be owned by the same
  4001. user as the owner of the phpMyAdmin scripts. See also <a class="reference internal" href="faq.html#faq1-16"><em>1.16 I cannot upload big dump files (memory, HTTP or timeout problems).</em></a> for
  4002. alternatives.</p>
  4003. </div>
  4004. </dd></dl>
  4005. <dl class="option">
  4006. <dt id="cfg_SaveDir">
  4007. <tt class="descname">$cfg['SaveDir']</tt><a class="headerlink" href="#cfg_SaveDir" title="Permalink to this definition">¶</a></dt>
  4008. <dd><table class="docutils field-list" frame="void" rules="none">
  4009. <col class="field-name" />
  4010. <col class="field-body" />
  4011. <tbody valign="top">
  4012. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  4013. </tr>
  4014. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  4015. </tr>
  4016. </tbody>
  4017. </table>
  4018. <p>The name of the directory where dumps can be saved.</p>
  4019. <p>If you want different directory for each user, %u will be replaced with
  4020. username.</p>
  4021. <p>Please note that the directory must exist and has to be writable for
  4022. the user running webserver.</p>
  4023. <div class="admonition note">
  4024. <p class="first admonition-title">Note</p>
  4025. <p class="last">If PHP is running in safe mode, this directory must be owned by the same
  4026. user as the owner of the phpMyAdmin scripts.</p>
  4027. </div>
  4028. </dd></dl>
  4029. <dl class="option">
  4030. <dt id="cfg_TempDir">
  4031. <tt class="descname">$cfg['TempDir']</tt><a class="headerlink" href="#cfg_TempDir" title="Permalink to this definition">¶</a></dt>
  4032. <dd><table class="docutils field-list" frame="void" rules="none">
  4033. <col class="field-name" />
  4034. <col class="field-body" />
  4035. <tbody valign="top">
  4036. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  4037. </tr>
  4038. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  4039. </tr>
  4040. </tbody>
  4041. </table>
  4042. <p>The name of the directory where temporary files can be stored.</p>
  4043. <p>This is needed for importing ESRI Shapefiles, see <a class="reference internal" href="faq.html#faq6-30"><em>6.30 Import: How can I import ESRI Shapefiles?</em></a> and to
  4044. work around limitations of <tt class="docutils literal"><span class="pre">open_basedir</span></tt> for uploaded files, see
  4045. <a class="reference internal" href="faq.html#faq1-11"><em>1.11 I get an &#8216;open_basedir restriction&#8217; while uploading a file from the query box.</em></a>.</p>
  4046. <p>If the directory where phpMyAdmin is installed is
  4047. subject to an <tt class="docutils literal"><span class="pre">open_basedir</span></tt> restriction, you need to create a
  4048. temporary directory in some directory accessible by the web server.
  4049. However for security reasons, this directory should be outside the
  4050. tree published by webserver. If you cannot avoid having this directory
  4051. published by webserver, place at least an empty <tt class="file docutils literal"><span class="pre">index.html</span></tt> file
  4052. there, so that directory listing is not possible.</p>
  4053. <p>This directory should have as strict permissions as possible as the only
  4054. user required to access this directory is the one who runs the webserver.
  4055. If you have root privileges, simply make this user owner of this directory
  4056. and make it accessible only by it:</p>
  4057. <div class="highlight-sh"><div class="highlight"><pre>chown www-data:www-data tmp
  4058. chmod 700 tmp
  4059. </pre></div>
  4060. </div>
  4061. <p>If you cannot change owner of the directory, you can achieve a similar
  4062. setup using <a class="reference internal" href="glossary.html#term-acl"><em class="xref std std-term">ACL</em></a>:</p>
  4063. <div class="highlight-sh"><div class="highlight"><pre>chmod 700 tmp
  4064. setfacl -m <span class="s2">&quot;g:www-data:rwx&quot;</span> tmp
  4065. setfacl -d -m <span class="s2">&quot;g:www-data:rwx&quot;</span> tmp
  4066. </pre></div>
  4067. </div>
  4068. <p>If neither of above works for you, you can still make the directory
  4069. <strong class="command">chmod 777</strong>, but it might impose risk of other users on system
  4070. reading and writing data in this directory.</p>
  4071. </dd></dl>
  4072. </div>
  4073. <div class="section" id="various-display-setting">
  4074. <h2>Various display setting<a class="headerlink" href="#various-display-setting" title="Permalink to this headline">¶</a></h2>
  4075. <dl class="option">
  4076. <dt id="cfg_ShowDisplayDirection">
  4077. <tt class="descname">$cfg['ShowDisplayDirection']</tt><a class="headerlink" href="#cfg_ShowDisplayDirection" title="Permalink to this definition">¶</a></dt>
  4078. <dd><table class="docutils field-list" frame="void" rules="none">
  4079. <col class="field-name" />
  4080. <col class="field-body" />
  4081. <tbody valign="top">
  4082. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  4083. </tr>
  4084. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  4085. </tr>
  4086. </tbody>
  4087. </table>
  4088. <p>Defines whether or not type display direction option is shown when
  4089. browsing a table.</p>
  4090. </dd></dl>
  4091. <dl class="option">
  4092. <dt id="cfg_RepeatCells">
  4093. <tt class="descname">$cfg['RepeatCells']</tt><a class="headerlink" href="#cfg_RepeatCells" title="Permalink to this definition">¶</a></dt>
  4094. <dd><table class="docutils field-list" frame="void" rules="none">
  4095. <col class="field-name" />
  4096. <col class="field-body" />
  4097. <tbody valign="top">
  4098. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  4099. </tr>
  4100. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">100</td>
  4101. </tr>
  4102. </tbody>
  4103. </table>
  4104. <p>Repeat the headers every X cells, or 0 to deactivate.</p>
  4105. </dd></dl>
  4106. <dl class="option">
  4107. <dt id="cfg_EditInWindow">
  4108. <tt class="descname">$cfg['EditInWindow']</tt><a class="headerlink" href="#cfg_EditInWindow" title="Permalink to this definition">¶</a></dt>
  4109. <dd><table class="docutils field-list" frame="void" rules="none">
  4110. <col class="field-name" />
  4111. <col class="field-body" />
  4112. <tbody valign="top">
  4113. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  4114. </tr>
  4115. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  4116. </tr>
  4117. </tbody>
  4118. </table>
  4119. </dd></dl>
  4120. <dl class="option">
  4121. <dt id="cfg_QueryWindowWidth">
  4122. <tt class="descname">$cfg['QueryWindowWidth']</tt><a class="headerlink" href="#cfg_QueryWindowWidth" title="Permalink to this definition">¶</a></dt>
  4123. <dd><table class="docutils field-list" frame="void" rules="none">
  4124. <col class="field-name" />
  4125. <col class="field-body" />
  4126. <tbody valign="top">
  4127. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  4128. </tr>
  4129. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">550</td>
  4130. </tr>
  4131. </tbody>
  4132. </table>
  4133. </dd></dl>
  4134. <dl class="option">
  4135. <dt id="cfg_QueryWindowHeight">
  4136. <tt class="descname">$cfg['QueryWindowHeight']</tt><a class="headerlink" href="#cfg_QueryWindowHeight" title="Permalink to this definition">¶</a></dt>
  4137. <dd><table class="docutils field-list" frame="void" rules="none">
  4138. <col class="field-name" />
  4139. <col class="field-body" />
  4140. <tbody valign="top">
  4141. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  4142. </tr>
  4143. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">310</td>
  4144. </tr>
  4145. </tbody>
  4146. </table>
  4147. </dd></dl>
  4148. <dl class="option">
  4149. <dt id="cfg_QueryHistoryDB">
  4150. <tt class="descname">$cfg['QueryHistoryDB']</tt><a class="headerlink" href="#cfg_QueryHistoryDB" title="Permalink to this definition">¶</a></dt>
  4151. <dd><table class="docutils field-list" frame="void" rules="none">
  4152. <col class="field-name" />
  4153. <col class="field-body" />
  4154. <tbody valign="top">
  4155. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  4156. </tr>
  4157. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  4158. </tr>
  4159. </tbody>
  4160. </table>
  4161. </dd></dl>
  4162. <dl class="option">
  4163. <dt id="cfg_QueryWindowDefTab">
  4164. <tt class="descname">$cfg['QueryWindowDefTab']</tt><a class="headerlink" href="#cfg_QueryWindowDefTab" title="Permalink to this definition">¶</a></dt>
  4165. <dd><table class="docutils field-list" frame="void" rules="none">
  4166. <col class="field-name" />
  4167. <col class="field-body" />
  4168. <tbody valign="top">
  4169. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  4170. </tr>
  4171. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'sql'</span></tt></td>
  4172. </tr>
  4173. </tbody>
  4174. </table>
  4175. </dd></dl>
  4176. <dl class="option">
  4177. <dt id="cfg_QueryHistoryMax">
  4178. <tt class="descname">$cfg['QueryHistoryMax']</tt><a class="headerlink" href="#cfg_QueryHistoryMax" title="Permalink to this definition">¶</a></dt>
  4179. <dd><table class="docutils field-list" frame="void" rules="none">
  4180. <col class="field-name" />
  4181. <col class="field-body" />
  4182. <tbody valign="top">
  4183. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  4184. </tr>
  4185. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">25</td>
  4186. </tr>
  4187. </tbody>
  4188. </table>
  4189. <p>All those variables affect the query window feature. A <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> link or
  4190. icon is always displayed in the navigation panel. If JavaScript is enabled
  4191. in your browser, a click on this opens a distinct query window, which is a
  4192. direct interface to enter <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> queries. Otherwise, the right panel
  4193. changes to display a query box.</p>
  4194. <p>The size of this query window can be customized with
  4195. <span class="target" id="index-77"></span><a class="reference internal" href="#cfg_QueryWindowWidth"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['QueryWindowWidth']</span></tt></a> and
  4196. <span class="target" id="index-78"></span><a class="reference internal" href="#cfg_QueryWindowHeight"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['QueryWindowHeight']</span></tt></a> - both integers for the size in
  4197. pixels. Note that normally, those parameters will be modified in
  4198. <tt class="file docutils literal"><span class="pre">layout.inc.php`</span></tt> for the theme you are using.</p>
  4199. <p>If <span class="target" id="index-79"></span><a class="reference internal" href="#cfg_EditInWindow"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['EditInWindow']</span></tt></a> is set to true, a click on [Edit]
  4200. from the results page (in the <em class="guilabel">Showing Rows</em> section) opens the
  4201. query window and puts the current query inside it. If set to false,
  4202. clicking on the link puts the <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> query
  4203. in the right panel&#8217;s query box.</p>
  4204. <p>If <span class="target" id="index-80"></span><a class="reference internal" href="#cfg_QueryHistoryDB"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['QueryHistoryDB']</span></tt></a> is set to <tt class="docutils literal"><span class="pre">true</span></tt>, all your
  4205. Queries are logged to a table, which has to be created by you (see
  4206. <span class="target" id="index-81"></span><a class="reference internal" href="#cfg_Servers_history"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['history']</span></tt></a>). If set to false, all your
  4207. queries will be appended to the form, but only as long as your window is
  4208. opened they remain saved.</p>
  4209. <p>When using the JavaScript based query window, it will always get updated
  4210. when you click on a new table/db to browse and will focus if you click on
  4211. <em class="guilabel">Edit SQL</em> after using a query. You can suppress updating the
  4212. query window by checking the box <em class="guilabel">Do not overwrite this query
  4213. from outside the window</em> below the query textarea. Then you can browse
  4214. tables/databases in the background without losing the contents of the
  4215. textarea, so this is especially useful when composing a query with tables
  4216. you first have to look in. The checkbox will get automatically checked
  4217. whenever you change the contents of the textarea. Please uncheck the button
  4218. whenever you definitely want the query window to get updated even though
  4219. you have made alterations.</p>
  4220. <p>If <span class="target" id="index-82"></span><a class="reference internal" href="#cfg_QueryHistoryDB"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['QueryHistoryDB']</span></tt></a> is set to <tt class="docutils literal"><span class="pre">true</span></tt> you can
  4221. specify the amount of saved history items using
  4222. <span class="target" id="index-83"></span><a class="reference internal" href="#cfg_QueryHistoryMax"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['QueryHistoryMax']</span></tt></a>.</p>
  4223. <p>The query window also has a custom tabbed look to group the features.
  4224. Using the variable <span class="target" id="index-84"></span><a class="reference internal" href="#cfg_QueryWindowDefTab"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['QueryWindowDefTab']</span></tt></a> you can
  4225. specify the default tab to be used when opening the query window. It can be
  4226. set to either <tt class="docutils literal"><span class="pre">sql</span></tt>, <tt class="docutils literal"><span class="pre">files</span></tt>, <tt class="docutils literal"><span class="pre">history</span></tt> or <tt class="docutils literal"><span class="pre">full</span></tt>.</p>
  4227. </dd></dl>
  4228. <dl class="option">
  4229. <dt id="cfg_BrowseMIME">
  4230. <tt class="descname">$cfg['BrowseMIME']</tt><a class="headerlink" href="#cfg_BrowseMIME" title="Permalink to this definition">¶</a></dt>
  4231. <dd><table class="docutils field-list" frame="void" rules="none">
  4232. <col class="field-name" />
  4233. <col class="field-body" />
  4234. <tbody valign="top">
  4235. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  4236. </tr>
  4237. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  4238. </tr>
  4239. </tbody>
  4240. </table>
  4241. <p>Enable <a class="reference internal" href="transformations.html#transformations"><em>Transformations</em></a>.</p>
  4242. </dd></dl>
  4243. <dl class="option">
  4244. <dt id="cfg_MaxExactCount">
  4245. <tt class="descname">$cfg['MaxExactCount']</tt><a class="headerlink" href="#cfg_MaxExactCount" title="Permalink to this definition">¶</a></dt>
  4246. <dd><table class="docutils field-list" frame="void" rules="none">
  4247. <col class="field-name" />
  4248. <col class="field-body" />
  4249. <tbody valign="top">
  4250. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  4251. </tr>
  4252. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">500000</td>
  4253. </tr>
  4254. </tbody>
  4255. </table>
  4256. <p>For InnoDB tables, determines for how large tables phpMyAdmin should
  4257. get the exact row count using <tt class="docutils literal"><span class="pre">SELECT</span> <span class="pre">COUNT</span></tt>. If the approximate row
  4258. count as returned by <tt class="docutils literal"><span class="pre">SHOW</span> <span class="pre">TABLE</span> <span class="pre">STATUS</span></tt> is smaller than this value,
  4259. <tt class="docutils literal"><span class="pre">SELECT</span> <span class="pre">COUNT</span></tt> will be used, otherwise the approximate count will be
  4260. used.</p>
  4261. </dd></dl>
  4262. <dl class="option">
  4263. <dt id="cfg_MaxExactCountViews">
  4264. <tt class="descname">$cfg['MaxExactCountViews']</tt><a class="headerlink" href="#cfg_MaxExactCountViews" title="Permalink to this definition">¶</a></dt>
  4265. <dd><table class="docutils field-list" frame="void" rules="none">
  4266. <col class="field-name" />
  4267. <col class="field-body" />
  4268. <tbody valign="top">
  4269. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">integer</td>
  4270. </tr>
  4271. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">0</td>
  4272. </tr>
  4273. </tbody>
  4274. </table>
  4275. <p>For VIEWs, since obtaining the exact count could have an impact on
  4276. performance, this value is the maximum to be displayed, using a
  4277. <tt class="docutils literal"><span class="pre">SELECT</span> <span class="pre">COUNT</span> <span class="pre">...</span> <span class="pre">LIMIT</span></tt>. Setting this to 0 bypasses any row
  4278. counting.</p>
  4279. </dd></dl>
  4280. <dl class="option">
  4281. <dt id="cfg_NaturalOrder">
  4282. <tt class="descname">$cfg['NaturalOrder']</tt><a class="headerlink" href="#cfg_NaturalOrder" title="Permalink to this definition">¶</a></dt>
  4283. <dd><table class="docutils field-list" frame="void" rules="none">
  4284. <col class="field-name" />
  4285. <col class="field-body" />
  4286. <tbody valign="top">
  4287. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  4288. </tr>
  4289. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  4290. </tr>
  4291. </tbody>
  4292. </table>
  4293. <p>Sorts database and table names according to natural order (for
  4294. example, t1, t2, t10). Currently implemented in the navigation panel
  4295. and in Database view, for the table list.</p>
  4296. </dd></dl>
  4297. <dl class="option">
  4298. <dt id="cfg_InitialSlidersState">
  4299. <tt class="descname">$cfg['InitialSlidersState']</tt><a class="headerlink" href="#cfg_InitialSlidersState" title="Permalink to this definition">¶</a></dt>
  4300. <dd><table class="docutils field-list" frame="void" rules="none">
  4301. <col class="field-name" />
  4302. <col class="field-body" />
  4303. <tbody valign="top">
  4304. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  4305. </tr>
  4306. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'closed'</span></tt></td>
  4307. </tr>
  4308. </tbody>
  4309. </table>
  4310. <p>If set to <tt class="docutils literal"><span class="pre">'closed'</span></tt>, the visual sliders are initially in a closed
  4311. state. A value of <tt class="docutils literal"><span class="pre">'open'</span></tt> does the reverse. To completely disable
  4312. all visual sliders, use <tt class="docutils literal"><span class="pre">'disabled'</span></tt>.</p>
  4313. </dd></dl>
  4314. <dl class="option">
  4315. <dt id="cfg_UserprefsDisallow">
  4316. <tt class="descname">$cfg['UserprefsDisallow']</tt><a class="headerlink" href="#cfg_UserprefsDisallow" title="Permalink to this definition">¶</a></dt>
  4317. <dd><table class="docutils field-list" frame="void" rules="none">
  4318. <col class="field-name" />
  4319. <col class="field-body" />
  4320. <tbody valign="top">
  4321. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">array</td>
  4322. </tr>
  4323. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">array()</td>
  4324. </tr>
  4325. </tbody>
  4326. </table>
  4327. <p>Contains names of configuration options (keys in <tt class="docutils literal"><span class="pre">$cfg</span></tt> array) that
  4328. users can&#8217;t set through user preferences. For possible values, refer
  4329. to <tt class="file docutils literal"><span class="pre">libraries/config/user_preferences.forms.php</span></tt>.</p>
  4330. </dd></dl>
  4331. <dl class="option">
  4332. <dt id="cfg_UserprefsDeveloperTab">
  4333. <tt class="descname">$cfg['UserprefsDeveloperTab']</tt><a class="headerlink" href="#cfg_UserprefsDeveloperTab" title="Permalink to this definition">¶</a></dt>
  4334. <dd><table class="docutils field-list" frame="void" rules="none">
  4335. <col class="field-name" />
  4336. <col class="field-body" />
  4337. <tbody valign="top">
  4338. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  4339. </tr>
  4340. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  4341. </tr>
  4342. </tbody>
  4343. </table>
  4344. <p>Activates in the user preferences a tab containing options for
  4345. developers of phpMyAdmin.</p>
  4346. </dd></dl>
  4347. </div>
  4348. <div class="section" id="page-titles">
  4349. <h2>Page titles<a class="headerlink" href="#page-titles" title="Permalink to this headline">¶</a></h2>
  4350. <dl class="option">
  4351. <dt id="cfg_TitleTable">
  4352. <tt class="descname">$cfg['TitleTable']</tt><a class="headerlink" href="#cfg_TitleTable" title="Permalink to this definition">¶</a></dt>
  4353. <dd><table class="docutils field-list" frame="void" rules="none">
  4354. <col class="field-name" />
  4355. <col class="field-body" />
  4356. <tbody valign="top">
  4357. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  4358. </tr>
  4359. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'&#64;HTTP_HOST&#64;</span> <span class="pre">/</span> <span class="pre">&#64;VSERVER&#64;</span> <span class="pre">/</span> <span class="pre">&#64;DATABASE&#64;</span> <span class="pre">/</span> <span class="pre">&#64;TABLE&#64;</span> <span class="pre">|</span> <span class="pre">&#64;PHPMYADMIN&#64;'</span></tt></td>
  4360. </tr>
  4361. </tbody>
  4362. </table>
  4363. </dd></dl>
  4364. <dl class="option">
  4365. <dt id="cfg_TitleDatabase">
  4366. <tt class="descname">$cfg['TitleDatabase']</tt><a class="headerlink" href="#cfg_TitleDatabase" title="Permalink to this definition">¶</a></dt>
  4367. <dd><table class="docutils field-list" frame="void" rules="none">
  4368. <col class="field-name" />
  4369. <col class="field-body" />
  4370. <tbody valign="top">
  4371. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  4372. </tr>
  4373. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'&#64;HTTP_HOST&#64;</span> <span class="pre">/</span> <span class="pre">&#64;VSERVER&#64;</span> <span class="pre">/</span> <span class="pre">&#64;DATABASE&#64;</span> <span class="pre">|</span> <span class="pre">&#64;PHPMYADMIN&#64;'</span></tt></td>
  4374. </tr>
  4375. </tbody>
  4376. </table>
  4377. </dd></dl>
  4378. <dl class="option">
  4379. <dt id="cfg_TitleServer">
  4380. <tt class="descname">$cfg['TitleServer']</tt><a class="headerlink" href="#cfg_TitleServer" title="Permalink to this definition">¶</a></dt>
  4381. <dd><table class="docutils field-list" frame="void" rules="none">
  4382. <col class="field-name" />
  4383. <col class="field-body" />
  4384. <tbody valign="top">
  4385. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  4386. </tr>
  4387. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'&#64;HTTP_HOST&#64;</span> <span class="pre">/</span> <span class="pre">&#64;VSERVER&#64;</span> <span class="pre">|</span> <span class="pre">&#64;PHPMYADMIN&#64;'</span></tt></td>
  4388. </tr>
  4389. </tbody>
  4390. </table>
  4391. </dd></dl>
  4392. <dl class="option">
  4393. <dt id="cfg_TitleDefault">
  4394. <tt class="descname">$cfg['TitleDefault']</tt><a class="headerlink" href="#cfg_TitleDefault" title="Permalink to this definition">¶</a></dt>
  4395. <dd><table class="docutils field-list" frame="void" rules="none">
  4396. <col class="field-name" />
  4397. <col class="field-body" />
  4398. <tbody valign="top">
  4399. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  4400. </tr>
  4401. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'&#64;HTTP_HOST&#64;</span> <span class="pre">|</span> <span class="pre">&#64;PHPMYADMIN&#64;'</span></tt></td>
  4402. </tr>
  4403. </tbody>
  4404. </table>
  4405. <p>Allows you to specify window&#8217;s title bar. You can use <a class="reference internal" href="faq.html#faq6-27"><em>6.27 What format strings can I use?</em></a>.</p>
  4406. </dd></dl>
  4407. </div>
  4408. <div class="section" id="theme-manager-settings">
  4409. <h2>Theme manager settings<a class="headerlink" href="#theme-manager-settings" title="Permalink to this headline">¶</a></h2>
  4410. <dl class="option">
  4411. <dt id="cfg_ThemePath">
  4412. <tt class="descname">$cfg['ThemePath']</tt><a class="headerlink" href="#cfg_ThemePath" title="Permalink to this definition">¶</a></dt>
  4413. <dd><table class="docutils field-list" frame="void" rules="none">
  4414. <col class="field-name" />
  4415. <col class="field-body" />
  4416. <tbody valign="top">
  4417. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  4418. </tr>
  4419. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'./themes'</span></tt></td>
  4420. </tr>
  4421. </tbody>
  4422. </table>
  4423. <p>If theme manager is active, use this as the path of the subdirectory
  4424. containing all the themes.</p>
  4425. </dd></dl>
  4426. <dl class="option">
  4427. <dt id="cfg_ThemeManager">
  4428. <tt class="descname">$cfg['ThemeManager']</tt><a class="headerlink" href="#cfg_ThemeManager" title="Permalink to this definition">¶</a></dt>
  4429. <dd><table class="docutils field-list" frame="void" rules="none">
  4430. <col class="field-name" />
  4431. <col class="field-body" />
  4432. <tbody valign="top">
  4433. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  4434. </tr>
  4435. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">true</td>
  4436. </tr>
  4437. </tbody>
  4438. </table>
  4439. <p>Enables user-selectable themes. See <a class="reference internal" href="faq.html#faqthemes"><em>2.7 Using and creating themes</em></a>.</p>
  4440. </dd></dl>
  4441. <dl class="option">
  4442. <dt id="cfg_ThemeDefault">
  4443. <tt class="descname">$cfg['ThemeDefault']</tt><a class="headerlink" href="#cfg_ThemeDefault" title="Permalink to this definition">¶</a></dt>
  4444. <dd><table class="docutils field-list" frame="void" rules="none">
  4445. <col class="field-name" />
  4446. <col class="field-body" />
  4447. <tbody valign="top">
  4448. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  4449. </tr>
  4450. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'pmahomme'</span></tt></td>
  4451. </tr>
  4452. </tbody>
  4453. </table>
  4454. <p>The default theme (a subdirectory under <span class="target" id="index-85"></span><a class="reference internal" href="#cfg_ThemePath"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['ThemePath']</span></tt></a>).</p>
  4455. </dd></dl>
  4456. <dl class="option">
  4457. <dt id="cfg_ThemePerServer">
  4458. <tt class="descname">$cfg['ThemePerServer']</tt><a class="headerlink" href="#cfg_ThemePerServer" title="Permalink to this definition">¶</a></dt>
  4459. <dd><table class="docutils field-list" frame="void" rules="none">
  4460. <col class="field-name" />
  4461. <col class="field-body" />
  4462. <tbody valign="top">
  4463. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  4464. </tr>
  4465. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  4466. </tr>
  4467. </tbody>
  4468. </table>
  4469. <p>Whether to allow different theme for each server.</p>
  4470. </dd></dl>
  4471. </div>
  4472. <div class="section" id="default-queries">
  4473. <h2>Default queries<a class="headerlink" href="#default-queries" title="Permalink to this headline">¶</a></h2>
  4474. <dl class="option">
  4475. <dt id="cfg_DefaultQueryTable">
  4476. <tt class="descname">$cfg['DefaultQueryTable']</tt><a class="headerlink" href="#cfg_DefaultQueryTable" title="Permalink to this definition">¶</a></dt>
  4477. <dd><table class="docutils field-list" frame="void" rules="none">
  4478. <col class="field-name" />
  4479. <col class="field-body" />
  4480. <tbody valign="top">
  4481. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  4482. </tr>
  4483. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'SELECT</span> <span class="pre">*</span> <span class="pre">FROM</span> <span class="pre">&#64;TABLE&#64;</span> <span class="pre">WHERE</span> <span class="pre">1'</span></tt></td>
  4484. </tr>
  4485. </tbody>
  4486. </table>
  4487. </dd></dl>
  4488. <dl class="option">
  4489. <dt id="cfg_DefaultQueryDatabase">
  4490. <tt class="descname">$cfg['DefaultQueryDatabase']</tt><a class="headerlink" href="#cfg_DefaultQueryDatabase" title="Permalink to this definition">¶</a></dt>
  4491. <dd><table class="docutils field-list" frame="void" rules="none">
  4492. <col class="field-name" />
  4493. <col class="field-body" />
  4494. <tbody valign="top">
  4495. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  4496. </tr>
  4497. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">''</span></tt></td>
  4498. </tr>
  4499. </tbody>
  4500. </table>
  4501. <p>Default queries that will be displayed in query boxes when user didn&#8217;t
  4502. specify any. You can use standard <a class="reference internal" href="faq.html#faq6-27"><em>6.27 What format strings can I use?</em></a>.</p>
  4503. </dd></dl>
  4504. </div>
  4505. <div class="section" id="mysql-settings">
  4506. <h2>MySQL settings<a class="headerlink" href="#mysql-settings" title="Permalink to this headline">¶</a></h2>
  4507. <dl class="option">
  4508. <dt id="cfg_DefaultFunctions">
  4509. <tt class="descname">$cfg['DefaultFunctions']</tt><a class="headerlink" href="#cfg_DefaultFunctions" title="Permalink to this definition">¶</a></dt>
  4510. <dd><table class="docutils field-list" frame="void" rules="none">
  4511. <col class="field-name" />
  4512. <col class="field-body" />
  4513. <tbody valign="top">
  4514. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">array</td>
  4515. </tr>
  4516. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">array(...)</td>
  4517. </tr>
  4518. </tbody>
  4519. </table>
  4520. <p>Functions selected by default when inserting/changing row, Functions
  4521. are defined for meta types as (FUNC_NUMBER, FUNC_DATE, FUNC_CHAR,
  4522. FUNC_SPATIAL, FUNC_UUID) and for <tt class="docutils literal"><span class="pre">first_timestamp</span></tt>, which is used
  4523. for first timestamp column in table.</p>
  4524. </dd></dl>
  4525. </div>
  4526. <div class="section" id="developer">
  4527. <h2>Developer<a class="headerlink" href="#developer" title="Permalink to this headline">¶</a></h2>
  4528. <div class="admonition warning">
  4529. <p class="first admonition-title">Warning</p>
  4530. <p class="last">These settings might have huge effect on performance or security.</p>
  4531. </div>
  4532. <dl class="option">
  4533. <dt id="cfg_DBG">
  4534. <tt class="descname">$cfg['DBG']</tt><a class="headerlink" href="#cfg_DBG" title="Permalink to this definition">¶</a></dt>
  4535. <dd><table class="docutils field-list" frame="void" rules="none">
  4536. <col class="field-name" />
  4537. <col class="field-body" />
  4538. <tbody valign="top">
  4539. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">array</td>
  4540. </tr>
  4541. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">array(...)</td>
  4542. </tr>
  4543. </tbody>
  4544. </table>
  4545. </dd></dl>
  4546. <dl class="option">
  4547. <dt id="cfg_DBG_sql">
  4548. <tt class="descname">$cfg['DBG']['sql']</tt><a class="headerlink" href="#cfg_DBG_sql" title="Permalink to this definition">¶</a></dt>
  4549. <dd><table class="docutils field-list" frame="void" rules="none">
  4550. <col class="field-name" />
  4551. <col class="field-body" />
  4552. <tbody valign="top">
  4553. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  4554. </tr>
  4555. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  4556. </tr>
  4557. </tbody>
  4558. </table>
  4559. <p>Enable logging queries and execution times to be
  4560. displayed in the bottom of main page (right frame).</p>
  4561. </dd></dl>
  4562. <dl class="option">
  4563. <dt id="cfg_DBG_demo">
  4564. <tt class="descname">$cfg['DBG']['demo']</tt><a class="headerlink" href="#cfg_DBG_demo" title="Permalink to this definition">¶</a></dt>
  4565. <dd><table class="docutils field-list" frame="void" rules="none">
  4566. <col class="field-name" />
  4567. <col class="field-body" />
  4568. <tbody valign="top">
  4569. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  4570. </tr>
  4571. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  4572. </tr>
  4573. </tbody>
  4574. </table>
  4575. <p>Enable to let server present itself as demo server.
  4576. This is used for &lt;<a class="reference external" href="http://demo.phpmyadmin.net/">http://demo.phpmyadmin.net/</a>&gt;.</p>
  4577. </dd></dl>
  4578. <dl class="option">
  4579. <dt id="cfg_Error_Handler_display">
  4580. <tt class="descname">$cfg['Error_Handler']['display']</tt><a class="headerlink" href="#cfg_Error_Handler_display" title="Permalink to this definition">¶</a></dt>
  4581. <dd><table class="docutils field-list" frame="void" rules="none">
  4582. <col class="field-name" />
  4583. <col class="field-body" />
  4584. <tbody valign="top">
  4585. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">boolean</td>
  4586. </tr>
  4587. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body">false</td>
  4588. </tr>
  4589. </tbody>
  4590. </table>
  4591. <p>Whether to display errors from PHP or not.</p>
  4592. </dd></dl>
  4593. <dl class="option">
  4594. <dt id="cfg_RowActionType">
  4595. <tt class="descname">$cfg['RowActionType']</tt><a class="headerlink" href="#cfg_RowActionType" title="Permalink to this definition">¶</a></dt>
  4596. <dd><table class="docutils field-list" frame="void" rules="none">
  4597. <col class="field-name" />
  4598. <col class="field-body" />
  4599. <tbody valign="top">
  4600. <tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">string</td>
  4601. </tr>
  4602. <tr class="field-even field"><th class="field-name">Default value:</th><td class="field-body"><tt class="docutils literal"><span class="pre">'both'</span></tt></td>
  4603. </tr>
  4604. </tbody>
  4605. </table>
  4606. <p>Whether to display icons or text or both icons and text in table row action
  4607. segment. Value can be either of <tt class="docutils literal"><span class="pre">'icons'</span></tt>, <tt class="docutils literal"><span class="pre">'text'</span></tt> or <tt class="docutils literal"><span class="pre">'both'</span></tt>.</p>
  4608. </dd></dl>
  4609. </div>
  4610. </div>
  4611. </div>
  4612. </div>
  4613. </div>
  4614. <div class="sphinxsidebar">
  4615. <div class="sphinxsidebarwrapper">
  4616. <h3><a href="index.html">Table Of Contents</a></h3>
  4617. <ul>
  4618. <li><a class="reference internal" href="#">Configuration</a><ul>
  4619. <li><a class="reference internal" href="#basic-settings">Basic settings</a></li>
  4620. <li><a class="reference internal" href="#server-connection-settings">Server connection settings</a></li>
  4621. <li><a class="reference internal" href="#generic-settings">Generic settings</a></li>
  4622. <li><a class="reference internal" href="#cookie-authentication-options">Cookie authentication options</a></li>
  4623. <li><a class="reference internal" href="#navigation-panel-setup">Navigation panel setup</a></li>
  4624. <li><a class="reference internal" href="#main-panel">Main panel</a></li>
  4625. <li><a class="reference internal" href="#database-structure">Database structure</a></li>
  4626. <li><a class="reference internal" href="#browse-mode">Browse mode</a></li>
  4627. <li><a class="reference internal" href="#editing-mode">Editing mode</a></li>
  4628. <li><a class="reference internal" href="#export-and-import-settings">Export and import settings</a></li>
  4629. <li><a class="reference internal" href="#tabs-display-settings">Tabs display settings</a></li>
  4630. <li><a class="reference internal" href="#pdf-options">PDF Options</a></li>
  4631. <li><a class="reference internal" href="#languages">Languages</a></li>
  4632. <li><a class="reference internal" href="#web-server-settings">Web server settings</a></li>
  4633. <li><a class="reference internal" href="#theme-settings">Theme settings</a></li>
  4634. <li><a class="reference internal" href="#design-customization">Design customization</a></li>
  4635. <li><a class="reference internal" href="#text-fields">Text fields</a></li>
  4636. <li><a class="reference internal" href="#sql-query-box-settings">SQL query box settings</a></li>
  4637. <li><a class="reference internal" href="#web-server-upload-save-import-directories">Web server upload/save/import directories</a></li>
  4638. <li><a class="reference internal" href="#various-display-setting">Various display setting</a></li>
  4639. <li><a class="reference internal" href="#page-titles">Page titles</a></li>
  4640. <li><a class="reference internal" href="#theme-manager-settings">Theme manager settings</a></li>
  4641. <li><a class="reference internal" href="#default-queries">Default queries</a></li>
  4642. <li><a class="reference internal" href="#mysql-settings">MySQL settings</a></li>
  4643. <li><a class="reference internal" href="#developer">Developer</a></li>
  4644. </ul>
  4645. </li>
  4646. </ul>
  4647. <h4>Previous topic</h4>
  4648. <p class="topless"><a href="setup.html"
  4649. title="previous chapter">Installation</a></p>
  4650. <h4>Next topic</h4>
  4651. <p class="topless"><a href="user.html"
  4652. title="next chapter">User Guide</a></p>
  4653. <h3>This Page</h3>
  4654. <ul class="this-page-menu">
  4655. <li><a href="_sources/config.txt"
  4656. rel="nofollow">Show Source</a></li>
  4657. </ul>
  4658. <div id="searchbox" style="display: none">
  4659. <h3>Quick search</h3>
  4660. <form class="search" action="search.html" method="get">
  4661. <input type="text" name="q" />
  4662. <input type="submit" value="Go" />
  4663. <input type="hidden" name="check_keywords" value="yes" />
  4664. <input type="hidden" name="area" value="default" />
  4665. </form>
  4666. <p class="searchtip" style="font-size: 90%">
  4667. Enter search terms or a module, class or function name.
  4668. </p>
  4669. </div>
  4670. <script type="text/javascript">$('#searchbox').show(0);</script>
  4671. </div>
  4672. </div>
  4673. <div class="clearer"></div>
  4674. </div>
  4675. <div class="related">
  4676. <h3>Navigation</h3>
  4677. <ul>
  4678. <li class="right" style="margin-right: 10px">
  4679. <a href="genindex.html" title="General Index"
  4680. >index</a></li>
  4681. <li class="right" >
  4682. <a href="user.html" title="User Guide"
  4683. >next</a> |</li>
  4684. <li class="right" >
  4685. <a href="setup.html" title="Installation"
  4686. >previous</a> |</li>
  4687. <li><a href="index.html">phpMyAdmin 4.2.7.1 documentation</a> &raquo;</li>
  4688. </ul>
  4689. </div>
  4690. <div class="footer">
  4691. &copy; <a href="copyright.html">Copyright</a> 2012 - 2014, The phpMyAdmin devel team.
  4692. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
  4693. </div>
  4694. </body>
  4695. </html>