config.html 317 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <title>Configuration &#8212; phpMyAdmin 4.9.10 documentation</title>
  7. <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
  8. <link rel="stylesheet" href="_static/classic.css" type="text/css" />
  9. <script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
  10. <script src="_static/jquery.js"></script>
  11. <script src="_static/underscore.js"></script>
  12. <script src="_static/doctools.js"></script>
  13. <link rel="index" title="Index" href="genindex.html" />
  14. <link rel="search" title="Search" href="search.html" />
  15. <link rel="copyright" title="Copyright" href="copyright.html" />
  16. <link rel="next" title="User Guide" href="user.html" />
  17. <link rel="prev" title="Installation" href="setup.html" />
  18. </head><body>
  19. <div class="related" role="navigation" aria-label="related navigation">
  20. <h3>Navigation</h3>
  21. <ul>
  22. <li class="right" style="margin-right: 10px">
  23. <a href="genindex.html" title="General Index"
  24. accesskey="I">index</a></li>
  25. <li class="right" >
  26. <a href="user.html" title="User Guide"
  27. accesskey="N">next</a> |</li>
  28. <li class="right" >
  29. <a href="setup.html" title="Installation"
  30. accesskey="P">previous</a> |</li>
  31. <li class="nav-item nav-item-0"><a href="index.html">phpMyAdmin 4.9.10 documentation</a> &#187;</li>
  32. <li class="nav-item nav-item-this"><a href="">Configuration</a></li>
  33. </ul>
  34. </div>
  35. <div class="document">
  36. <div class="documentwrapper">
  37. <div class="bodywrapper">
  38. <div class="body" role="main">
  39. <div class="section" id="configuration">
  40. <span id="config"></span><span id="index-0"></span><h1>Configuration<a class="headerlink" href="#configuration" title="Permalink to this headline">¶</a></h1>
  41. <p>All configurable data is placed in <code class="file docutils literal notranslate"><span class="pre">config.inc.php</span></code> in phpMyAdmin’s
  42. toplevel directory. If this file does not exist, please refer to the
  43. <a class="reference internal" href="setup.html#setup"><span class="std std-ref">Installation</span></a> section to create one. This file only needs to contain the
  44. parameters you want to change from their corresponding default value in
  45. <code class="file docutils literal notranslate"><span class="pre">libraries/config.default.php</span></code> (this file is not inteded for changes).</p>
  46. <div class="admonition seealso">
  47. <p class="admonition-title">See also</p>
  48. <p><a class="reference internal" href="#config-examples"><span class="std std-ref">Examples</span></a> for examples of configurations</p>
  49. </div>
  50. <p>If a directive is missing from your file, you can just add another line with
  51. the file. This file is for over-writing the defaults; if you wish to use the
  52. default value there’s no need to add a line here.</p>
  53. <p>The parameters which relate to design (like colors) are placed in
  54. <code class="file docutils literal notranslate"><span class="pre">themes/themename/layout.inc.php</span></code>. You might also want to create
  55. <code class="file docutils literal notranslate"><span class="pre">config.footer.inc.php</span></code> and <code class="file docutils literal notranslate"><span class="pre">config.header.inc.php</span></code> files to add
  56. your site specific code to be included on start and end of each page.</p>
  57. <div class="admonition note">
  58. <p class="admonition-title">Note</p>
  59. <p>Some distributions (eg. Debian or Ubuntu) store <code class="file docutils literal notranslate"><span class="pre">config.inc.php</span></code> in
  60. <code class="docutils literal notranslate"><span class="pre">/etc/phpmyadmin</span></code> instead of within phpMyAdmin sources.</p>
  61. </div>
  62. <div class="admonition warning">
  63. <p class="admonition-title">Warning</p>
  64. <p><a class="reference internal" href="glossary.html#term-Mac"><span class="xref std std-term">Mac</span></a> users should note that if you are on a version before
  65. <a class="reference internal" href="glossary.html#term-Mac-OS-X"><span class="xref std std-term">Mac OS X</span></a>, PHP does not seem to
  66. like <a class="reference internal" href="glossary.html#term-Mac"><span class="xref std std-term">Mac</span></a> end of lines character (<code class="docutils literal notranslate"><span class="pre">\r</span></code>). So
  67. ensure you choose the option that allows to use the *nix end of line
  68. character (<code class="docutils literal notranslate"><span class="pre">\n</span></code>) in your text editor before saving a script you have
  69. modified.</p>
  70. </div>
  71. <div class="section" id="basic-settings">
  72. <h2>Basic settings<a class="headerlink" href="#basic-settings" title="Permalink to this headline">¶</a></h2>
  73. <dl class="config option">
  74. <dt id="cfg_PmaAbsoluteUri">
  75. <code class="sig-name descname">$cfg['PmaAbsoluteUri']</code><a class="headerlink" href="#cfg_PmaAbsoluteUri" title="Permalink to this definition">¶</a></dt>
  76. <dd><dl class="field-list simple">
  77. <dt class="field-odd">Type</dt>
  78. <dd class="field-odd"><p>string</p>
  79. </dd>
  80. <dt class="field-even">Default value</dt>
  81. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  82. </dd>
  83. </dl>
  84. <div class="versionchanged">
  85. <p><span class="versionmodified changed">Changed in version 4.6.5: </span>This setting was not available in phpMyAdmin 4.6.0 - 4.6.4.</p>
  86. </div>
  87. <p>Sets here the complete <a class="reference internal" href="glossary.html#term-URL"><span class="xref std std-term">URL</span></a> (with full path) to your phpMyAdmin
  88. installation’s directory. E.g.
  89. <code class="docutils literal notranslate"><span class="pre">https://www.example.net/path_to_your_phpMyAdmin_directory/</span></code>. Note also
  90. that the <a class="reference internal" href="glossary.html#term-URL"><span class="xref std std-term">URL</span></a> on most of web servers are case sensitive (even on
  91. Windows). Don’t forget the trailing slash at the end.</p>
  92. <p>Starting with version 2.3.0, it is advisable to try leaving this blank. In
  93. most cases phpMyAdmin automatically detects the proper setting. Users of
  94. port forwarding or complex reverse proxy setup might need to set this.</p>
  95. <p>A good test is to browse a table, edit a row and save it. There should be
  96. an error message if phpMyAdmin is having trouble auto–detecting the correct
  97. value. If you get an error that this must be set or if the autodetect code
  98. fails to detect your path, please post a bug report on our bug tracker so
  99. we can improve the code.</p>
  100. <div class="admonition seealso">
  101. <p class="admonition-title">See also</p>
  102. <p><a class="reference internal" href="faq.html#faq1-40"><span class="std std-ref">1.40 When accessing phpMyAdmin via an Apache reverse proxy, cookie login does not work.</span></a>, <a class="reference internal" href="faq.html#faq2-5"><span class="std std-ref">2.5 Each time I want to insert or change a row or drop a database or a table, an error 404 (page not found) is displayed or, with HTTP or cookie authentication, I’m asked to log in again. What’s wrong?</span></a>, <a class="reference internal" href="faq.html#faq4-7"><span class="std std-ref">4.7 Authentication window is displayed more than once, why?</span></a>, <a class="reference internal" href="faq.html#faq5-16"><span class="std std-ref">5.16 With Internet Explorer, I get “Access is denied” Javascript errors. Or I cannot make phpMyAdmin work under Windows.</span></a></p>
  103. </div>
  104. </dd></dl>
  105. <dl class="config option">
  106. <dt id="cfg_PmaNoRelation_DisableWarning">
  107. <code class="sig-name descname">$cfg['PmaNoRelation_DisableWarning']</code><a class="headerlink" href="#cfg_PmaNoRelation_DisableWarning" title="Permalink to this definition">¶</a></dt>
  108. <dd><dl class="field-list simple">
  109. <dt class="field-odd">Type</dt>
  110. <dd class="field-odd"><p>boolean</p>
  111. </dd>
  112. <dt class="field-even">Default value</dt>
  113. <dd class="field-even"><p>false</p>
  114. </dd>
  115. </dl>
  116. <p>Starting with version 2.3.0 phpMyAdmin offers a lot of features to
  117. work with master / foreign – tables (see <span class="target" id="index-1"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a>).</p>
  118. <p>If you tried to set this
  119. up and it does not work for you, have a look on the <span class="guilabel">Structure</span> page
  120. of one database where you would like to use it. You will find a link
  121. that will analyze why those features have been disabled.</p>
  122. <p>If you do not want to use those features set this variable to <code class="docutils literal notranslate"><span class="pre">true</span></code> to
  123. stop this message from appearing.</p>
  124. </dd></dl>
  125. <dl class="config option">
  126. <dt id="cfg_AuthLog">
  127. <code class="sig-name descname">$cfg['AuthLog']</code><a class="headerlink" href="#cfg_AuthLog" title="Permalink to this definition">¶</a></dt>
  128. <dd><dl class="field-list simple">
  129. <dt class="field-odd">Type</dt>
  130. <dd class="field-odd"><p>string</p>
  131. </dd>
  132. <dt class="field-even">Default value</dt>
  133. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'auto'</span></code></p>
  134. </dd>
  135. </dl>
  136. <div class="versionadded">
  137. <p><span class="versionmodified added">New in version 4.8.0: </span>This is supported since phpMyAdmin 4.8.0.</p>
  138. </div>
  139. <p>Configure authentication logging destination. Failed (or all, depending on
  140. <span class="target" id="index-2"></span><a class="reference internal" href="#cfg_AuthLogSuccess"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['AuthLogSuccess']</span></code></a>) authentication attempts will be
  141. logged according to this directive:</p>
  142. <dl class="simple">
  143. <dt><code class="docutils literal notranslate"><span class="pre">auto</span></code></dt><dd><p>Let phpMyAdmin automatically choose between <code class="docutils literal notranslate"><span class="pre">syslog</span></code> and <code class="docutils literal notranslate"><span class="pre">php</span></code>.</p>
  144. </dd>
  145. <dt><code class="docutils literal notranslate"><span class="pre">syslog</span></code></dt><dd><p>Log using syslog, using AUTH facility, on most systems this ends up
  146. in <code class="file docutils literal notranslate"><span class="pre">/var/log/auth.log</span></code>.</p>
  147. </dd>
  148. <dt><code class="docutils literal notranslate"><span class="pre">php</span></code></dt><dd><p>Log into PHP error log.</p>
  149. </dd>
  150. <dt><code class="docutils literal notranslate"><span class="pre">sapi</span></code></dt><dd><p>Log into PHP SAPI logging.</p>
  151. </dd>
  152. <dt><code class="docutils literal notranslate"><span class="pre">/path/to/file</span></code></dt><dd><p>Any other value is treated as a filename and log entries are written there.</p>
  153. </dd>
  154. </dl>
  155. <div class="admonition note">
  156. <p class="admonition-title">Note</p>
  157. <p>When logging to a file, make sure its permissions are correctly set
  158. for a web server user, the setup should closely match instructions
  159. described in <span class="target" id="index-3"></span><a class="reference internal" href="#cfg_TempDir"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['TempDir']</span></code></a>:</p>
  160. </div>
  161. </dd></dl>
  162. <dl class="config option">
  163. <dt id="cfg_AuthLogSuccess">
  164. <code class="sig-name descname">$cfg['AuthLogSuccess']</code><a class="headerlink" href="#cfg_AuthLogSuccess" title="Permalink to this definition">¶</a></dt>
  165. <dd><dl class="field-list simple">
  166. <dt class="field-odd">Type</dt>
  167. <dd class="field-odd"><p>boolean</p>
  168. </dd>
  169. <dt class="field-even">Default value</dt>
  170. <dd class="field-even"><p>false</p>
  171. </dd>
  172. </dl>
  173. <div class="versionadded">
  174. <p><span class="versionmodified added">New in version 4.8.0: </span>This is supported since phpMyAdmin 4.8.0.</p>
  175. </div>
  176. <p>Whether to log successful authentication attempts into
  177. <span class="target" id="index-4"></span><a class="reference internal" href="#cfg_AuthLog"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['AuthLog']</span></code></a>.</p>
  178. </dd></dl>
  179. <dl class="config option">
  180. <dt id="cfg_SuhosinDisableWarning">
  181. <code class="sig-name descname">$cfg['SuhosinDisableWarning']</code><a class="headerlink" href="#cfg_SuhosinDisableWarning" title="Permalink to this definition">¶</a></dt>
  182. <dd><dl class="field-list simple">
  183. <dt class="field-odd">Type</dt>
  184. <dd class="field-odd"><p>boolean</p>
  185. </dd>
  186. <dt class="field-even">Default value</dt>
  187. <dd class="field-even"><p>false</p>
  188. </dd>
  189. </dl>
  190. <p>A warning is displayed on the main page if Suhosin is detected.</p>
  191. <p>You can set this parameter to <code class="docutils literal notranslate"><span class="pre">true</span></code> to stop this message from appearing.</p>
  192. </dd></dl>
  193. <dl class="config option">
  194. <dt id="cfg_LoginCookieValidityDisableWarning">
  195. <code class="sig-name descname">$cfg['LoginCookieValidityDisableWarning']</code><a class="headerlink" href="#cfg_LoginCookieValidityDisableWarning" title="Permalink to this definition">¶</a></dt>
  196. <dd><dl class="field-list simple">
  197. <dt class="field-odd">Type</dt>
  198. <dd class="field-odd"><p>boolean</p>
  199. </dd>
  200. <dt class="field-even">Default value</dt>
  201. <dd class="field-even"><p>false</p>
  202. </dd>
  203. </dl>
  204. <p>A warning is displayed on the main page if the PHP parameter
  205. session.gc_maxlifetime is lower than cookie validity configured in phpMyAdmin.</p>
  206. <p>You can set this parameter to <code class="docutils literal notranslate"><span class="pre">true</span></code> to stop this message from appearing.</p>
  207. </dd></dl>
  208. <dl class="config option">
  209. <dt id="cfg_ServerLibraryDifference_DisableWarning">
  210. <code class="sig-name descname">$cfg['ServerLibraryDifference_DisableWarning']</code><a class="headerlink" href="#cfg_ServerLibraryDifference_DisableWarning" title="Permalink to this definition">¶</a></dt>
  211. <dd><dl class="field-list simple">
  212. <dt class="field-odd">Type</dt>
  213. <dd class="field-odd"><p>boolean</p>
  214. </dd>
  215. <dt class="field-even">Default value</dt>
  216. <dd class="field-even"><p>false</p>
  217. </dd>
  218. </dl>
  219. <div class="deprecated">
  220. <p><span class="versionmodified deprecated">Deprecated since version 4.7.0: </span>This setting was removed as the warning has been removed as well.</p>
  221. </div>
  222. <p>A warning is displayed on the main page if there is a difference
  223. between the MySQL library and server version.</p>
  224. <p>You can set this parameter to <code class="docutils literal notranslate"><span class="pre">true</span></code> to stop this message from appearing.</p>
  225. </dd></dl>
  226. <dl class="config option">
  227. <dt id="cfg_ReservedWordDisableWarning">
  228. <code class="sig-name descname">$cfg['ReservedWordDisableWarning']</code><a class="headerlink" href="#cfg_ReservedWordDisableWarning" title="Permalink to this definition">¶</a></dt>
  229. <dd><dl class="field-list simple">
  230. <dt class="field-odd">Type</dt>
  231. <dd class="field-odd"><p>boolean</p>
  232. </dd>
  233. <dt class="field-even">Default value</dt>
  234. <dd class="field-even"><p>false</p>
  235. </dd>
  236. </dl>
  237. <p>This warning is displayed on the Structure page of a table if one or more
  238. column names match with words which are MySQL reserved.</p>
  239. <p>If you want to turn off this warning, you can set it to <code class="docutils literal notranslate"><span class="pre">true</span></code> and
  240. warning will no longer be displayed.</p>
  241. </dd></dl>
  242. <dl class="config option">
  243. <dt id="cfg_TranslationWarningThreshold">
  244. <code class="sig-name descname">$cfg['TranslationWarningThreshold']</code><a class="headerlink" href="#cfg_TranslationWarningThreshold" title="Permalink to this definition">¶</a></dt>
  245. <dd><dl class="field-list simple">
  246. <dt class="field-odd">Type</dt>
  247. <dd class="field-odd"><p>integer</p>
  248. </dd>
  249. <dt class="field-even">Default value</dt>
  250. <dd class="field-even"><p>80</p>
  251. </dd>
  252. </dl>
  253. <p>Show warning about incomplete translations on certain threshold.</p>
  254. </dd></dl>
  255. <dl class="config option">
  256. <dt id="cfg_SendErrorReports">
  257. <code class="sig-name descname">$cfg['SendErrorReports']</code><a class="headerlink" href="#cfg_SendErrorReports" title="Permalink to this definition">¶</a></dt>
  258. <dd><dl class="field-list simple">
  259. <dt class="field-odd">Type</dt>
  260. <dd class="field-odd"><p>string</p>
  261. </dd>
  262. <dt class="field-even">Default value</dt>
  263. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'ask'</span></code></p>
  264. </dd>
  265. </dl>
  266. <p>Sets the default behavior for JavaScript error reporting.</p>
  267. <p>Whenever an error is detected in the JavaScript execution, an error report
  268. may be sent to the phpMyAdmin team if the user agrees.</p>
  269. <p>The default setting of <code class="docutils literal notranslate"><span class="pre">'ask'</span></code> will ask the user everytime there is a new
  270. error report. However you can set this parameter to <code class="docutils literal notranslate"><span class="pre">'always'</span></code> to send error
  271. reports without asking for confirmation or you can set it to <code class="docutils literal notranslate"><span class="pre">'never'</span></code> to
  272. never send error reports.</p>
  273. <p>This directive is available both in the configuration file and in users
  274. preferences. If the person in charge of a multi-user installation prefers
  275. to disable this feature for all users, a value of <code class="docutils literal notranslate"><span class="pre">'never'</span></code> should be
  276. set, and the <span class="target" id="index-5"></span><a class="reference internal" href="#cfg_UserprefsDisallow"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['UserprefsDisallow']</span></code></a> directive should
  277. contain <code class="docutils literal notranslate"><span class="pre">'SendErrorReports'</span></code> in one of its array values.</p>
  278. </dd></dl>
  279. <dl class="config option">
  280. <dt id="cfg_ConsoleEnterExecutes">
  281. <code class="sig-name descname">$cfg['ConsoleEnterExecutes']</code><a class="headerlink" href="#cfg_ConsoleEnterExecutes" title="Permalink to this definition">¶</a></dt>
  282. <dd><dl class="field-list simple">
  283. <dt class="field-odd">Type</dt>
  284. <dd class="field-odd"><p>boolean</p>
  285. </dd>
  286. <dt class="field-even">Default value</dt>
  287. <dd class="field-even"><p>false</p>
  288. </dd>
  289. </dl>
  290. <p>Setting this to <code class="docutils literal notranslate"><span class="pre">true</span></code> allows the user to execute queries by pressing Enter
  291. instead of Ctrl+Enter. A new line can be inserted by pressing Shift + Enter.</p>
  292. <p>The behaviour of the console can be temporarily changed using console’s
  293. settings interface.</p>
  294. </dd></dl>
  295. <dl class="config option">
  296. <dt id="cfg_AllowThirdPartyFraming">
  297. <code class="sig-name descname">$cfg['AllowThirdPartyFraming']</code><a class="headerlink" href="#cfg_AllowThirdPartyFraming" title="Permalink to this definition">¶</a></dt>
  298. <dd><dl class="field-list simple">
  299. <dt class="field-odd">Type</dt>
  300. <dd class="field-odd"><p>boolean</p>
  301. </dd>
  302. <dt class="field-even">Default value</dt>
  303. <dd class="field-even"><p>false</p>
  304. </dd>
  305. </dl>
  306. <p>Setting this to <code class="docutils literal notranslate"><span class="pre">true</span></code> allows phpMyAdmin to be included inside a frame,
  307. and is a potential security hole allowing cross-frame scripting attacks or
  308. clickjacking.</p>
  309. </dd></dl>
  310. </div>
  311. <div class="section" id="server-connection-settings">
  312. <h2>Server connection settings<a class="headerlink" href="#server-connection-settings" title="Permalink to this headline">¶</a></h2>
  313. <dl class="config option">
  314. <dt id="cfg_Servers">
  315. <code class="sig-name descname">$cfg['Servers']</code><a class="headerlink" href="#cfg_Servers" title="Permalink to this definition">¶</a></dt>
  316. <dd><dl class="field-list simple">
  317. <dt class="field-odd">Type</dt>
  318. <dd class="field-odd"><p>array</p>
  319. </dd>
  320. <dt class="field-even">Default value</dt>
  321. <dd class="field-even"><p>one server array with settings listed below</p>
  322. </dd>
  323. </dl>
  324. <p>Since version 1.4.2, phpMyAdmin supports the administration of multiple
  325. MySQL servers. Therefore, a <span class="target" id="index-6"></span><a class="reference internal" href="#cfg_Servers"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers']</span></code></a>-array has been
  326. added which contains the login information for the different servers. The
  327. first <span class="target" id="index-7"></span><a class="reference internal" href="#cfg_Servers_host"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['host']</span></code></a> contains the hostname of
  328. the first server, the second <span class="target" id="index-8"></span><a class="reference internal" href="#cfg_Servers_host"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['host']</span></code></a>
  329. the hostname of the second server, etc. In
  330. <code class="file docutils literal notranslate"><span class="pre">libraries/config.default.php</span></code>, there is only one section for server
  331. definition, however you can put as many as you need in
  332. <code class="file docutils literal notranslate"><span class="pre">config.inc.php</span></code>, copy that block or needed parts (you don’t have to
  333. define all settings, just those you need to change).</p>
  334. <div class="admonition note">
  335. <p class="admonition-title">Note</p>
  336. <p>The <span class="target" id="index-9"></span><a class="reference internal" href="#cfg_Servers"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers']</span></code></a> array starts with
  337. $cfg[‘Servers’][1]. Do not use $cfg[‘Servers’][0]. If you want more
  338. than one server, just copy following section (including $i
  339. incrementation) serveral times. There is no need to define full server
  340. array, just define values you need to change.</p>
  341. </div>
  342. </dd></dl>
  343. <dl class="config option">
  344. <dt id="cfg_Servers_host">
  345. <code class="sig-name descname">$cfg['Servers'][$i]['host']</code><a class="headerlink" href="#cfg_Servers_host" title="Permalink to this definition">¶</a></dt>
  346. <dd><dl class="field-list simple">
  347. <dt class="field-odd">Type</dt>
  348. <dd class="field-odd"><p>string</p>
  349. </dd>
  350. <dt class="field-even">Default value</dt>
  351. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'localhost'</span></code></p>
  352. </dd>
  353. </dl>
  354. <p>The hostname or <a class="reference internal" href="glossary.html#term-IP"><span class="xref std std-term">IP</span></a> address of your $i-th MySQL-server. E.g.
  355. <code class="docutils literal notranslate"><span class="pre">localhost</span></code>.</p>
  356. <p>Possible values are:</p>
  357. <ul class="simple">
  358. <li><p>hostname, e.g., <code class="docutils literal notranslate"><span class="pre">'localhost'</span></code> or <code class="docutils literal notranslate"><span class="pre">'mydb.example.org'</span></code></p></li>
  359. <li><p>IP address, e.g., <code class="docutils literal notranslate"><span class="pre">'127.0.0.1'</span></code> or <code class="docutils literal notranslate"><span class="pre">'192.168.10.1'</span></code></p></li>
  360. <li><p>IPv6 address, e.g. <code class="docutils literal notranslate"><span class="pre">2001:cdba:0000:0000:0000:0000:3257:9652</span></code></p></li>
  361. <li><p>dot - <code class="docutils literal notranslate"><span class="pre">'.'</span></code>, i.e., use named pipes on windows systems</p></li>
  362. <li><p>empty - <code class="docutils literal notranslate"><span class="pre">''</span></code>, disables this server</p></li>
  363. </ul>
  364. <div class="admonition note">
  365. <p class="admonition-title">Note</p>
  366. <p>The hostname <code class="docutils literal notranslate"><span class="pre">localhost</span></code> is handled specially by MySQL and it uses
  367. the socket based connection protocol. To use TCP/IP networking, use an
  368. IP address or hostname such as <code class="docutils literal notranslate"><span class="pre">127.0.0.1</span></code> or <code class="docutils literal notranslate"><span class="pre">db.example.com</span></code>. You
  369. can configure the path to the socket with
  370. <span class="target" id="index-10"></span><a class="reference internal" href="#cfg_Servers_socket"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['socket']</span></code></a>.</p>
  371. </div>
  372. <div class="admonition seealso">
  373. <p class="admonition-title">See also</p>
  374. <p><span class="target" id="index-11"></span><a class="reference internal" href="#cfg_Servers_port"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['port']</span></code></a>,
  375. &lt;<a class="reference external" href="https://dev.mysql.com/doc/refman/5.7/en/connecting.html">https://dev.mysql.com/doc/refman/5.7/en/connecting.html</a>&gt;</p>
  376. </div>
  377. </dd></dl>
  378. <dl class="config option">
  379. <dt id="cfg_Servers_port">
  380. <code class="sig-name descname">$cfg['Servers'][$i]['port']</code><a class="headerlink" href="#cfg_Servers_port" title="Permalink to this definition">¶</a></dt>
  381. <dd><dl class="field-list simple">
  382. <dt class="field-odd">Type</dt>
  383. <dd class="field-odd"><p>string</p>
  384. </dd>
  385. <dt class="field-even">Default value</dt>
  386. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  387. </dd>
  388. </dl>
  389. <p>The port-number of your $i-th MySQL-server. Default is 3306 (leave
  390. blank).</p>
  391. <div class="admonition note">
  392. <p class="admonition-title">Note</p>
  393. <p>If you use <code class="docutils literal notranslate"><span class="pre">localhost</span></code> as the hostname, MySQL ignores this port number
  394. and connects with the socket, so if you want to connect to a port
  395. different from the default port, use <code class="docutils literal notranslate"><span class="pre">127.0.0.1</span></code> or the real hostname
  396. in <span class="target" id="index-12"></span><a class="reference internal" href="#cfg_Servers_host"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['host']</span></code></a>.</p>
  397. </div>
  398. <div class="admonition seealso">
  399. <p class="admonition-title">See also</p>
  400. <p><span class="target" id="index-13"></span><a class="reference internal" href="#cfg_Servers_host"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['host']</span></code></a>,
  401. &lt;<a class="reference external" href="https://dev.mysql.com/doc/refman/5.7/en/connecting.html">https://dev.mysql.com/doc/refman/5.7/en/connecting.html</a>&gt;</p>
  402. </div>
  403. </dd></dl>
  404. <dl class="config option">
  405. <dt id="cfg_Servers_socket">
  406. <code class="sig-name descname">$cfg['Servers'][$i]['socket']</code><a class="headerlink" href="#cfg_Servers_socket" title="Permalink to this definition">¶</a></dt>
  407. <dd><dl class="field-list simple">
  408. <dt class="field-odd">Type</dt>
  409. <dd class="field-odd"><p>string</p>
  410. </dd>
  411. <dt class="field-even">Default value</dt>
  412. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  413. </dd>
  414. </dl>
  415. <p>The path to the socket to use. Leave blank for default. To determine
  416. the correct socket, check your MySQL configuration or, using the
  417. <strong class="command">mysql</strong> command–line client, issue the <code class="docutils literal notranslate"><span class="pre">status</span></code> command. Among the
  418. resulting information displayed will be the socket used.</p>
  419. <div class="admonition note">
  420. <p class="admonition-title">Note</p>
  421. <p>This takes effect only if <span class="target" id="index-14"></span><a class="reference internal" href="#cfg_Servers_host"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['host']</span></code></a> is set
  422. to <code class="docutils literal notranslate"><span class="pre">localhost</span></code>.</p>
  423. </div>
  424. <div class="admonition seealso">
  425. <p class="admonition-title">See also</p>
  426. <p><span class="target" id="index-15"></span><a class="reference internal" href="#cfg_Servers_host"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['host']</span></code></a>,
  427. &lt;<a class="reference external" href="https://dev.mysql.com/doc/refman/5.7/en/connecting.html">https://dev.mysql.com/doc/refman/5.7/en/connecting.html</a>&gt;</p>
  428. </div>
  429. </dd></dl>
  430. <dl class="config option">
  431. <dt id="cfg_Servers_ssl">
  432. <code class="sig-name descname">$cfg['Servers'][$i]['ssl']</code><a class="headerlink" href="#cfg_Servers_ssl" title="Permalink to this definition">¶</a></dt>
  433. <dd><dl class="field-list simple">
  434. <dt class="field-odd">Type</dt>
  435. <dd class="field-odd"><p>boolean</p>
  436. </dd>
  437. <dt class="field-even">Default value</dt>
  438. <dd class="field-even"><p>false</p>
  439. </dd>
  440. </dl>
  441. <p>Whether to enable SSL for the connection between phpMyAdmin and the MySQL
  442. server to secure the connection.</p>
  443. <p>When using the <code class="docutils literal notranslate"><span class="pre">'mysql'</span></code> extension,
  444. none of the remaining <code class="docutils literal notranslate"><span class="pre">'ssl...'</span></code> configuration options apply.</p>
  445. <p>We strongly recommend the <code class="docutils literal notranslate"><span class="pre">'mysqli'</span></code> extension when using this option.</p>
  446. <div class="admonition seealso">
  447. <p class="admonition-title">See also</p>
  448. <p><a class="reference internal" href="setup.html#ssl"><span class="std std-ref">Using SSL for connection to database server</span></a>,
  449. <a class="reference internal" href="#example-google-ssl"><span class="std std-ref">Google Cloud SQL with SSL</span></a>,
  450. <span class="target" id="index-16"></span><a class="reference internal" href="#cfg_Servers_ssl_key"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_key']</span></code></a>,
  451. <span class="target" id="index-17"></span><a class="reference internal" href="#cfg_Servers_ssl_cert"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_cert']</span></code></a>,
  452. <span class="target" id="index-18"></span><a class="reference internal" href="#cfg_Servers_ssl_ca"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ca']</span></code></a>,
  453. <span class="target" id="index-19"></span><a class="reference internal" href="#cfg_Servers_ssl_ca_path"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ca_path']</span></code></a>,
  454. <span class="target" id="index-20"></span><a class="reference internal" href="#cfg_Servers_ssl_ciphers"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ciphers']</span></code></a>,
  455. <span class="target" id="index-21"></span><a class="reference internal" href="#cfg_Servers_ssl_verify"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_verify']</span></code></a></p>
  456. </div>
  457. </dd></dl>
  458. <dl class="config option">
  459. <dt id="cfg_Servers_ssl_key">
  460. <code class="sig-name descname">$cfg['Servers'][$i]['ssl_key']</code><a class="headerlink" href="#cfg_Servers_ssl_key" title="Permalink to this definition">¶</a></dt>
  461. <dd><dl class="field-list simple">
  462. <dt class="field-odd">Type</dt>
  463. <dd class="field-odd"><p>string</p>
  464. </dd>
  465. <dt class="field-even">Default value</dt>
  466. <dd class="field-even"><p>NULL</p>
  467. </dd>
  468. </dl>
  469. <p>Path to the client key file when using SSL for connecting to the MySQL
  470. server. This is used to authenticate the client to the server.</p>
  471. <p>For example:</p>
  472. <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><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>
  473. </pre></div>
  474. </div>
  475. <div class="admonition seealso">
  476. <p class="admonition-title">See also</p>
  477. <p><a class="reference internal" href="setup.html#ssl"><span class="std std-ref">Using SSL for connection to database server</span></a>,
  478. <a class="reference internal" href="#example-google-ssl"><span class="std std-ref">Google Cloud SQL with SSL</span></a>,
  479. <span class="target" id="index-22"></span><a class="reference internal" href="#cfg_Servers_ssl"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl']</span></code></a>,
  480. <span class="target" id="index-23"></span><a class="reference internal" href="#cfg_Servers_ssl_cert"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_cert']</span></code></a>,
  481. <span class="target" id="index-24"></span><a class="reference internal" href="#cfg_Servers_ssl_ca"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ca']</span></code></a>,
  482. <span class="target" id="index-25"></span><a class="reference internal" href="#cfg_Servers_ssl_ca_path"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ca_path']</span></code></a>,
  483. <span class="target" id="index-26"></span><a class="reference internal" href="#cfg_Servers_ssl_ciphers"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ciphers']</span></code></a>,
  484. <span class="target" id="index-27"></span><a class="reference internal" href="#cfg_Servers_ssl_verify"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_verify']</span></code></a></p>
  485. </div>
  486. </dd></dl>
  487. <dl class="config option">
  488. <dt id="cfg_Servers_ssl_cert">
  489. <code class="sig-name descname">$cfg['Servers'][$i]['ssl_cert']</code><a class="headerlink" href="#cfg_Servers_ssl_cert" title="Permalink to this definition">¶</a></dt>
  490. <dd><dl class="field-list simple">
  491. <dt class="field-odd">Type</dt>
  492. <dd class="field-odd"><p>string</p>
  493. </dd>
  494. <dt class="field-even">Default value</dt>
  495. <dd class="field-even"><p>NULL</p>
  496. </dd>
  497. </dl>
  498. <p>Path to the client certificate file when using SSL for connecting to the
  499. MySQL server. This is used to authenticate the client to the server.</p>
  500. <div class="admonition seealso">
  501. <p class="admonition-title">See also</p>
  502. <p><a class="reference internal" href="setup.html#ssl"><span class="std std-ref">Using SSL for connection to database server</span></a>,
  503. <a class="reference internal" href="#example-google-ssl"><span class="std std-ref">Google Cloud SQL with SSL</span></a>,
  504. <span class="target" id="index-28"></span><a class="reference internal" href="#cfg_Servers_ssl"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl']</span></code></a>,
  505. <span class="target" id="index-29"></span><a class="reference internal" href="#cfg_Servers_ssl_key"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_key']</span></code></a>,
  506. <span class="target" id="index-30"></span><a class="reference internal" href="#cfg_Servers_ssl_ca"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ca']</span></code></a>,
  507. <span class="target" id="index-31"></span><a class="reference internal" href="#cfg_Servers_ssl_ca_path"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ca_path']</span></code></a>,
  508. <span class="target" id="index-32"></span><a class="reference internal" href="#cfg_Servers_ssl_ciphers"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ciphers']</span></code></a>,
  509. <span class="target" id="index-33"></span><a class="reference internal" href="#cfg_Servers_ssl_verify"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_verify']</span></code></a></p>
  510. </div>
  511. </dd></dl>
  512. <dl class="config option">
  513. <dt id="cfg_Servers_ssl_ca">
  514. <code class="sig-name descname">$cfg['Servers'][$i]['ssl_ca']</code><a class="headerlink" href="#cfg_Servers_ssl_ca" title="Permalink to this definition">¶</a></dt>
  515. <dd><dl class="field-list simple">
  516. <dt class="field-odd">Type</dt>
  517. <dd class="field-odd"><p>string</p>
  518. </dd>
  519. <dt class="field-even">Default value</dt>
  520. <dd class="field-even"><p>NULL</p>
  521. </dd>
  522. </dl>
  523. <p>Path to the CA file when using SSL for connecting to the MySQL server.</p>
  524. <div class="admonition seealso">
  525. <p class="admonition-title">See also</p>
  526. <p><a class="reference internal" href="setup.html#ssl"><span class="std std-ref">Using SSL for connection to database server</span></a>,
  527. <a class="reference internal" href="#example-google-ssl"><span class="std std-ref">Google Cloud SQL with SSL</span></a>,
  528. <span class="target" id="index-34"></span><a class="reference internal" href="#cfg_Servers_ssl"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl']</span></code></a>,
  529. <span class="target" id="index-35"></span><a class="reference internal" href="#cfg_Servers_ssl_key"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_key']</span></code></a>,
  530. <span class="target" id="index-36"></span><a class="reference internal" href="#cfg_Servers_ssl_cert"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_cert']</span></code></a>,
  531. <span class="target" id="index-37"></span><a class="reference internal" href="#cfg_Servers_ssl_ca_path"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ca_path']</span></code></a>,
  532. <span class="target" id="index-38"></span><a class="reference internal" href="#cfg_Servers_ssl_ciphers"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ciphers']</span></code></a>,
  533. <span class="target" id="index-39"></span><a class="reference internal" href="#cfg_Servers_ssl_verify"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_verify']</span></code></a></p>
  534. </div>
  535. </dd></dl>
  536. <dl class="config option">
  537. <dt id="cfg_Servers_ssl_ca_path">
  538. <code class="sig-name descname">$cfg['Servers'][$i]['ssl_ca_path']</code><a class="headerlink" href="#cfg_Servers_ssl_ca_path" title="Permalink to this definition">¶</a></dt>
  539. <dd><dl class="field-list simple">
  540. <dt class="field-odd">Type</dt>
  541. <dd class="field-odd"><p>string</p>
  542. </dd>
  543. <dt class="field-even">Default value</dt>
  544. <dd class="field-even"><p>NULL</p>
  545. </dd>
  546. </dl>
  547. <p>Directory containing trusted SSL CA certificates in PEM format.</p>
  548. <div class="admonition seealso">
  549. <p class="admonition-title">See also</p>
  550. <p><a class="reference internal" href="setup.html#ssl"><span class="std std-ref">Using SSL for connection to database server</span></a>,
  551. <a class="reference internal" href="#example-google-ssl"><span class="std std-ref">Google Cloud SQL with SSL</span></a>,
  552. <span class="target" id="index-40"></span><a class="reference internal" href="#cfg_Servers_ssl"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl']</span></code></a>,
  553. <span class="target" id="index-41"></span><a class="reference internal" href="#cfg_Servers_ssl_key"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_key']</span></code></a>,
  554. <span class="target" id="index-42"></span><a class="reference internal" href="#cfg_Servers_ssl_cert"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_cert']</span></code></a>,
  555. <span class="target" id="index-43"></span><a class="reference internal" href="#cfg_Servers_ssl_ca"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ca']</span></code></a>,
  556. <span class="target" id="index-44"></span><a class="reference internal" href="#cfg_Servers_ssl_ciphers"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ciphers']</span></code></a>,
  557. <span class="target" id="index-45"></span><a class="reference internal" href="#cfg_Servers_ssl_verify"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_verify']</span></code></a></p>
  558. </div>
  559. </dd></dl>
  560. <dl class="config option">
  561. <dt id="cfg_Servers_ssl_ciphers">
  562. <code class="sig-name descname">$cfg['Servers'][$i]['ssl_ciphers']</code><a class="headerlink" href="#cfg_Servers_ssl_ciphers" title="Permalink to this definition">¶</a></dt>
  563. <dd><dl class="field-list simple">
  564. <dt class="field-odd">Type</dt>
  565. <dd class="field-odd"><p>string</p>
  566. </dd>
  567. <dt class="field-even">Default value</dt>
  568. <dd class="field-even"><p>NULL</p>
  569. </dd>
  570. </dl>
  571. <p>List of allowable ciphers for SSL connections to the MySQL server.</p>
  572. <div class="admonition seealso">
  573. <p class="admonition-title">See also</p>
  574. <p><a class="reference internal" href="setup.html#ssl"><span class="std std-ref">Using SSL for connection to database server</span></a>,
  575. <a class="reference internal" href="#example-google-ssl"><span class="std std-ref">Google Cloud SQL with SSL</span></a>,
  576. <span class="target" id="index-46"></span><a class="reference internal" href="#cfg_Servers_ssl"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl']</span></code></a>,
  577. <span class="target" id="index-47"></span><a class="reference internal" href="#cfg_Servers_ssl_key"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_key']</span></code></a>,
  578. <span class="target" id="index-48"></span><a class="reference internal" href="#cfg_Servers_ssl_cert"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_cert']</span></code></a>,
  579. <span class="target" id="index-49"></span><a class="reference internal" href="#cfg_Servers_ssl_ca"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ca']</span></code></a>,
  580. <span class="target" id="index-50"></span><a class="reference internal" href="#cfg_Servers_ssl_ca_path"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ca_path']</span></code></a>,
  581. <span class="target" id="index-51"></span><a class="reference internal" href="#cfg_Servers_ssl_verify"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_verify']</span></code></a></p>
  582. </div>
  583. </dd></dl>
  584. <dl class="config option">
  585. <dt id="cfg_Servers_ssl_verify">
  586. <code class="sig-name descname">$cfg['Servers'][$i]['ssl_verify']</code><a class="headerlink" href="#cfg_Servers_ssl_verify" title="Permalink to this definition">¶</a></dt>
  587. <dd><dl class="field-list simple">
  588. <dt class="field-odd">Type</dt>
  589. <dd class="field-odd"><p>boolean</p>
  590. </dd>
  591. <dt class="field-even">Default value</dt>
  592. <dd class="field-even"><p>true</p>
  593. </dd>
  594. </dl>
  595. <div class="versionadded">
  596. <p><span class="versionmodified added">New in version 4.6.0: </span>This is supported since phpMyAdmin 4.6.0.</p>
  597. </div>
  598. <p>If your PHP install uses the MySQL Native Driver (mysqlnd), your
  599. MySQL server is 5.6 or later, and your SSL certificate is self-signed,
  600. there is a chance your SSL connection will fail due to validation.
  601. Setting this to <code class="docutils literal notranslate"><span class="pre">false</span></code> will disable the validation check.</p>
  602. <p>Since PHP 5.6.0 it also verifies whether server name matches CN of its
  603. certificate. There is currently no way to disable just this check without
  604. disabling complete SSL verification.</p>
  605. <div class="admonition warning">
  606. <p class="admonition-title">Warning</p>
  607. <p>Disabling the certificate verification defeats purpose of using SSL.
  608. This will make the connection vulnerable to man in the middle attacks.</p>
  609. </div>
  610. <div class="admonition note">
  611. <p class="admonition-title">Note</p>
  612. <p>This flag only works with PHP 5.6.16 or later.</p>
  613. </div>
  614. <div class="admonition seealso">
  615. <p class="admonition-title">See also</p>
  616. <p><a class="reference internal" href="setup.html#ssl"><span class="std std-ref">Using SSL for connection to database server</span></a>,
  617. <a class="reference internal" href="#example-google-ssl"><span class="std std-ref">Google Cloud SQL with SSL</span></a>,
  618. <span class="target" id="index-52"></span><a class="reference internal" href="#cfg_Servers_ssl"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl']</span></code></a>,
  619. <span class="target" id="index-53"></span><a class="reference internal" href="#cfg_Servers_ssl_key"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_key']</span></code></a>,
  620. <span class="target" id="index-54"></span><a class="reference internal" href="#cfg_Servers_ssl_cert"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_cert']</span></code></a>,
  621. <span class="target" id="index-55"></span><a class="reference internal" href="#cfg_Servers_ssl_ca"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ca']</span></code></a>,
  622. <span class="target" id="index-56"></span><a class="reference internal" href="#cfg_Servers_ssl_ca_path"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ca_path']</span></code></a>,
  623. <span class="target" id="index-57"></span><a class="reference internal" href="#cfg_Servers_ssl_ciphers"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ciphers']</span></code></a>,
  624. <span class="target" id="index-58"></span><a class="reference internal" href="#cfg_Servers_ssl_verify"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_verify']</span></code></a></p>
  625. </div>
  626. </dd></dl>
  627. <dl class="config option">
  628. <dt id="cfg_Servers_connect_type">
  629. <code class="sig-name descname">$cfg['Servers'][$i]['connect_type']</code><a class="headerlink" href="#cfg_Servers_connect_type" title="Permalink to this definition">¶</a></dt>
  630. <dd><dl class="field-list simple">
  631. <dt class="field-odd">Type</dt>
  632. <dd class="field-odd"><p>string</p>
  633. </dd>
  634. <dt class="field-even">Default value</dt>
  635. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'tcp'</span></code></p>
  636. </dd>
  637. </dl>
  638. <div class="deprecated">
  639. <p><span class="versionmodified deprecated">Deprecated since version 4.7.0: </span>This setting is no longer used as of 4.7.0, since MySQL decides the
  640. connection type based on host, so it could lead to unexpected results.
  641. Please set <span class="target" id="index-59"></span><a class="reference internal" href="#cfg_Servers_host"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['host']</span></code></a> accordingly
  642. instead.</p>
  643. </div>
  644. <p>What type connection to use with the MySQL server. Your options are
  645. <code class="docutils literal notranslate"><span class="pre">'socket'</span></code> and <code class="docutils literal notranslate"><span class="pre">'tcp'</span></code>. It defaults to tcp as that is nearly guaranteed
  646. to be available on all MySQL servers, while sockets are not supported on
  647. some platforms. To use the socket mode, your MySQL server must be on the
  648. same machine as the Web server.</p>
  649. </dd></dl>
  650. <dl class="config option">
  651. <dt id="cfg_Servers_compress">
  652. <code class="sig-name descname">$cfg['Servers'][$i]['compress']</code><a class="headerlink" href="#cfg_Servers_compress" title="Permalink to this definition">¶</a></dt>
  653. <dd><dl class="field-list simple">
  654. <dt class="field-odd">Type</dt>
  655. <dd class="field-odd"><p>boolean</p>
  656. </dd>
  657. <dt class="field-even">Default value</dt>
  658. <dd class="field-even"><p>false</p>
  659. </dd>
  660. </dl>
  661. <p>Whether to use a compressed protocol for the MySQL server connection
  662. or not (experimental).</p>
  663. </dd></dl>
  664. <span class="target" id="controlhost"></span><dl class="config option">
  665. <dt id="cfg_Servers_controlhost">
  666. <code class="sig-name descname">$cfg['Servers'][$i]['controlhost']</code><a class="headerlink" href="#cfg_Servers_controlhost" title="Permalink to this definition">¶</a></dt>
  667. <dd><dl class="field-list simple">
  668. <dt class="field-odd">Type</dt>
  669. <dd class="field-odd"><p>string</p>
  670. </dd>
  671. <dt class="field-even">Default value</dt>
  672. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  673. </dd>
  674. </dl>
  675. <p>Permits to use an alternate host to hold the configuration storage
  676. data.</p>
  677. <div class="admonition seealso">
  678. <p class="admonition-title">See also</p>
  679. <p><span class="target" id="index-60"></span><a class="reference internal" href="#cfg_Servers_control_*"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['control_*']</span></code></a></p>
  680. </div>
  681. </dd></dl>
  682. <span class="target" id="controlport"></span><dl class="config option">
  683. <dt id="cfg_Servers_controlport">
  684. <code class="sig-name descname">$cfg['Servers'][$i]['controlport']</code><a class="headerlink" href="#cfg_Servers_controlport" title="Permalink to this definition">¶</a></dt>
  685. <dd><dl class="field-list simple">
  686. <dt class="field-odd">Type</dt>
  687. <dd class="field-odd"><p>string</p>
  688. </dd>
  689. <dt class="field-even">Default value</dt>
  690. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  691. </dd>
  692. </dl>
  693. <p>Permits to use an alternate port to connect to the host that
  694. holds the configuration storage.</p>
  695. <div class="admonition seealso">
  696. <p class="admonition-title">See also</p>
  697. <p><span class="target" id="index-61"></span><a class="reference internal" href="#cfg_Servers_control_*"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['control_*']</span></code></a></p>
  698. </div>
  699. </dd></dl>
  700. <span class="target" id="controluser"></span><dl class="config option">
  701. <dt id="cfg_Servers_controluser">
  702. <code class="sig-name descname">$cfg['Servers'][$i]['controluser']</code><a class="headerlink" href="#cfg_Servers_controluser" title="Permalink to this definition">¶</a></dt>
  703. <dd><dl class="field-list simple">
  704. <dt class="field-odd">Type</dt>
  705. <dd class="field-odd"><p>string</p>
  706. </dd>
  707. <dt class="field-even">Default value</dt>
  708. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  709. </dd>
  710. </dl>
  711. </dd></dl>
  712. <dl class="config option">
  713. <dt id="cfg_Servers_controlpass">
  714. <code class="sig-name descname">$cfg['Servers'][$i]['controlpass']</code><a class="headerlink" href="#cfg_Servers_controlpass" title="Permalink to this definition">¶</a></dt>
  715. <dd><dl class="field-list simple">
  716. <dt class="field-odd">Type</dt>
  717. <dd class="field-odd"><p>string</p>
  718. </dd>
  719. <dt class="field-even">Default value</dt>
  720. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  721. </dd>
  722. </dl>
  723. <p>This special account is used to access <a class="reference internal" href="setup.html#linked-tables"><span class="std std-ref">phpMyAdmin configuration storage</span></a>.
  724. You don’t need it in single user case, but if phpMyAdmin is shared it
  725. is recommended to give access to <a class="reference internal" href="setup.html#linked-tables"><span class="std std-ref">phpMyAdmin configuration storage</span></a> only to this user
  726. and configure phpMyAdmin to use it. All users will then be able to use
  727. the features without need to have direct access to <a class="reference internal" href="setup.html#linked-tables"><span class="std std-ref">phpMyAdmin configuration storage</span></a>.</p>
  728. <div class="versionchanged">
  729. <p><span class="versionmodified changed">Changed in version 2.2.5: </span>those were called <code class="docutils literal notranslate"><span class="pre">stduser</span></code> and <code class="docutils literal notranslate"><span class="pre">stdpass</span></code></p>
  730. </div>
  731. <div class="admonition seealso">
  732. <p class="admonition-title">See also</p>
  733. <p><a class="reference internal" href="setup.html#setup"><span class="std std-ref">Installation</span></a>,
  734. <a class="reference internal" href="setup.html#authentication-modes"><span class="std std-ref">Using authentication modes</span></a>,
  735. <a class="reference internal" href="setup.html#linked-tables"><span class="std std-ref">phpMyAdmin configuration storage</span></a>,
  736. <span class="target" id="index-62"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a>,
  737. <span class="target" id="index-63"></span><a class="reference internal" href="#cfg_Servers_controlhost"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['controlhost']</span></code></a>,
  738. <span class="target" id="index-64"></span><a class="reference internal" href="#cfg_Servers_controlport"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['controlport']</span></code></a>,
  739. <span class="target" id="index-65"></span><a class="reference internal" href="#cfg_Servers_control_*"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['control_*']</span></code></a></p>
  740. </div>
  741. </dd></dl>
  742. <dl class="config option">
  743. <dt id="cfg_Servers_control_*">
  744. <code class="sig-name descname">$cfg['Servers'][$i]['control_*']</code><a class="headerlink" href="#cfg_Servers_control_*" title="Permalink to this definition">¶</a></dt>
  745. <dd><dl class="field-list simple">
  746. <dt class="field-odd">Type</dt>
  747. <dd class="field-odd"><p>mixed</p>
  748. </dd>
  749. </dl>
  750. <div class="versionadded">
  751. <p><span class="versionmodified added">New in version 4.7.0.</span></p>
  752. </div>
  753. <p>You can change any MySQL connection setting for control link (used to
  754. access <a class="reference internal" href="setup.html#linked-tables"><span class="std std-ref">phpMyAdmin configuration storage</span></a>) using configuration prefixed with <code class="docutils literal notranslate"><span class="pre">control_</span></code>.</p>
  755. <p>This can be used to change any aspect of the control connection, which by
  756. default uses same parameters as the user one.</p>
  757. <p>For example you can configure SSL for the control connection:</p>
  758. <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="c1">// Enable SSL</span>
  759. <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;control_ssl&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="k">true</span><span class="p">;</span>
  760. <span class="c1">// Client secret key</span>
  761. <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;control_ssl_key&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;../client-key.pem&#39;</span><span class="p">;</span>
  762. <span class="c1">// Client certificate</span>
  763. <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;control_ssl_cert&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;../client-cert.pem&#39;</span><span class="p">;</span>
  764. <span class="c1">// Server certification authority</span>
  765. <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;control_ssl_ca&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;../server-ca.pem&#39;</span><span class="p">;</span>
  766. </pre></div>
  767. </div>
  768. <div class="admonition seealso">
  769. <p class="admonition-title">See also</p>
  770. <p><span class="target" id="index-66"></span><a class="reference internal" href="#cfg_Servers_ssl"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl']</span></code></a>,
  771. <span class="target" id="index-67"></span><a class="reference internal" href="#cfg_Servers_ssl_key"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_key']</span></code></a>,
  772. <span class="target" id="index-68"></span><a class="reference internal" href="#cfg_Servers_ssl_cert"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_cert']</span></code></a>,
  773. <span class="target" id="index-69"></span><a class="reference internal" href="#cfg_Servers_ssl_ca"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ca']</span></code></a>,
  774. <span class="target" id="index-70"></span><a class="reference internal" href="#cfg_Servers_ssl_ca_path"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ca_path']</span></code></a>,
  775. <span class="target" id="index-71"></span><a class="reference internal" href="#cfg_Servers_ssl_ciphers"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ciphers']</span></code></a>,
  776. <span class="target" id="index-72"></span><a class="reference internal" href="#cfg_Servers_ssl_verify"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_verify']</span></code></a></p>
  777. </div>
  778. </dd></dl>
  779. <dl class="config option">
  780. <dt id="cfg_Servers_auth_type">
  781. <code class="sig-name descname">$cfg['Servers'][$i]['auth_type']</code><a class="headerlink" href="#cfg_Servers_auth_type" title="Permalink to this definition">¶</a></dt>
  782. <dd><dl class="field-list simple">
  783. <dt class="field-odd">Type</dt>
  784. <dd class="field-odd"><p>string</p>
  785. </dd>
  786. <dt class="field-even">Default value</dt>
  787. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'cookie'</span></code></p>
  788. </dd>
  789. </dl>
  790. <p>Whether config or cookie or <a class="reference internal" href="glossary.html#term-HTTP"><span class="xref std std-term">HTTP</span></a> or signon authentication should be
  791. used for this server.</p>
  792. <ul class="simple">
  793. <li><p>‘config’ authentication (<code class="docutils literal notranslate"><span class="pre">$auth_type</span> <span class="pre">=</span> <span class="pre">'config'</span></code>) is the plain old
  794. way: username and password are stored in <code class="file docutils literal notranslate"><span class="pre">config.inc.php</span></code>.</p></li>
  795. <li><p>‘cookie’ authentication mode (<code class="docutils literal notranslate"><span class="pre">$auth_type</span> <span class="pre">=</span> <span class="pre">'cookie'</span></code>) allows you to
  796. log in as any valid MySQL user with the help of cookies.</p></li>
  797. <li><p>‘http’ authentication allows you to log in as any
  798. valid MySQL user via HTTP-Auth.</p></li>
  799. <li><p>‘signon’ authentication mode (<code class="docutils literal notranslate"><span class="pre">$auth_type</span> <span class="pre">=</span> <span class="pre">'signon'</span></code>) allows you to
  800. log in from prepared PHP session data or using supplied PHP script.</p></li>
  801. </ul>
  802. <div class="admonition seealso">
  803. <p class="admonition-title">See also</p>
  804. <p><a class="reference internal" href="setup.html#authentication-modes"><span class="std std-ref">Using authentication modes</span></a></p>
  805. </div>
  806. </dd></dl>
  807. <span class="target" id="servers-auth-http-realm"></span><dl class="config option">
  808. <dt id="cfg_Servers_auth_http_realm">
  809. <code class="sig-name descname">$cfg['Servers'][$i]['auth_http_realm']</code><a class="headerlink" href="#cfg_Servers_auth_http_realm" title="Permalink to this definition">¶</a></dt>
  810. <dd><dl class="field-list simple">
  811. <dt class="field-odd">Type</dt>
  812. <dd class="field-odd"><p>string</p>
  813. </dd>
  814. <dt class="field-even">Default value</dt>
  815. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  816. </dd>
  817. </dl>
  818. <p>When using auth_type = <code class="docutils literal notranslate"><span class="pre">http</span></code>, this field allows to define a custom
  819. <a class="reference internal" href="glossary.html#term-HTTP"><span class="xref std std-term">HTTP</span></a> Basic Auth Realm which will be displayed to the user. If not
  820. explicitly specified in your configuration, a string combined of
  821. “phpMyAdmin ” and either <span class="target" id="index-73"></span><a class="reference internal" href="#cfg_Servers_verbose"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['verbose']</span></code></a> or
  822. <span class="target" id="index-74"></span><a class="reference internal" href="#cfg_Servers_host"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['host']</span></code></a> will be used.</p>
  823. </dd></dl>
  824. <span class="target" id="servers-user"></span><dl class="config option">
  825. <dt id="cfg_Servers_user">
  826. <code class="sig-name descname">$cfg['Servers'][$i]['user']</code><a class="headerlink" href="#cfg_Servers_user" title="Permalink to this definition">¶</a></dt>
  827. <dd><dl class="field-list simple">
  828. <dt class="field-odd">Type</dt>
  829. <dd class="field-odd"><p>string</p>
  830. </dd>
  831. <dt class="field-even">Default value</dt>
  832. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'root'</span></code></p>
  833. </dd>
  834. </dl>
  835. </dd></dl>
  836. <dl class="config option">
  837. <dt id="cfg_Servers_password">
  838. <code class="sig-name descname">$cfg['Servers'][$i]['password']</code><a class="headerlink" href="#cfg_Servers_password" title="Permalink to this definition">¶</a></dt>
  839. <dd><dl class="field-list simple">
  840. <dt class="field-odd">Type</dt>
  841. <dd class="field-odd"><p>string</p>
  842. </dd>
  843. <dt class="field-even">Default value</dt>
  844. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  845. </dd>
  846. </dl>
  847. <p>When using <span class="target" id="index-75"></span><a class="reference internal" href="#cfg_Servers_auth_type"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['auth_type']</span></code></a> set to
  848. ‘config’, this is the user/password-pair which phpMyAdmin will use to
  849. connect to the MySQL server. This user/password pair is not needed when
  850. <a class="reference internal" href="glossary.html#term-HTTP"><span class="xref std std-term">HTTP</span></a> or cookie authentication is used
  851. and should be empty.</p>
  852. </dd></dl>
  853. <span class="target" id="servers-nopassword"></span><dl class="config option">
  854. <dt id="cfg_Servers_nopassword">
  855. <code class="sig-name descname">$cfg['Servers'][$i]['nopassword']</code><a class="headerlink" href="#cfg_Servers_nopassword" title="Permalink to this definition">¶</a></dt>
  856. <dd><dl class="field-list simple">
  857. <dt class="field-odd">Type</dt>
  858. <dd class="field-odd"><p>boolean</p>
  859. </dd>
  860. <dt class="field-even">Default value</dt>
  861. <dd class="field-even"><p>false</p>
  862. </dd>
  863. </dl>
  864. <div class="deprecated">
  865. <p><span class="versionmodified deprecated">Deprecated since version 4.7.0: </span>This setting was removed as it can produce unexpected results.</p>
  866. </div>
  867. <p>Allow attempt to log in without password when a login with password
  868. fails. This can be used together with http authentication, when
  869. authentication is done some other way and phpMyAdmin gets user name
  870. from auth and uses empty password for connecting to MySQL. Password
  871. login is still tried first, but as fallback, no password method is
  872. tried.</p>
  873. </dd></dl>
  874. <span class="target" id="servers-only-db"></span><dl class="config option">
  875. <dt id="cfg_Servers_only_db">
  876. <code class="sig-name descname">$cfg['Servers'][$i]['only_db']</code><a class="headerlink" href="#cfg_Servers_only_db" title="Permalink to this definition">¶</a></dt>
  877. <dd><dl class="field-list simple">
  878. <dt class="field-odd">Type</dt>
  879. <dd class="field-odd"><p>string or array</p>
  880. </dd>
  881. <dt class="field-even">Default value</dt>
  882. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  883. </dd>
  884. </dl>
  885. <p>If set to a (an array of) database name(s), only this (these)
  886. database(s) will be shown to the user. Since phpMyAdmin 2.2.1,
  887. this/these database(s) name(s) may contain MySQL wildcards characters
  888. (“_” and “%”): if you want to use literal instances of these
  889. characters, escape them (I.E. use <code class="docutils literal notranslate"><span class="pre">'my\_db'</span></code> and not <code class="docutils literal notranslate"><span class="pre">'my_db'</span></code>).</p>
  890. <p>This setting is an efficient way to lower the server load since the
  891. latter does not need to send MySQL requests to build the available
  892. database list. But <strong>it does not replace the privileges rules of the
  893. MySQL database server</strong>. If set, it just means only these databases
  894. will be displayed but <strong>not that all other databases can’t be used.</strong></p>
  895. <p>An example of using more that one database:</p>
  896. <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><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>
  897. </pre></div>
  898. </div>
  899. <div class="versionchanged">
  900. <p><span class="versionmodified changed">Changed in version 4.0.0: </span>Previous versions permitted to specify the display order of
  901. the database names via this directive.</p>
  902. </div>
  903. </dd></dl>
  904. <dl class="config option">
  905. <dt id="cfg_Servers_hide_db">
  906. <code class="sig-name descname">$cfg['Servers'][$i]['hide_db']</code><a class="headerlink" href="#cfg_Servers_hide_db" title="Permalink to this definition">¶</a></dt>
  907. <dd><dl class="field-list simple">
  908. <dt class="field-odd">Type</dt>
  909. <dd class="field-odd"><p>string</p>
  910. </dd>
  911. <dt class="field-even">Default value</dt>
  912. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  913. </dd>
  914. </dl>
  915. <p>Regular expression for hiding some databases from unprivileged users.
  916. This only hides them from listing, but a user is still able to access
  917. them (using, for example, the SQL query area). To limit access, use
  918. the MySQL privilege system. For example, to hide all databases
  919. starting with the letter “a”, use</p>
  920. <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><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>
  921. </pre></div>
  922. </div>
  923. <p>and to hide both “db1” and “db2” use</p>
  924. <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><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>
  925. </pre></div>
  926. </div>
  927. <p>More information on regular expressions can be found in the <a class="reference external" href="https://www.php.net/manual/en/reference.pcre.pattern.syntax.php">PCRE
  928. pattern syntax</a> portion
  929. of the PHP reference manual.</p>
  930. </dd></dl>
  931. <dl class="config option">
  932. <dt id="cfg_Servers_verbose">
  933. <code class="sig-name descname">$cfg['Servers'][$i]['verbose']</code><a class="headerlink" href="#cfg_Servers_verbose" title="Permalink to this definition">¶</a></dt>
  934. <dd><dl class="field-list simple">
  935. <dt class="field-odd">Type</dt>
  936. <dd class="field-odd"><p>string</p>
  937. </dd>
  938. <dt class="field-even">Default value</dt>
  939. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  940. </dd>
  941. </dl>
  942. <p>Only useful when using phpMyAdmin with multiple server entries. If
  943. set, this string will be displayed instead of the hostname in the
  944. pull-down menu on the main page. This can be useful if you want to
  945. show only certain databases on your system, for example. For HTTP
  946. auth, all non-US-ASCII characters will be stripped.</p>
  947. </dd></dl>
  948. <dl class="config option">
  949. <dt id="cfg_Servers_extension">
  950. <code class="sig-name descname">$cfg['Servers'][$i]['extension']</code><a class="headerlink" href="#cfg_Servers_extension" title="Permalink to this definition">¶</a></dt>
  951. <dd><dl class="field-list simple">
  952. <dt class="field-odd">Type</dt>
  953. <dd class="field-odd"><p>string</p>
  954. </dd>
  955. <dt class="field-even">Default value</dt>
  956. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'mysqli'</span></code></p>
  957. </dd>
  958. </dl>
  959. <p>The PHP MySQL extension to use (<code class="docutils literal notranslate"><span class="pre">mysql</span></code> or <code class="docutils literal notranslate"><span class="pre">mysqli</span></code>).</p>
  960. <p>It is recommended to use <code class="docutils literal notranslate"><span class="pre">mysqli</span></code> in all installations.</p>
  961. </dd></dl>
  962. <dl class="config option">
  963. <dt id="cfg_Servers_pmadb">
  964. <code class="sig-name descname">$cfg['Servers'][$i]['pmadb']</code><a class="headerlink" href="#cfg_Servers_pmadb" title="Permalink to this definition">¶</a></dt>
  965. <dd><dl class="field-list simple">
  966. <dt class="field-odd">Type</dt>
  967. <dd class="field-odd"><p>string</p>
  968. </dd>
  969. <dt class="field-even">Default value</dt>
  970. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  971. </dd>
  972. </dl>
  973. <p>The name of the database containing the phpMyAdmin configuration
  974. storage.</p>
  975. <p>See the <a class="reference internal" href="setup.html#linked-tables"><span class="std std-ref">phpMyAdmin configuration storage</span></a> section in this document to see the benefits of
  976. this feature, and for a quick way of creating this database and the needed
  977. tables.</p>
  978. <p>If you are the only user of this phpMyAdmin installation, you can use your
  979. current database to store those special tables; in this case, just put your
  980. current database name in <span class="target" id="index-76"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a>. For a
  981. multi-user installation, set this parameter to the name of your central
  982. database containing the phpMyAdmin configuration storage.</p>
  983. </dd></dl>
  984. <span class="target" id="bookmark"></span><dl class="config option">
  985. <dt id="cfg_Servers_bookmarktable">
  986. <code class="sig-name descname">$cfg['Servers'][$i]['bookmarktable']</code><a class="headerlink" href="#cfg_Servers_bookmarktable" title="Permalink to this definition">¶</a></dt>
  987. <dd><dl class="field-list simple">
  988. <dt class="field-odd">Type</dt>
  989. <dd class="field-odd"><p>string or false</p>
  990. </dd>
  991. <dt class="field-even">Default value</dt>
  992. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  993. </dd>
  994. </dl>
  995. <p>Since release 2.2.0 phpMyAdmin allows users to bookmark queries. This
  996. can be useful for queries you often run. To allow the usage of this
  997. functionality:</p>
  998. <ul class="simple">
  999. <li><p>set up <span class="target" id="index-77"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a> and the phpMyAdmin configuration storage</p></li>
  1000. <li><p>enter the table name in <span class="target" id="index-78"></span><a class="reference internal" href="#cfg_Servers_bookmarktable"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['bookmarktable']</span></code></a></p></li>
  1001. </ul>
  1002. <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
  1003. </dd></dl>
  1004. <span class="target" id="relation"></span><dl class="config option">
  1005. <dt id="cfg_Servers_relation">
  1006. <code class="sig-name descname">$cfg['Servers'][$i]['relation']</code><a class="headerlink" href="#cfg_Servers_relation" title="Permalink to this definition">¶</a></dt>
  1007. <dd><dl class="field-list simple">
  1008. <dt class="field-odd">Type</dt>
  1009. <dd class="field-odd"><p>string or false</p>
  1010. </dd>
  1011. <dt class="field-even">Default value</dt>
  1012. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1013. </dd>
  1014. </dl>
  1015. <p>Since release 2.2.4 you can describe, in a special ‘relation’ table,
  1016. which column is a key in another table (a foreign key). phpMyAdmin
  1017. currently uses this to:</p>
  1018. <ul class="simple">
  1019. <li><p>make clickable, when you browse the master table, the data values that
  1020. point to the foreign table;</p></li>
  1021. <li><p>display in an optional tool-tip the “display column” when browsing the
  1022. master table, if you move the mouse to a column containing a foreign
  1023. key (use also the ‘table_info’ table); (see <a class="reference internal" href="faq.html#faqdisplay"><span class="std std-ref">6.7 How can I use the “display column” feature?</span></a>)</p></li>
  1024. <li><p>in edit/insert mode, display a drop-down list of possible foreign keys
  1025. (key value and “display column” are shown) (see <a class="reference internal" href="faq.html#faq6-21"><span class="std std-ref">6.21 In edit/insert mode, how can I see a list of possible values for a column, based on some foreign table?</span></a>)</p></li>
  1026. <li><p>display links on the table properties page, to check referential
  1027. integrity (display missing foreign keys) for each described key;</p></li>
  1028. <li><p>in query-by-example, create automatic joins (see <a class="reference internal" href="faq.html#faq6-6"><span class="std std-ref">6.6 How can I use the relation table in Query-by-example?</span></a>)</p></li>
  1029. <li><p>enable you to get a <a class="reference internal" href="glossary.html#term-PDF"><span class="xref std std-term">PDF</span></a> schema of
  1030. your database (also uses the table_coords table).</p></li>
  1031. </ul>
  1032. <p>The keys can be numeric or character.</p>
  1033. <p>To allow the usage of this functionality:</p>
  1034. <ul class="simple">
  1035. <li><p>set up <span class="target" id="index-79"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a> and the phpMyAdmin configuration storage</p></li>
  1036. <li><p>put the relation table name in <span class="target" id="index-80"></span><a class="reference internal" href="#cfg_Servers_relation"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['relation']</span></code></a></p></li>
  1037. <li><p>now as normal user open phpMyAdmin and for each one of your tables
  1038. where you want to use this feature, click <span class="guilabel">Structure/Relation view/</span>
  1039. and choose foreign columns.</p></li>
  1040. </ul>
  1041. <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
  1042. <div class="admonition note">
  1043. <p class="admonition-title">Note</p>
  1044. <p>In the current version, <code class="docutils literal notranslate"><span class="pre">master_db</span></code> must be the same as <code class="docutils literal notranslate"><span class="pre">foreign_db</span></code>.
  1045. Those columns have been put in future development of the cross-db
  1046. relations.</p>
  1047. </div>
  1048. </dd></dl>
  1049. <span class="target" id="table-info"></span><dl class="config option">
  1050. <dt id="cfg_Servers_table_info">
  1051. <code class="sig-name descname">$cfg['Servers'][$i]['table_info']</code><a class="headerlink" href="#cfg_Servers_table_info" title="Permalink to this definition">¶</a></dt>
  1052. <dd><dl class="field-list simple">
  1053. <dt class="field-odd">Type</dt>
  1054. <dd class="field-odd"><p>string or false</p>
  1055. </dd>
  1056. <dt class="field-even">Default value</dt>
  1057. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1058. </dd>
  1059. </dl>
  1060. <p>Since release 2.3.0 you can describe, in a special ‘table_info’
  1061. table, which column is to be displayed as a tool-tip when moving the
  1062. cursor over the corresponding key. This configuration variable will
  1063. hold the name of this special table. To allow the usage of this
  1064. functionality:</p>
  1065. <ul class="simple">
  1066. <li><p>set up <span class="target" id="index-81"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a> and the phpMyAdmin configuration storage</p></li>
  1067. <li><p>put the table name in <span class="target" id="index-82"></span><a class="reference internal" href="#cfg_Servers_table_info"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['table_info']</span></code></a> (e.g.
  1068. <code class="docutils literal notranslate"><span class="pre">pma__table_info</span></code>)</p></li>
  1069. <li><p>then for each table where you want to use this feature, click
  1070. “Structure/Relation view/Choose column to display” to choose the
  1071. column.</p></li>
  1072. </ul>
  1073. <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
  1074. <div class="admonition seealso">
  1075. <p class="admonition-title">See also</p>
  1076. <p><a class="reference internal" href="faq.html#faqdisplay"><span class="std std-ref">6.7 How can I use the “display column” feature?</span></a></p>
  1077. </div>
  1078. </dd></dl>
  1079. <span class="target" id="table-coords"></span><dl class="config option">
  1080. <dt id="cfg_Servers_table_coords">
  1081. <code class="sig-name descname">$cfg['Servers'][$i]['table_coords']</code><a class="headerlink" href="#cfg_Servers_table_coords" title="Permalink to this definition">¶</a></dt>
  1082. <dd><dl class="field-list simple">
  1083. <dt class="field-odd">Type</dt>
  1084. <dd class="field-odd"><p>string or false</p>
  1085. </dd>
  1086. <dt class="field-even">Default value</dt>
  1087. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1088. </dd>
  1089. </dl>
  1090. <p>The designer feature can save your page layout; by pressing the “Save page” or “Save page as”
  1091. button in the expanding designer menu, you can customize the layout and have it loaded the next
  1092. time you use the designer. That layout is stored in this table. Furthermore, this table is also
  1093. required for using the PDF relation export feature, see
  1094. <span class="target" id="index-83"></span><a class="reference internal" href="#cfg_Servers_pdf_pages"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pdf_pages']</span></code></a> for additional details.</p>
  1095. </dd></dl>
  1096. <dl class="config option">
  1097. <dt id="cfg_Servers_pdf_pages">
  1098. <code class="sig-name descname">$cfg['Servers'][$i]['pdf_pages']</code><a class="headerlink" href="#cfg_Servers_pdf_pages" title="Permalink to this definition">¶</a></dt>
  1099. <dd><dl class="field-list simple">
  1100. <dt class="field-odd">Type</dt>
  1101. <dd class="field-odd"><p>string or false</p>
  1102. </dd>
  1103. <dt class="field-even">Default value</dt>
  1104. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1105. </dd>
  1106. </dl>
  1107. <p>Since release 2.3.0 you can have phpMyAdmin create <a class="reference internal" href="glossary.html#term-PDF"><span class="xref std std-term">PDF</span></a> pages
  1108. showing the relations between your tables. Further, the designer interface
  1109. permits visually managing the relations. To do this it needs two tables
  1110. “pdf_pages” (storing information about the available <a class="reference internal" href="glossary.html#term-PDF"><span class="xref std std-term">PDF</span></a> pages)
  1111. and “table_coords” (storing coordinates where each table will be placed on
  1112. a <a class="reference internal" href="glossary.html#term-PDF"><span class="xref std std-term">PDF</span></a> schema output). You must be using the “relation” feature.</p>
  1113. <p>To allow the usage of this functionality:</p>
  1114. <ul class="simple">
  1115. <li><p>set up <span class="target" id="index-84"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a> and the phpMyAdmin configuration storage</p></li>
  1116. <li><p>put the correct table names in
  1117. <span class="target" id="index-85"></span><a class="reference internal" href="#cfg_Servers_table_coords"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['table_coords']</span></code></a> and
  1118. <span class="target" id="index-86"></span><a class="reference internal" href="#cfg_Servers_pdf_pages"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pdf_pages']</span></code></a></p></li>
  1119. </ul>
  1120. <p>This feature can be disabled by setting either of the configurations to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
  1121. <div class="admonition seealso">
  1122. <p class="admonition-title">See also</p>
  1123. <p><a class="reference internal" href="faq.html#faqpdf"><span class="std std-ref">6.8 How can I produce a PDF schema of my database?</span></a>.</p>
  1124. </div>
  1125. </dd></dl>
  1126. <span class="target" id="col-com"></span><dl class="config option">
  1127. <dt id="cfg_Servers_column_info">
  1128. <code class="sig-name descname">$cfg['Servers'][$i]['column_info']</code><a class="headerlink" href="#cfg_Servers_column_info" title="Permalink to this definition">¶</a></dt>
  1129. <dd><dl class="field-list simple">
  1130. <dt class="field-odd">Type</dt>
  1131. <dd class="field-odd"><p>string or false</p>
  1132. </dd>
  1133. <dt class="field-even">Default value</dt>
  1134. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1135. </dd>
  1136. </dl>
  1137. <p>This part requires a content update! Since release 2.3.0 you can
  1138. store comments to describe each column for each table. These will then
  1139. be shown on the “printview”.</p>
  1140. <p>Starting with release 2.5.0, comments are consequently used on the table
  1141. property pages and table browse view, showing up as tool-tips above the
  1142. column name (properties page) or embedded within the header of table in
  1143. browse view. They can also be shown in a table dump. Please see the
  1144. relevant configuration directives later on.</p>
  1145. <p>Also new in release 2.5.0 is a MIME- transformation system which is also
  1146. based on the following table structure. See <a class="reference internal" href="transformations.html#transformations"><span class="std std-ref">Transformations</span></a> for
  1147. further information. To use the MIME- transformation system, your
  1148. column_info table has to have the three new columns ‘mimetype’,
  1149. ‘transformation’, ‘transformation_options’.</p>
  1150. <p>Starting with release 4.3.0, a new input-oriented transformation system
  1151. has been introduced. Also, backward compatibility code used in the old
  1152. transformations system was removed. As a result, an update to column_info
  1153. table is necessary for previous transformations and the new input-oriented
  1154. transformation system to work. phpMyAdmin will upgrade it automatically
  1155. for you by analyzing your current column_info table structure.
  1156. However, if something goes wrong with the auto-upgrade then you can
  1157. use the SQL script found in <code class="docutils literal notranslate"><span class="pre">./sql/upgrade_column_info_4_3_0+.sql</span></code>
  1158. to upgrade it manually.</p>
  1159. <p>To allow the usage of this functionality:</p>
  1160. <ul>
  1161. <li><p>set up <span class="target" id="index-87"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a> and the phpMyAdmin configuration storage</p></li>
  1162. <li><p>put the table name in <span class="target" id="index-88"></span><a class="reference internal" href="#cfg_Servers_column_info"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['column_info']</span></code></a> (e.g.
  1163. <code class="docutils literal notranslate"><span class="pre">pma__column_info</span></code>)</p></li>
  1164. <li><p>to update your PRE-2.5.0 Column_comments table use this: and
  1165. remember that the Variable in <code class="file docutils literal notranslate"><span class="pre">config.inc.php</span></code> has been renamed from
  1166. <code class="samp docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['column_comments']</span></code> to
  1167. <span class="target" id="index-89"></span><a class="reference internal" href="#cfg_Servers_column_info"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['column_info']</span></code></a></p>
  1168. <div class="highlight-mysql notranslate"><div class="highlight"><pre><span></span><span class="k">ALTER</span> <span class="k">TABLE</span> <span class="n">`pma__column_comments`</span>
  1169. <span class="k">ADD</span> <span class="n">`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>
  1170. <span class="k">ADD</span> <span class="n">`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>
  1171. <span class="k">ADD</span> <span class="n">`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>
  1172. </pre></div>
  1173. </div>
  1174. </li>
  1175. <li><p>to update your PRE-4.3.0 Column_info table manually use this
  1176. <code class="docutils literal notranslate"><span class="pre">./sql/upgrade_column_info_4_3_0+.sql</span></code> SQL script.</p></li>
  1177. </ul>
  1178. <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
  1179. <div class="admonition note">
  1180. <p class="admonition-title">Note</p>
  1181. <p>For auto-upgrade functionality to work, your
  1182. <span class="target" id="index-90"></span><a class="reference internal" href="#cfg_Servers_controluser"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['controluser']</span></code></a> must have ALTER privilege on
  1183. <code class="docutils literal notranslate"><span class="pre">phpmyadmin</span></code> database. See the <a class="reference external" href="https://dev.mysql.com/doc/refman/5.7/en/grant.html">MySQL documentation for GRANT</a> on how to
  1184. <code class="docutils literal notranslate"><span class="pre">GRANT</span></code> privileges to a user.</p>
  1185. </div>
  1186. </dd></dl>
  1187. <span class="target" id="history"></span><dl class="config option">
  1188. <dt id="cfg_Servers_history">
  1189. <code class="sig-name descname">$cfg['Servers'][$i]['history']</code><a class="headerlink" href="#cfg_Servers_history" title="Permalink to this definition">¶</a></dt>
  1190. <dd><dl class="field-list simple">
  1191. <dt class="field-odd">Type</dt>
  1192. <dd class="field-odd"><p>string or false</p>
  1193. </dd>
  1194. <dt class="field-even">Default value</dt>
  1195. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1196. </dd>
  1197. </dl>
  1198. <p>Since release 2.5.0 you can store your <a class="reference internal" href="glossary.html#term-SQL"><span class="xref std std-term">SQL</span></a> history, which means all
  1199. queries you entered manually into the phpMyAdmin interface. If you don’t
  1200. want to use a table-based history, you can use the JavaScript-based
  1201. history.</p>
  1202. <p>Using that, all your history items are deleted when closing the window.
  1203. Using <span class="target" id="index-91"></span><a class="reference internal" href="#cfg_QueryHistoryMax"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['QueryHistoryMax']</span></code></a> you can specify an amount of
  1204. history items you want to have on hold. On every login, this list gets cut
  1205. to the maximum amount.</p>
  1206. <p>The query history is only available if JavaScript is enabled in
  1207. your browser.</p>
  1208. <p>To allow the usage of this functionality:</p>
  1209. <ul class="simple">
  1210. <li><p>set up <span class="target" id="index-92"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a> and the phpMyAdmin configuration storage</p></li>
  1211. <li><p>put the table name in <span class="target" id="index-93"></span><a class="reference internal" href="#cfg_Servers_history"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['history']</span></code></a> (e.g.
  1212. <code class="docutils literal notranslate"><span class="pre">pma__history</span></code>)</p></li>
  1213. </ul>
  1214. <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
  1215. </dd></dl>
  1216. <span class="target" id="recent"></span><dl class="config option">
  1217. <dt id="cfg_Servers_recent">
  1218. <code class="sig-name descname">$cfg['Servers'][$i]['recent']</code><a class="headerlink" href="#cfg_Servers_recent" title="Permalink to this definition">¶</a></dt>
  1219. <dd><dl class="field-list simple">
  1220. <dt class="field-odd">Type</dt>
  1221. <dd class="field-odd"><p>string or false</p>
  1222. </dd>
  1223. <dt class="field-even">Default value</dt>
  1224. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1225. </dd>
  1226. </dl>
  1227. <p>Since release 3.5.0 you can show recently used tables in the
  1228. navigation panel. It helps you to jump across table directly, without
  1229. the need to select the database, and then select the table. Using
  1230. <span class="target" id="index-94"></span><a class="reference internal" href="#cfg_NumRecentTables"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['NumRecentTables']</span></code></a> you can configure the maximum number
  1231. of recent tables shown. When you select a table from the list, it will jump to
  1232. the page specified in <span class="target" id="index-95"></span><a class="reference internal" href="#cfg_NavigationTreeDefaultTabTable"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['NavigationTreeDefaultTabTable']</span></code></a>.</p>
  1233. <p>Without configuring the storage, you can still access the recently used tables,
  1234. but it will disappear after you logout.</p>
  1235. <p>To allow the usage of this functionality persistently:</p>
  1236. <ul class="simple">
  1237. <li><p>set up <span class="target" id="index-96"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a> and the phpMyAdmin configuration storage</p></li>
  1238. <li><p>put the table name in <span class="target" id="index-97"></span><a class="reference internal" href="#cfg_Servers_recent"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['recent']</span></code></a> (e.g.
  1239. <code class="docutils literal notranslate"><span class="pre">pma__recent</span></code>)</p></li>
  1240. </ul>
  1241. <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
  1242. </dd></dl>
  1243. <span class="target" id="favorite"></span><dl class="config option">
  1244. <dt id="cfg_Servers_favorite">
  1245. <code class="sig-name descname">$cfg['Servers'][$i]['favorite']</code><a class="headerlink" href="#cfg_Servers_favorite" title="Permalink to this definition">¶</a></dt>
  1246. <dd><dl class="field-list simple">
  1247. <dt class="field-odd">Type</dt>
  1248. <dd class="field-odd"><p>string or false</p>
  1249. </dd>
  1250. <dt class="field-even">Default value</dt>
  1251. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1252. </dd>
  1253. </dl>
  1254. <p>Since release 4.2.0 you can show a list of selected tables in the
  1255. navigation panel. It helps you to jump to the table directly, without
  1256. the need to select the database, and then select the table. When you
  1257. select a table from the list, it will jump to the page specified in
  1258. <span class="target" id="index-98"></span><a class="reference internal" href="#cfg_NavigationTreeDefaultTabTable"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['NavigationTreeDefaultTabTable']</span></code></a>.</p>
  1259. <p>You can add tables to this list or remove tables from it in database
  1260. structure page by clicking on the star icons next to table names. Using
  1261. <span class="target" id="index-99"></span><a class="reference internal" href="#cfg_NumFavoriteTables"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['NumFavoriteTables']</span></code></a> you can configure the maximum
  1262. number of favorite tables shown.</p>
  1263. <p>Without configuring the storage, you can still access the favorite tables,
  1264. but it will disappear after you logout.</p>
  1265. <p>To allow the usage of this functionality persistently:</p>
  1266. <ul class="simple">
  1267. <li><p>set up <span class="target" id="index-100"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a> and the phpMyAdmin configuration storage</p></li>
  1268. <li><p>put the table name in <span class="target" id="index-101"></span><a class="reference internal" href="#cfg_Servers_favorite"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['favorite']</span></code></a> (e.g.
  1269. <code class="docutils literal notranslate"><span class="pre">pma__favorite</span></code>)</p></li>
  1270. </ul>
  1271. <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
  1272. </dd></dl>
  1273. <span class="target" id="table-uiprefs"></span><dl class="config option">
  1274. <dt id="cfg_Servers_table_uiprefs">
  1275. <code class="sig-name descname">$cfg['Servers'][$i]['table_uiprefs']</code><a class="headerlink" href="#cfg_Servers_table_uiprefs" title="Permalink to this definition">¶</a></dt>
  1276. <dd><dl class="field-list simple">
  1277. <dt class="field-odd">Type</dt>
  1278. <dd class="field-odd"><p>string or false</p>
  1279. </dd>
  1280. <dt class="field-even">Default value</dt>
  1281. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1282. </dd>
  1283. </dl>
  1284. <p>Since release 3.5.0 phpMyAdmin can be configured to remember several
  1285. things (sorted column <span class="target" id="index-102"></span><a class="reference internal" href="#cfg_RememberSorting"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['RememberSorting']</span></code></a>, column order,
  1286. and column visibility from a database table) for browsing tables. Without
  1287. configuring the storage, these features still can be used, but the values will
  1288. disappear after you logout.</p>
  1289. <p>To allow the usage of these functionality persistently:</p>
  1290. <ul class="simple">
  1291. <li><p>set up <span class="target" id="index-103"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a> and the phpMyAdmin configuration storage</p></li>
  1292. <li><p>put the table name in <span class="target" id="index-104"></span><a class="reference internal" href="#cfg_Servers_table_uiprefs"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['table_uiprefs']</span></code></a> (e.g.
  1293. <code class="docutils literal notranslate"><span class="pre">pma__table_uiprefs</span></code>)</p></li>
  1294. </ul>
  1295. <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
  1296. </dd></dl>
  1297. <dl class="config option">
  1298. <dt id="cfg_Servers_users">
  1299. <code class="sig-name descname">$cfg['Servers'][$i]['users']</code><a class="headerlink" href="#cfg_Servers_users" title="Permalink to this definition">¶</a></dt>
  1300. <dd><dl class="field-list simple">
  1301. <dt class="field-odd">Type</dt>
  1302. <dd class="field-odd"><p>string or false</p>
  1303. </dd>
  1304. <dt class="field-even">Default value</dt>
  1305. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1306. </dd>
  1307. </dl>
  1308. </dd></dl>
  1309. <dl class="config option">
  1310. <dt id="cfg_Servers_usergroups">
  1311. <code class="sig-name descname">$cfg['Servers'][$i]['usergroups']</code><a class="headerlink" href="#cfg_Servers_usergroups" title="Permalink to this definition">¶</a></dt>
  1312. <dd><dl class="field-list simple">
  1313. <dt class="field-odd">Type</dt>
  1314. <dd class="field-odd"><p>string or false</p>
  1315. </dd>
  1316. <dt class="field-even">Default value</dt>
  1317. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1318. </dd>
  1319. </dl>
  1320. <p>Since release 4.1.0 you can create different user groups with menu items
  1321. attached to them. Users can be assigned to these groups and the logged in
  1322. user would only see menu items configured to the usergroup he is assigned to.
  1323. To do this it needs two tables “usergroups” (storing allowed menu items for each
  1324. user group) and “users” (storing users and their assignments to user groups).</p>
  1325. <p>To allow the usage of this functionality:</p>
  1326. <ul class="simple">
  1327. <li><p>set up <span class="target" id="index-105"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a> and the phpMyAdmin configuration storage</p></li>
  1328. <li><p>put the correct table names in
  1329. <span class="target" id="index-106"></span><a class="reference internal" href="#cfg_Servers_users"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['users']</span></code></a> (e.g. <code class="docutils literal notranslate"><span class="pre">pma__users</span></code>) and
  1330. <span class="target" id="index-107"></span><a class="reference internal" href="#cfg_Servers_usergroups"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['usergroups']</span></code></a> (e.g. <code class="docutils literal notranslate"><span class="pre">pma__usergroups</span></code>)</p></li>
  1331. </ul>
  1332. <p>This feature can be disabled by setting either of the configurations to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
  1333. <div class="admonition seealso">
  1334. <p class="admonition-title">See also</p>
  1335. <p><a class="reference internal" href="privileges.html#configurablemenus"><span class="std std-ref">Configurable menus and user groups</span></a></p>
  1336. </div>
  1337. </dd></dl>
  1338. <span class="target" id="navigationhiding"></span><dl class="config option">
  1339. <dt id="cfg_Servers_navigationhiding">
  1340. <code class="sig-name descname">$cfg['Servers'][$i]['navigationhiding']</code><a class="headerlink" href="#cfg_Servers_navigationhiding" title="Permalink to this definition">¶</a></dt>
  1341. <dd><dl class="field-list simple">
  1342. <dt class="field-odd">Type</dt>
  1343. <dd class="field-odd"><p>string or false</p>
  1344. </dd>
  1345. <dt class="field-even">Default value</dt>
  1346. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1347. </dd>
  1348. </dl>
  1349. <p>Since release 4.1.0 you can hide/show items in the navigation tree.</p>
  1350. <p>To allow the usage of this functionality:</p>
  1351. <ul class="simple">
  1352. <li><p>set up <span class="target" id="index-108"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a> and the phpMyAdmin configuration storage</p></li>
  1353. <li><p>put the table name in <span class="target" id="index-109"></span><a class="reference internal" href="#cfg_Servers_navigationhiding"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['navigationhiding']</span></code></a> (e.g.
  1354. <code class="docutils literal notranslate"><span class="pre">pma__navigationhiding</span></code>)</p></li>
  1355. </ul>
  1356. <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
  1357. </dd></dl>
  1358. <span class="target" id="central-columns"></span><dl class="config option">
  1359. <dt id="cfg_Servers_central_columns">
  1360. <code class="sig-name descname">$cfg['Servers'][$i]['central_columns']</code><a class="headerlink" href="#cfg_Servers_central_columns" title="Permalink to this definition">¶</a></dt>
  1361. <dd><dl class="field-list simple">
  1362. <dt class="field-odd">Type</dt>
  1363. <dd class="field-odd"><p>string or false</p>
  1364. </dd>
  1365. <dt class="field-even">Default value</dt>
  1366. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1367. </dd>
  1368. </dl>
  1369. <p>Since release 4.3.0 you can have a central list of columns per database.
  1370. You can add/remove columns to the list as per your requirement. These columns
  1371. in the central list will be available to use while you create a new column for
  1372. a table or create a table itself. You can select a column from central list
  1373. while creating a new column, it will save you from writing the same column definition
  1374. over again or from writing different names for similar column.</p>
  1375. <p>To allow the usage of this functionality:</p>
  1376. <ul class="simple">
  1377. <li><p>set up <span class="target" id="index-110"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a> and the phpMyAdmin configuration storage</p></li>
  1378. <li><p>put the table name in <span class="target" id="index-111"></span><a class="reference internal" href="#cfg_Servers_central_columns"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['central_columns']</span></code></a> (e.g.
  1379. <code class="docutils literal notranslate"><span class="pre">pma__central_columns</span></code>)</p></li>
  1380. </ul>
  1381. <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
  1382. </dd></dl>
  1383. <span class="target" id="designer-settings"></span><dl class="config option">
  1384. <dt id="cfg_Servers_designer_settings">
  1385. <code class="sig-name descname">$cfg['Servers'][$i]['designer_settings']</code><a class="headerlink" href="#cfg_Servers_designer_settings" title="Permalink to this definition">¶</a></dt>
  1386. <dd><dl class="field-list simple">
  1387. <dt class="field-odd">Type</dt>
  1388. <dd class="field-odd"><p>string or false</p>
  1389. </dd>
  1390. <dt class="field-even">Default value</dt>
  1391. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1392. </dd>
  1393. </dl>
  1394. <p>Since release 4.5.0 your designer settings can be remembered.
  1395. Your choice regarding ‘Angular/Direct Links’, ‘Snap to Grid’, ‘Toggle Relation Lines’,
  1396. ‘Small/Big All’, ‘Move Menu’ and ‘Pin Text’ can be remembered persistently.</p>
  1397. <p>To allow the usage of this functionality:</p>
  1398. <ul class="simple">
  1399. <li><p>set up <span class="target" id="index-112"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a> and the phpMyAdmin configuration storage</p></li>
  1400. <li><p>put the table name in <span class="target" id="index-113"></span><a class="reference internal" href="#cfg_Servers_designer_settings"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['designer_settings']</span></code></a> (e.g.
  1401. <code class="docutils literal notranslate"><span class="pre">pma__designer_settings</span></code>)</p></li>
  1402. </ul>
  1403. <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
  1404. </dd></dl>
  1405. <span class="target" id="savedsearches"></span><dl class="config option">
  1406. <dt id="cfg_Servers_savedsearches">
  1407. <code class="sig-name descname">$cfg['Servers'][$i]['savedsearches']</code><a class="headerlink" href="#cfg_Servers_savedsearches" title="Permalink to this definition">¶</a></dt>
  1408. <dd><dl class="field-list simple">
  1409. <dt class="field-odd">Type</dt>
  1410. <dd class="field-odd"><p>string or false</p>
  1411. </dd>
  1412. <dt class="field-even">Default value</dt>
  1413. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1414. </dd>
  1415. </dl>
  1416. <p>Since release 4.2.0 you can save and load query-by-example searches from the Database &gt; Query panel.</p>
  1417. <p>To allow the usage of this functionality:</p>
  1418. <ul class="simple">
  1419. <li><p>set up <span class="target" id="index-114"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a> and the phpMyAdmin configuration storage</p></li>
  1420. <li><p>put the table name in <span class="target" id="index-115"></span><a class="reference internal" href="#cfg_Servers_savedsearches"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['savedsearches']</span></code></a> (e.g.
  1421. <code class="docutils literal notranslate"><span class="pre">pma__savedsearches</span></code>)</p></li>
  1422. </ul>
  1423. <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
  1424. </dd></dl>
  1425. <span class="target" id="export-templates"></span><dl class="config option">
  1426. <dt id="cfg_Servers_export_templates">
  1427. <code class="sig-name descname">$cfg['Servers'][$i]['export_templates']</code><a class="headerlink" href="#cfg_Servers_export_templates" title="Permalink to this definition">¶</a></dt>
  1428. <dd><dl class="field-list simple">
  1429. <dt class="field-odd">Type</dt>
  1430. <dd class="field-odd"><p>string or false</p>
  1431. </dd>
  1432. <dt class="field-even">Default value</dt>
  1433. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1434. </dd>
  1435. </dl>
  1436. <p>Since release 4.5.0 you can save and load export templates.</p>
  1437. <p>To allow the usage of this functionality:</p>
  1438. <ul class="simple">
  1439. <li><p>set up <span class="target" id="index-116"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a> and the phpMyAdmin configuration storage</p></li>
  1440. <li><p>put the table name in <span class="target" id="index-117"></span><a class="reference internal" href="#cfg_Servers_export_templates"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['export_templates']</span></code></a> (e.g.
  1441. <code class="docutils literal notranslate"><span class="pre">pma__export_templates</span></code>)</p></li>
  1442. </ul>
  1443. <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
  1444. </dd></dl>
  1445. <span class="target" id="tracking"></span><dl class="config option">
  1446. <dt id="cfg_Servers_tracking">
  1447. <code class="sig-name descname">$cfg['Servers'][$i]['tracking']</code><a class="headerlink" href="#cfg_Servers_tracking" title="Permalink to this definition">¶</a></dt>
  1448. <dd><dl class="field-list simple">
  1449. <dt class="field-odd">Type</dt>
  1450. <dd class="field-odd"><p>string or false</p>
  1451. </dd>
  1452. <dt class="field-even">Default value</dt>
  1453. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1454. </dd>
  1455. </dl>
  1456. <p>Since release 3.3.x a tracking mechanism is available. It helps you to
  1457. track every <a class="reference internal" href="glossary.html#term-SQL"><span class="xref std std-term">SQL</span></a> command which is
  1458. executed by phpMyAdmin. The mechanism supports logging of data
  1459. manipulation and data definition statements. After enabling it you can
  1460. create versions of tables.</p>
  1461. <p>The creation of a version has two effects:</p>
  1462. <ul class="simple">
  1463. <li><p>phpMyAdmin saves a snapshot of the table, including structure and
  1464. indexes.</p></li>
  1465. <li><p>phpMyAdmin logs all commands which change the structure and/or data of
  1466. the table and links these commands with the version number.</p></li>
  1467. </ul>
  1468. <p>Of course you can view the tracked changes. On the <span class="guilabel">Tracking</span>
  1469. page a complete report is available for every version. For the report you
  1470. can use filters, for example you can get a list of statements within a date
  1471. range. When you want to filter usernames you can enter * for all names or
  1472. you enter a list of names separated by ‘,’. In addition you can export the
  1473. (filtered) report to a file or to a temporary database.</p>
  1474. <p>To allow the usage of this functionality:</p>
  1475. <ul class="simple">
  1476. <li><p>set up <span class="target" id="index-118"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a> and the phpMyAdmin configuration storage</p></li>
  1477. <li><p>put the table name in <span class="target" id="index-119"></span><a class="reference internal" href="#cfg_Servers_tracking"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['tracking']</span></code></a> (e.g.
  1478. <code class="docutils literal notranslate"><span class="pre">pma__tracking</span></code>)</p></li>
  1479. </ul>
  1480. <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
  1481. </dd></dl>
  1482. <span class="target" id="tracking2"></span><dl class="config option">
  1483. <dt id="cfg_Servers_tracking_version_auto_create">
  1484. <code class="sig-name descname">$cfg['Servers'][$i]['tracking_version_auto_create']</code><a class="headerlink" href="#cfg_Servers_tracking_version_auto_create" title="Permalink to this definition">¶</a></dt>
  1485. <dd><dl class="field-list simple">
  1486. <dt class="field-odd">Type</dt>
  1487. <dd class="field-odd"><p>boolean</p>
  1488. </dd>
  1489. <dt class="field-even">Default value</dt>
  1490. <dd class="field-even"><p>false</p>
  1491. </dd>
  1492. </dl>
  1493. <p>Whether the tracking mechanism creates versions for tables and views
  1494. automatically.</p>
  1495. <p>If this is set to true and you create a table or view with</p>
  1496. <ul class="simple">
  1497. <li><p>CREATE TABLE …</p></li>
  1498. <li><p>CREATE VIEW …</p></li>
  1499. </ul>
  1500. <p>and no version exists for it, the mechanism will create a version for
  1501. you automatically.</p>
  1502. </dd></dl>
  1503. <span class="target" id="tracking3"></span><dl class="config option">
  1504. <dt id="cfg_Servers_tracking_default_statements">
  1505. <code class="sig-name descname">$cfg['Servers'][$i]['tracking_default_statements']</code><a class="headerlink" href="#cfg_Servers_tracking_default_statements" title="Permalink to this definition">¶</a></dt>
  1506. <dd><dl class="field-list simple">
  1507. <dt class="field-odd">Type</dt>
  1508. <dd class="field-odd"><p>string</p>
  1509. </dd>
  1510. <dt class="field-even">Default value</dt>
  1511. <dd class="field-even"><p><code class="docutils literal notranslate"><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></code></p>
  1512. </dd>
  1513. </dl>
  1514. <p>Defines the list of statements the auto-creation uses for new
  1515. versions.</p>
  1516. </dd></dl>
  1517. <span class="target" id="tracking4"></span><dl class="config option">
  1518. <dt id="cfg_Servers_tracking_add_drop_view">
  1519. <code class="sig-name descname">$cfg['Servers'][$i]['tracking_add_drop_view']</code><a class="headerlink" href="#cfg_Servers_tracking_add_drop_view" title="Permalink to this definition">¶</a></dt>
  1520. <dd><dl class="field-list simple">
  1521. <dt class="field-odd">Type</dt>
  1522. <dd class="field-odd"><p>boolean</p>
  1523. </dd>
  1524. <dt class="field-even">Default value</dt>
  1525. <dd class="field-even"><p>true</p>
  1526. </dd>
  1527. </dl>
  1528. <p>Whether a DROP VIEW IF EXISTS statement will be added as first line to
  1529. the log when creating a view.</p>
  1530. </dd></dl>
  1531. <span class="target" id="tracking5"></span><dl class="config option">
  1532. <dt id="cfg_Servers_tracking_add_drop_table">
  1533. <code class="sig-name descname">$cfg['Servers'][$i]['tracking_add_drop_table']</code><a class="headerlink" href="#cfg_Servers_tracking_add_drop_table" title="Permalink to this definition">¶</a></dt>
  1534. <dd><dl class="field-list simple">
  1535. <dt class="field-odd">Type</dt>
  1536. <dd class="field-odd"><p>boolean</p>
  1537. </dd>
  1538. <dt class="field-even">Default value</dt>
  1539. <dd class="field-even"><p>true</p>
  1540. </dd>
  1541. </dl>
  1542. <p>Whether a DROP TABLE IF EXISTS statement will be added as first line
  1543. to the log when creating a table.</p>
  1544. </dd></dl>
  1545. <span class="target" id="tracking6"></span><dl class="config option">
  1546. <dt id="cfg_Servers_tracking_add_drop_database">
  1547. <code class="sig-name descname">$cfg['Servers'][$i]['tracking_add_drop_database']</code><a class="headerlink" href="#cfg_Servers_tracking_add_drop_database" title="Permalink to this definition">¶</a></dt>
  1548. <dd><dl class="field-list simple">
  1549. <dt class="field-odd">Type</dt>
  1550. <dd class="field-odd"><p>boolean</p>
  1551. </dd>
  1552. <dt class="field-even">Default value</dt>
  1553. <dd class="field-even"><p>true</p>
  1554. </dd>
  1555. </dl>
  1556. <p>Whether a DROP DATABASE IF EXISTS statement will be added as first
  1557. line to the log when creating a database.</p>
  1558. </dd></dl>
  1559. <span class="target" id="userconfig"></span><dl class="config option">
  1560. <dt id="cfg_Servers_userconfig">
  1561. <code class="sig-name descname">$cfg['Servers'][$i]['userconfig']</code><a class="headerlink" href="#cfg_Servers_userconfig" title="Permalink to this definition">¶</a></dt>
  1562. <dd><dl class="field-list simple">
  1563. <dt class="field-odd">Type</dt>
  1564. <dd class="field-odd"><p>string or false</p>
  1565. </dd>
  1566. <dt class="field-even">Default value</dt>
  1567. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1568. </dd>
  1569. </dl>
  1570. <p>Since release 3.4.x phpMyAdmin allows users to set most preferences by
  1571. themselves and store them in the database.</p>
  1572. <p>If you don’t allow for storing preferences in
  1573. <span class="target" id="index-120"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a>, users can still personalize
  1574. phpMyAdmin, but settings will be saved in browser’s local storage, or, it
  1575. is is unavailable, until the end of session.</p>
  1576. <p>To allow the usage of this functionality:</p>
  1577. <ul class="simple">
  1578. <li><p>set up <span class="target" id="index-121"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a> and the phpMyAdmin configuration storage</p></li>
  1579. <li><p>put the table name in <span class="target" id="index-122"></span><a class="reference internal" href="#cfg_Servers_userconfig"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['userconfig']</span></code></a></p></li>
  1580. </ul>
  1581. <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
  1582. </dd></dl>
  1583. <dl class="config option">
  1584. <dt id="cfg_Servers_MaxTableUiprefs">
  1585. <code class="sig-name descname">$cfg['Servers'][$i]['MaxTableUiprefs']</code><a class="headerlink" href="#cfg_Servers_MaxTableUiprefs" title="Permalink to this definition">¶</a></dt>
  1586. <dd><dl class="field-list simple">
  1587. <dt class="field-odd">Type</dt>
  1588. <dd class="field-odd"><p>integer</p>
  1589. </dd>
  1590. <dt class="field-even">Default value</dt>
  1591. <dd class="field-even"><p>100</p>
  1592. </dd>
  1593. </dl>
  1594. <p>Maximum number of rows saved in
  1595. <span class="target" id="index-123"></span><a class="reference internal" href="#cfg_Servers_table_uiprefs"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['table_uiprefs']</span></code></a> table.</p>
  1596. <p>When tables are dropped or renamed,
  1597. <span class="target" id="index-124"></span><a class="reference internal" href="#cfg_Servers_table_uiprefs"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['table_uiprefs']</span></code></a> may contain invalid data
  1598. (referring to tables which no longer exist). We only keep this number of newest
  1599. rows in <span class="target" id="index-125"></span><a class="reference internal" href="#cfg_Servers_table_uiprefs"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['table_uiprefs']</span></code></a> and automatically
  1600. delete older rows.</p>
  1601. </dd></dl>
  1602. <dl class="config option">
  1603. <dt id="cfg_Servers_SessionTimeZone">
  1604. <code class="sig-name descname">$cfg['Servers'][$i]['SessionTimeZone']</code><a class="headerlink" href="#cfg_Servers_SessionTimeZone" title="Permalink to this definition">¶</a></dt>
  1605. <dd><dl class="field-list simple">
  1606. <dt class="field-odd">Type</dt>
  1607. <dd class="field-odd"><p>string</p>
  1608. </dd>
  1609. <dt class="field-even">Default value</dt>
  1610. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1611. </dd>
  1612. </dl>
  1613. <p>Sets the time zone used by phpMyAdmin. Leave blank to use the time zone of your
  1614. database server. Possible values are explained at
  1615. <a class="reference external" href="https://dev.mysql.com/doc/refman/5.7/en/time-zone-support.html">https://dev.mysql.com/doc/refman/5.7/en/time-zone-support.html</a></p>
  1616. <p>This is useful when your database server uses a time zone which is different from the
  1617. time zone you want to use in phpMyAdmin.</p>
  1618. </dd></dl>
  1619. <dl class="config option">
  1620. <dt id="cfg_Servers_AllowRoot">
  1621. <code class="sig-name descname">$cfg['Servers'][$i]['AllowRoot']</code><a class="headerlink" href="#cfg_Servers_AllowRoot" title="Permalink to this definition">¶</a></dt>
  1622. <dd><dl class="field-list simple">
  1623. <dt class="field-odd">Type</dt>
  1624. <dd class="field-odd"><p>boolean</p>
  1625. </dd>
  1626. <dt class="field-even">Default value</dt>
  1627. <dd class="field-even"><p>true</p>
  1628. </dd>
  1629. </dl>
  1630. <p>Whether to allow root access. This is just a shortcut for the
  1631. <span class="target" id="index-126"></span><a class="reference internal" href="#cfg_Servers_AllowDeny_rules"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['AllowDeny']['rules']</span></code></a> below.</p>
  1632. </dd></dl>
  1633. <dl class="config option">
  1634. <dt id="cfg_Servers_AllowNoPassword">
  1635. <code class="sig-name descname">$cfg['Servers'][$i]['AllowNoPassword']</code><a class="headerlink" href="#cfg_Servers_AllowNoPassword" title="Permalink to this definition">¶</a></dt>
  1636. <dd><dl class="field-list simple">
  1637. <dt class="field-odd">Type</dt>
  1638. <dd class="field-odd"><p>boolean</p>
  1639. </dd>
  1640. <dt class="field-even">Default value</dt>
  1641. <dd class="field-even"><p>false</p>
  1642. </dd>
  1643. </dl>
  1644. <p>Whether to allow logins without a password. The default value of
  1645. <code class="docutils literal notranslate"><span class="pre">false</span></code> for this parameter prevents unintended access to a MySQL
  1646. server with was left with an empty password for root or on which an
  1647. anonymous (blank) user is defined.</p>
  1648. </dd></dl>
  1649. <span class="target" id="servers-allowdeny-order"></span><dl class="config option">
  1650. <dt id="cfg_Servers_AllowDeny_order">
  1651. <code class="sig-name descname">$cfg['Servers'][$i]['AllowDeny']['order']</code><a class="headerlink" href="#cfg_Servers_AllowDeny_order" title="Permalink to this definition">¶</a></dt>
  1652. <dd><dl class="field-list simple">
  1653. <dt class="field-odd">Type</dt>
  1654. <dd class="field-odd"><p>string</p>
  1655. </dd>
  1656. <dt class="field-even">Default value</dt>
  1657. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1658. </dd>
  1659. </dl>
  1660. <p>If your rule order is empty, then <a class="reference internal" href="glossary.html#term-IP"><span class="xref std std-term">IP</span></a>
  1661. authorization is disabled.</p>
  1662. <p>If your rule order is set to
  1663. <code class="docutils literal notranslate"><span class="pre">'deny,allow'</span></code> then the system applies all deny rules followed by
  1664. allow rules. Access is allowed by default. Any client which does not
  1665. match a Deny command or does match an Allow command will be allowed
  1666. access to the server.</p>
  1667. <p>If your rule order is set to <code class="docutils literal notranslate"><span class="pre">'allow,deny'</span></code>
  1668. then the system applies all allow rules followed by deny rules. Access
  1669. is denied by default. Any client which does not match an Allow
  1670. directive or does match a Deny directive will be denied access to the
  1671. server.</p>
  1672. <p>If your rule order is set to <code class="docutils literal notranslate"><span class="pre">'explicit'</span></code>, authorization is
  1673. performed in a similar fashion to rule order ‘deny,allow’, with the
  1674. added restriction that your host/username combination <strong>must</strong> be
  1675. listed in the <em>allow</em> rules, and not listed in the <em>deny</em> rules. This
  1676. is the <strong>most</strong> secure means of using Allow/Deny rules, and was
  1677. available in Apache by specifying allow and deny rules without setting
  1678. any order.</p>
  1679. <p>Please also see <span class="target" id="index-127"></span><a class="reference internal" href="#cfg_TrustedProxies"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['TrustedProxies']</span></code></a> for
  1680. detecting IP address behind proxies.</p>
  1681. </dd></dl>
  1682. <span class="target" id="servers-allowdeny-rules"></span><dl class="config option">
  1683. <dt id="cfg_Servers_AllowDeny_rules">
  1684. <code class="sig-name descname">$cfg['Servers'][$i]['AllowDeny']['rules']</code><a class="headerlink" href="#cfg_Servers_AllowDeny_rules" title="Permalink to this definition">¶</a></dt>
  1685. <dd><dl class="field-list simple">
  1686. <dt class="field-odd">Type</dt>
  1687. <dd class="field-odd"><p>array of strings</p>
  1688. </dd>
  1689. <dt class="field-even">Default value</dt>
  1690. <dd class="field-even"><p>array()</p>
  1691. </dd>
  1692. </dl>
  1693. <p>The general format for the rules is as such:</p>
  1694. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>&lt;&#39;allow&#39; | &#39;deny&#39;&gt; &lt;username&gt; [from] &lt;ipmask&gt;
  1695. </pre></div>
  1696. </div>
  1697. <p>If you wish to match all users, it is possible to use a <code class="docutils literal notranslate"><span class="pre">'%'</span></code> as a
  1698. wildcard in the <em>username</em> field.</p>
  1699. <p>There are a few shortcuts you can
  1700. use in the <em>ipmask</em> field as well (please note that those containing
  1701. SERVER_ADDRESS might not be available on all webservers):</p>
  1702. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>&#39;all&#39; -&gt; 0.0.0.0/0
  1703. &#39;localhost&#39; -&gt; 127.0.0.1/8
  1704. &#39;localnetA&#39; -&gt; SERVER_ADDRESS/8
  1705. &#39;localnetB&#39; -&gt; SERVER_ADDRESS/16
  1706. &#39;localnetC&#39; -&gt; SERVER_ADDRESS/24
  1707. </pre></div>
  1708. </div>
  1709. <p>Having an empty rule list is equivalent to either using <code class="docutils literal notranslate"><span class="pre">'allow</span> <span class="pre">%</span>
  1710. <span class="pre">from</span> <span class="pre">all'</span></code> if your rule order is set to <code class="docutils literal notranslate"><span class="pre">'deny,allow'</span></code> or <code class="docutils literal notranslate"><span class="pre">'deny</span> <span class="pre">%</span>
  1711. <span class="pre">from</span> <span class="pre">all'</span></code> if your rule order is set to <code class="docutils literal notranslate"><span class="pre">'allow,deny'</span></code> or
  1712. <code class="docutils literal notranslate"><span class="pre">'explicit'</span></code>.</p>
  1713. <p>For the <a class="reference internal" href="glossary.html#term-IP-Address"><span class="xref std std-term">IP address</span></a> matching
  1714. system, the following work:</p>
  1715. <ul class="simple">
  1716. <li><p><code class="docutils literal notranslate"><span class="pre">xxx.xxx.xxx.xxx</span></code> (an exact <a class="reference internal" href="glossary.html#term-IP-Address"><span class="xref std std-term">IP address</span></a>)</p></li>
  1717. <li><p><code class="docutils literal notranslate"><span class="pre">xxx.xxx.xxx.[yyy-zzz]</span></code> (an <a class="reference internal" href="glossary.html#term-IP-Address"><span class="xref std std-term">IP address</span></a> range)</p></li>
  1718. <li><p><code class="docutils literal notranslate"><span class="pre">xxx.xxx.xxx.xxx/nn</span></code> (CIDR, Classless Inter-Domain Routing type <a class="reference internal" href="glossary.html#term-IP"><span class="xref std std-term">IP</span></a> addresses)</p></li>
  1719. </ul>
  1720. <p>But the following does not work:</p>
  1721. <ul class="simple">
  1722. <li><p><code class="docutils literal notranslate"><span class="pre">xxx.xxx.xxx.xx[yyy-zzz]</span></code> (partial <a class="reference internal" href="glossary.html#term-IP"><span class="xref std std-term">IP</span></a> address range)</p></li>
  1723. </ul>
  1724. <p>For <a class="reference internal" href="glossary.html#term-IPv6"><span class="xref std std-term">IPv6</span></a> addresses, the following work:</p>
  1725. <ul class="simple">
  1726. <li><p><code class="docutils literal notranslate"><span class="pre">xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx</span></code> (an exact <a class="reference internal" href="glossary.html#term-IPv6"><span class="xref std std-term">IPv6</span></a> address)</p></li>
  1727. <li><p><code class="docutils literal notranslate"><span class="pre">xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:[yyyy-zzzz]</span></code> (an <a class="reference internal" href="glossary.html#term-IPv6"><span class="xref std std-term">IPv6</span></a> address range)</p></li>
  1728. <li><p><code class="docutils literal notranslate"><span class="pre">xxxx:xxxx:xxxx:xxxx/nn</span></code> (CIDR, Classless Inter-Domain Routing type <a class="reference internal" href="glossary.html#term-IPv6"><span class="xref std std-term">IPv6</span></a> addresses)</p></li>
  1729. </ul>
  1730. <p>But the following does not work:</p>
  1731. <ul class="simple">
  1732. <li><p><code class="docutils literal notranslate"><span class="pre">xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xx[yyy-zzz]</span></code> (partial <a class="reference internal" href="glossary.html#term-IPv6"><span class="xref std std-term">IPv6</span></a> address range)</p></li>
  1733. </ul>
  1734. <p>Examples:</p>
  1735. <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>$cfg[&#39;Servers&#39;][$i][&#39;AllowDeny&#39;][&#39;order&#39;] = &#39;allow,deny&#39;;
  1736. $cfg[&#39;Servers&#39;][$i][&#39;AllowDeny&#39;][&#39;rules&#39;] = array(&#39;allow bob from all&#39;);
  1737. // Allow only &#39;bob&#39; to connect from any host
  1738. $cfg[&#39;Servers&#39;][$i][&#39;AllowDeny&#39;][&#39;order&#39;] = &#39;allow,deny&#39;;
  1739. $cfg[&#39;Servers&#39;][$i][&#39;AllowDeny&#39;][&#39;rules&#39;] = array(&#39;allow mary from 192.168.100.[50-100]&#39;);
  1740. // Allow only &#39;mary&#39; to connect from host 192.168.100.50 through 192.168.100.100
  1741. $cfg[&#39;Servers&#39;][$i][&#39;AllowDeny&#39;][&#39;order&#39;] = &#39;allow,deny&#39;;
  1742. $cfg[&#39;Servers&#39;][$i][&#39;AllowDeny&#39;][&#39;rules&#39;] = array(&#39;allow % from 192.168.[5-6].10&#39;);
  1743. // Allow any user to connect from host 192.168.5.10 or 192.168.6.10
  1744. $cfg[&#39;Servers&#39;][$i][&#39;AllowDeny&#39;][&#39;order&#39;] = &#39;allow,deny&#39;;
  1745. $cfg[&#39;Servers&#39;][$i][&#39;AllowDeny&#39;][&#39;rules&#39;] = array(&#39;allow root from 192.168.5.50&#39;,&#39;allow % from 192.168.6.10&#39;);
  1746. // Allow any user to connect from 192.168.6.10, and additionally allow root to connect from 192.168.5.50
  1747. </pre></div>
  1748. </div>
  1749. </dd></dl>
  1750. <dl class="config option">
  1751. <dt id="cfg_Servers_DisableIS">
  1752. <code class="sig-name descname">$cfg['Servers'][$i]['DisableIS']</code><a class="headerlink" href="#cfg_Servers_DisableIS" title="Permalink to this definition">¶</a></dt>
  1753. <dd><dl class="field-list simple">
  1754. <dt class="field-odd">Type</dt>
  1755. <dd class="field-odd"><p>boolean</p>
  1756. </dd>
  1757. <dt class="field-even">Default value</dt>
  1758. <dd class="field-even"><p>false</p>
  1759. </dd>
  1760. </dl>
  1761. <p>Disable using <code class="docutils literal notranslate"><span class="pre">INFORMATION_SCHEMA</span></code> to retrieve information (use
  1762. <code class="docutils literal notranslate"><span class="pre">SHOW</span></code> commands instead), because of speed issues when many
  1763. databases are present.</p>
  1764. <div class="admonition note">
  1765. <p class="admonition-title">Note</p>
  1766. <p>Enabling this option might give you a big performance boost on older
  1767. MySQL servers.</p>
  1768. </div>
  1769. </dd></dl>
  1770. <dl class="config option">
  1771. <dt id="cfg_Servers_SignonScript">
  1772. <code class="sig-name descname">$cfg['Servers'][$i]['SignonScript']</code><a class="headerlink" href="#cfg_Servers_SignonScript" title="Permalink to this definition">¶</a></dt>
  1773. <dd><dl class="field-list simple">
  1774. <dt class="field-odd">Type</dt>
  1775. <dd class="field-odd"><p>string</p>
  1776. </dd>
  1777. <dt class="field-even">Default value</dt>
  1778. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1779. </dd>
  1780. </dl>
  1781. <div class="versionadded">
  1782. <p><span class="versionmodified added">New in version 3.5.0.</span></p>
  1783. </div>
  1784. <p>Name of PHP script to be sourced and executed to obtain login
  1785. credentials. This is alternative approach to session based single
  1786. signon. The script has to provide a function called
  1787. <code class="docutils literal notranslate"><span class="pre">get_login_credentials</span></code> which returns list of username and
  1788. password, accepting single parameter of existing username (can be
  1789. empty). See <code class="file docutils literal notranslate"><span class="pre">examples/signon-script.php</span></code> for an example:</p>
  1790. <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="o">&lt;?</span><span class="nx">php</span>
  1791. <span class="cm">/* vim: set expandtab sw=4 ts=4 sts=4: */</span>
  1792. <span class="sd">/**</span>
  1793. <span class="sd"> * Single signon for phpMyAdmin</span>
  1794. <span class="sd"> *</span>
  1795. <span class="sd"> * This is just example how to use script based single signon with</span>
  1796. <span class="sd"> * phpMyAdmin, it is not intended to be perfect code and look, only</span>
  1797. <span class="sd"> * shows how you can integrate this functionality in your application.</span>
  1798. <span class="sd"> *</span>
  1799. <span class="sd"> * @package PhpMyAdmin</span>
  1800. <span class="sd"> * @subpackage Example</span>
  1801. <span class="sd"> */</span>
  1802. <span class="sd">/**</span>
  1803. <span class="sd"> * This function returns username and password.</span>
  1804. <span class="sd"> *</span>
  1805. <span class="sd"> * It can optionally use configured username as parameter.</span>
  1806. <span class="sd"> *</span>
  1807. <span class="sd"> * @param string $user User name</span>
  1808. <span class="sd"> *</span>
  1809. <span class="sd"> * @return array</span>
  1810. <span class="sd"> */</span>
  1811. <span class="k">function</span> <span class="nf">get_login_credentials</span><span class="p">(</span><span class="nv">$user</span><span class="p">)</span>
  1812. <span class="p">{</span>
  1813. <span class="cm">/* Optionally we can use passed username */</span>
  1814. <span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="k">empty</span><span class="p">(</span><span class="nv">$user</span><span class="p">))</span> <span class="p">{</span>
  1815. <span class="k">return</span> <span class="k">array</span><span class="p">(</span><span class="nv">$user</span><span class="p">,</span> <span class="s1">&#39;password&#39;</span><span class="p">);</span>
  1816. <span class="p">}</span>
  1817. <span class="cm">/* Here we would retrieve the credentials */</span>
  1818. <span class="nv">$credentials</span> <span class="o">=</span> <span class="k">array</span><span class="p">(</span><span class="s1">&#39;root&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">);</span>
  1819. <span class="k">return</span> <span class="nv">$credentials</span><span class="p">;</span>
  1820. <span class="p">}</span>
  1821. </pre></div>
  1822. </div>
  1823. <div class="admonition seealso">
  1824. <p class="admonition-title">See also</p>
  1825. <p><a class="reference internal" href="setup.html#auth-signon"><span class="std std-ref">Signon authentication mode</span></a></p>
  1826. </div>
  1827. </dd></dl>
  1828. <dl class="config option">
  1829. <dt id="cfg_Servers_SignonSession">
  1830. <code class="sig-name descname">$cfg['Servers'][$i]['SignonSession']</code><a class="headerlink" href="#cfg_Servers_SignonSession" title="Permalink to this definition">¶</a></dt>
  1831. <dd><dl class="field-list simple">
  1832. <dt class="field-odd">Type</dt>
  1833. <dd class="field-odd"><p>string</p>
  1834. </dd>
  1835. <dt class="field-even">Default value</dt>
  1836. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1837. </dd>
  1838. </dl>
  1839. <p>Name of session which will be used for signon authentication method.
  1840. You should use something different than <code class="docutils literal notranslate"><span class="pre">phpMyAdmin</span></code>, because this
  1841. is session which phpMyAdmin uses internally. Takes effect only if
  1842. <span class="target" id="index-128"></span><a class="reference internal" href="#cfg_Servers_SignonScript"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['SignonScript']</span></code></a> is not configured.</p>
  1843. <div class="admonition seealso">
  1844. <p class="admonition-title">See also</p>
  1845. <p><a class="reference internal" href="setup.html#auth-signon"><span class="std std-ref">Signon authentication mode</span></a></p>
  1846. </div>
  1847. </dd></dl>
  1848. <dl class="config option">
  1849. <dt id="cfg_Servers_SignonCookieParams">
  1850. <code class="sig-name descname">$cfg['Servers'][$i]['SignonCookieParams']</code><a class="headerlink" href="#cfg_Servers_SignonCookieParams" title="Permalink to this definition">¶</a></dt>
  1851. <dd><dl class="field-list simple">
  1852. <dt class="field-odd">Type</dt>
  1853. <dd class="field-odd"><p>array</p>
  1854. </dd>
  1855. <dt class="field-even">Default value</dt>
  1856. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">array()</span></code></p>
  1857. </dd>
  1858. </dl>
  1859. <div class="versionadded">
  1860. <p><span class="versionmodified added">New in version 4.7.0.</span></p>
  1861. </div>
  1862. <p>An associative array of session cookie parameters of other authentication system.
  1863. It is not needed if the other system doesn’t use session_set_cookie_params().
  1864. Keys should include ‘lifetime’, ‘path’, ‘domain’, ‘secure’ or ‘httponly’.
  1865. Valid values are mentioned in <a class="reference external" href="https://www.php.net/manual/en/function.session-get-cookie-params.php">session_get_cookie_params</a>, they should be set to same values as the
  1866. other application uses. Takes effect only if
  1867. <span class="target" id="index-129"></span><a class="reference internal" href="#cfg_Servers_SignonScript"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['SignonScript']</span></code></a> is not configured.</p>
  1868. <div class="admonition seealso">
  1869. <p class="admonition-title">See also</p>
  1870. <p><a class="reference internal" href="setup.html#auth-signon"><span class="std std-ref">Signon authentication mode</span></a></p>
  1871. </div>
  1872. </dd></dl>
  1873. <dl class="config option">
  1874. <dt id="cfg_Servers_SignonURL">
  1875. <code class="sig-name descname">$cfg['Servers'][$i]['SignonURL']</code><a class="headerlink" href="#cfg_Servers_SignonURL" title="Permalink to this definition">¶</a></dt>
  1876. <dd><dl class="field-list simple">
  1877. <dt class="field-odd">Type</dt>
  1878. <dd class="field-odd"><p>string</p>
  1879. </dd>
  1880. <dt class="field-even">Default value</dt>
  1881. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1882. </dd>
  1883. </dl>
  1884. <p><a class="reference internal" href="glossary.html#term-URL"><span class="xref std std-term">URL</span></a> where user will be redirected
  1885. to log in for signon authentication method. Should be absolute
  1886. including protocol.</p>
  1887. <div class="admonition seealso">
  1888. <p class="admonition-title">See also</p>
  1889. <p><a class="reference internal" href="setup.html#auth-signon"><span class="std std-ref">Signon authentication mode</span></a></p>
  1890. </div>
  1891. </dd></dl>
  1892. <dl class="config option">
  1893. <dt id="cfg_Servers_LogoutURL">
  1894. <code class="sig-name descname">$cfg['Servers'][$i]['LogoutURL']</code><a class="headerlink" href="#cfg_Servers_LogoutURL" title="Permalink to this definition">¶</a></dt>
  1895. <dd><dl class="field-list simple">
  1896. <dt class="field-odd">Type</dt>
  1897. <dd class="field-odd"><p>string</p>
  1898. </dd>
  1899. <dt class="field-even">Default value</dt>
  1900. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  1901. </dd>
  1902. </dl>
  1903. <p><a class="reference internal" href="glossary.html#term-URL"><span class="xref std std-term">URL</span></a> where user will be redirected
  1904. after logout (doesn’t affect config authentication method). Should be
  1905. absolute including protocol.</p>
  1906. </dd></dl>
  1907. <dl class="config option">
  1908. <dt id="cfg_Servers_hide_connection_errors">
  1909. <code class="sig-name descname">$cfg['Servers'][$i]['hide_connection_errors']</code><a class="headerlink" href="#cfg_Servers_hide_connection_errors" title="Permalink to this definition">¶</a></dt>
  1910. <dd><dl class="field-list simple">
  1911. <dt class="field-odd">Type</dt>
  1912. <dd class="field-odd"><p>boolean</p>
  1913. </dd>
  1914. <dt class="field-even">Default value</dt>
  1915. <dd class="field-even"><p>false</p>
  1916. </dd>
  1917. </dl>
  1918. <div class="versionadded">
  1919. <p><span class="versionmodified added">New in version 4.9.8.</span></p>
  1920. </div>
  1921. <p>Whether to show or hide detailed MySQL/MariaDB connection errors on the login page.</p>
  1922. <div class="admonition note">
  1923. <p class="admonition-title">Note</p>
  1924. <p>This error message can contain the target database server hostname or IP address,
  1925. which may reveal information about your network to an attacker.</p>
  1926. </div>
  1927. </dd></dl>
  1928. </div>
  1929. <div class="section" id="generic-settings">
  1930. <h2>Generic settings<a class="headerlink" href="#generic-settings" title="Permalink to this headline">¶</a></h2>
  1931. <dl class="config option">
  1932. <dt id="cfg_DisableShortcutKeys">
  1933. <code class="sig-name descname">$cfg['DisableShortcutKeys']</code><a class="headerlink" href="#cfg_DisableShortcutKeys" title="Permalink to this definition">¶</a></dt>
  1934. <dd><dl class="field-list simple">
  1935. <dt class="field-odd">Type</dt>
  1936. <dd class="field-odd"><p>boolean</p>
  1937. </dd>
  1938. <dt class="field-even">Default value</dt>
  1939. <dd class="field-even"><p>false</p>
  1940. </dd>
  1941. </dl>
  1942. <p>You can disable phpMyAdmin shortcut keys by setting <span class="target" id="index-130"></span><a class="reference internal" href="#cfg_DisableShortcutKeys"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['DisableShortcutKeys']</span></code></a> to false.</p>
  1943. </dd></dl>
  1944. <dl class="config option">
  1945. <dt id="cfg_ServerDefault">
  1946. <code class="sig-name descname">$cfg['ServerDefault']</code><a class="headerlink" href="#cfg_ServerDefault" title="Permalink to this definition">¶</a></dt>
  1947. <dd><dl class="field-list simple">
  1948. <dt class="field-odd">Type</dt>
  1949. <dd class="field-odd"><p>integer</p>
  1950. </dd>
  1951. <dt class="field-even">Default value</dt>
  1952. <dd class="field-even"><p>1</p>
  1953. </dd>
  1954. </dl>
  1955. <p>If you have more than one server configured, you can set
  1956. <span class="target" id="index-131"></span><a class="reference internal" href="#cfg_ServerDefault"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['ServerDefault']</span></code></a> to any one of them to autoconnect to that
  1957. server when phpMyAdmin is started, or set it to 0 to be given a list
  1958. of servers without logging in.</p>
  1959. <p>If you have only one server configured,
  1960. <span class="target" id="index-132"></span><a class="reference internal" href="#cfg_ServerDefault"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['ServerDefault']</span></code></a> MUST be set to that server.</p>
  1961. </dd></dl>
  1962. <dl class="config option">
  1963. <dt id="cfg_VersionCheck">
  1964. <code class="sig-name descname">$cfg['VersionCheck']</code><a class="headerlink" href="#cfg_VersionCheck" title="Permalink to this definition">¶</a></dt>
  1965. <dd><dl class="field-list simple">
  1966. <dt class="field-odd">Type</dt>
  1967. <dd class="field-odd"><p>boolean</p>
  1968. </dd>
  1969. <dt class="field-even">Default value</dt>
  1970. <dd class="field-even"><p>true</p>
  1971. </dd>
  1972. </dl>
  1973. <p>Enables check for latest versions using JavaScript on the main phpMyAdmin
  1974. page or by directly accessing <code class="file docutils literal notranslate"><span class="pre">version_check.php</span></code>.</p>
  1975. <div class="admonition note">
  1976. <p class="admonition-title">Note</p>
  1977. <p>This setting can be adjusted by your vendor.</p>
  1978. </div>
  1979. </dd></dl>
  1980. <dl class="config option">
  1981. <dt id="cfg_ProxyUrl">
  1982. <code class="sig-name descname">$cfg['ProxyUrl']</code><a class="headerlink" href="#cfg_ProxyUrl" title="Permalink to this definition">¶</a></dt>
  1983. <dd><dl class="field-list simple">
  1984. <dt class="field-odd">Type</dt>
  1985. <dd class="field-odd"><p>string</p>
  1986. </dd>
  1987. <dt class="field-even">Default value</dt>
  1988. <dd class="field-even"><p><p>””</p>
  1989. </p>
  1990. </dd>
  1991. </dl>
  1992. <p>The url of the proxy to be used when phpmyadmin needs to access the outside
  1993. internet such as when retrieving the latest version info or submitting error
  1994. reports. You need this if the server where phpMyAdmin is installed does not
  1995. have direct access to the internet.
  1996. The format is: “hostname:portnumber”</p>
  1997. </dd></dl>
  1998. <dl class="config option">
  1999. <dt id="cfg_ProxyUser">
  2000. <code class="sig-name descname">$cfg['ProxyUser']</code><a class="headerlink" href="#cfg_ProxyUser" title="Permalink to this definition">¶</a></dt>
  2001. <dd><dl class="field-list simple">
  2002. <dt class="field-odd">Type</dt>
  2003. <dd class="field-odd"><p>string</p>
  2004. </dd>
  2005. <dt class="field-even">Default value</dt>
  2006. <dd class="field-even"><p><p>””</p>
  2007. </p>
  2008. </dd>
  2009. </dl>
  2010. <p>The username for authenticating with the proxy. By default, no
  2011. authentication is performed. If a username is supplied, Basic
  2012. Authentication will be performed. No other types of authentication
  2013. are currently supported.</p>
  2014. </dd></dl>
  2015. <dl class="config option">
  2016. <dt id="cfg_ProxyPass">
  2017. <code class="sig-name descname">$cfg['ProxyPass']</code><a class="headerlink" href="#cfg_ProxyPass" title="Permalink to this definition">¶</a></dt>
  2018. <dd><dl class="field-list simple">
  2019. <dt class="field-odd">Type</dt>
  2020. <dd class="field-odd"><p>string</p>
  2021. </dd>
  2022. <dt class="field-even">Default value</dt>
  2023. <dd class="field-even"><p><p>””</p>
  2024. </p>
  2025. </dd>
  2026. </dl>
  2027. <p>The password for authenticating with the proxy.</p>
  2028. </dd></dl>
  2029. <dl class="config option">
  2030. <dt id="cfg_MaxDbList">
  2031. <code class="sig-name descname">$cfg['MaxDbList']</code><a class="headerlink" href="#cfg_MaxDbList" title="Permalink to this definition">¶</a></dt>
  2032. <dd><dl class="field-list simple">
  2033. <dt class="field-odd">Type</dt>
  2034. <dd class="field-odd"><p>integer</p>
  2035. </dd>
  2036. <dt class="field-even">Default value</dt>
  2037. <dd class="field-even"><p>100</p>
  2038. </dd>
  2039. </dl>
  2040. <p>The maximum number of database names to be displayed in the main panel’s
  2041. database list.</p>
  2042. </dd></dl>
  2043. <dl class="config option">
  2044. <dt id="cfg_MaxTableList">
  2045. <code class="sig-name descname">$cfg['MaxTableList']</code><a class="headerlink" href="#cfg_MaxTableList" title="Permalink to this definition">¶</a></dt>
  2046. <dd><dl class="field-list simple">
  2047. <dt class="field-odd">Type</dt>
  2048. <dd class="field-odd"><p>integer</p>
  2049. </dd>
  2050. <dt class="field-even">Default value</dt>
  2051. <dd class="field-even"><p>250</p>
  2052. </dd>
  2053. </dl>
  2054. <p>The maximum number of table names to be displayed in the main panel’s
  2055. list (except on the Export page).</p>
  2056. </dd></dl>
  2057. <dl class="config option">
  2058. <dt id="cfg_ShowHint">
  2059. <code class="sig-name descname">$cfg['ShowHint']</code><a class="headerlink" href="#cfg_ShowHint" title="Permalink to this definition">¶</a></dt>
  2060. <dd><dl class="field-list simple">
  2061. <dt class="field-odd">Type</dt>
  2062. <dd class="field-odd"><p>boolean</p>
  2063. </dd>
  2064. <dt class="field-even">Default value</dt>
  2065. <dd class="field-even"><p>true</p>
  2066. </dd>
  2067. </dl>
  2068. <p>Whether or not to show hints (for example, hints when hovering over
  2069. table headers).</p>
  2070. </dd></dl>
  2071. <dl class="config option">
  2072. <dt id="cfg_MaxCharactersInDisplayedSQL">
  2073. <code class="sig-name descname">$cfg['MaxCharactersInDisplayedSQL']</code><a class="headerlink" href="#cfg_MaxCharactersInDisplayedSQL" title="Permalink to this definition">¶</a></dt>
  2074. <dd><dl class="field-list simple">
  2075. <dt class="field-odd">Type</dt>
  2076. <dd class="field-odd"><p>integer</p>
  2077. </dd>
  2078. <dt class="field-even">Default value</dt>
  2079. <dd class="field-even"><p>1000</p>
  2080. </dd>
  2081. </dl>
  2082. <p>The maximum number of characters when a <a class="reference internal" href="glossary.html#term-SQL"><span class="xref std std-term">SQL</span></a> query is displayed. The
  2083. default limit of 1000 should be correct to avoid the display of tons of
  2084. hexadecimal codes that represent BLOBs, but some users have real
  2085. <a class="reference internal" href="glossary.html#term-SQL"><span class="xref std std-term">SQL</span></a> queries that are longer than 1000 characters. Also, if a
  2086. query’s length exceeds this limit, this query is not saved in the history.</p>
  2087. </dd></dl>
  2088. <dl class="config option">
  2089. <dt id="cfg_PersistentConnections">
  2090. <code class="sig-name descname">$cfg['PersistentConnections']</code><a class="headerlink" href="#cfg_PersistentConnections" title="Permalink to this definition">¶</a></dt>
  2091. <dd><dl class="field-list simple">
  2092. <dt class="field-odd">Type</dt>
  2093. <dd class="field-odd"><p>boolean</p>
  2094. </dd>
  2095. <dt class="field-even">Default value</dt>
  2096. <dd class="field-even"><p>false</p>
  2097. </dd>
  2098. </dl>
  2099. <p>Whether <a class="reference external" href="https://www.php.net/manual/en/features.persistent-connections.php">persistent connections</a> should be used or not. Works with
  2100. following extensions:</p>
  2101. <ul class="simple">
  2102. <li><p>mysql (<a class="reference external" href="https://www.php.net/manual/en/function.mysql-pconnect.php">mysql_pconnect</a>),</p></li>
  2103. <li><p>mysqli (requires PHP 5.3.0 or newer, <a class="reference external" href="https://www.php.net/manual/en/mysqli.persistconns.php">more information</a>).</p></li>
  2104. </ul>
  2105. </dd></dl>
  2106. <dl class="config option">
  2107. <dt id="cfg_ForceSSL">
  2108. <code class="sig-name descname">$cfg['ForceSSL']</code><a class="headerlink" href="#cfg_ForceSSL" title="Permalink to this definition">¶</a></dt>
  2109. <dd><dl class="field-list simple">
  2110. <dt class="field-odd">Type</dt>
  2111. <dd class="field-odd"><p>boolean</p>
  2112. </dd>
  2113. <dt class="field-even">Default value</dt>
  2114. <dd class="field-even"><p>false</p>
  2115. </dd>
  2116. </dl>
  2117. <div class="deprecated">
  2118. <p><span class="versionmodified deprecated">Deprecated since version 4.6.0: </span>This setting is no longer available since phpMyAdmin 4.6.0. Please
  2119. adjust your webserver instead.</p>
  2120. </div>
  2121. <p>Whether to force using https while accessing phpMyAdmin. In a reverse
  2122. proxy setup, setting this to <code class="docutils literal notranslate"><span class="pre">true</span></code> is not supported.</p>
  2123. <div class="admonition note">
  2124. <p class="admonition-title">Note</p>
  2125. <p>In some setups (like separate SSL proxy or load balancer) you might
  2126. have to set <span class="target" id="index-133"></span><a class="reference internal" href="#cfg_PmaAbsoluteUri"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['PmaAbsoluteUri']</span></code></a> for correct
  2127. redirection.</p>
  2128. </div>
  2129. </dd></dl>
  2130. <dl class="config option">
  2131. <dt id="cfg_ExecTimeLimit">
  2132. <code class="sig-name descname">$cfg['ExecTimeLimit']</code><a class="headerlink" href="#cfg_ExecTimeLimit" title="Permalink to this definition">¶</a></dt>
  2133. <dd><dl class="field-list simple">
  2134. <dt class="field-odd">Type</dt>
  2135. <dd class="field-odd"><p>integer [number of seconds]</p>
  2136. </dd>
  2137. <dt class="field-even">Default value</dt>
  2138. <dd class="field-even"><p>300</p>
  2139. </dd>
  2140. </dl>
  2141. <p>Set the number of seconds a script is allowed to run. If seconds is
  2142. set to zero, no time limit is imposed. This setting is used while
  2143. importing/exporting dump files but has
  2144. no effect when PHP is running in safe mode.</p>
  2145. </dd></dl>
  2146. <dl class="config option">
  2147. <dt id="cfg_SessionSavePath">
  2148. <code class="sig-name descname">$cfg['SessionSavePath']</code><a class="headerlink" href="#cfg_SessionSavePath" title="Permalink to this definition">¶</a></dt>
  2149. <dd><dl class="field-list simple">
  2150. <dt class="field-odd">Type</dt>
  2151. <dd class="field-odd"><p>string</p>
  2152. </dd>
  2153. <dt class="field-even">Default value</dt>
  2154. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  2155. </dd>
  2156. </dl>
  2157. <p>Path for storing session data (<a class="reference external" href="https://www.php.net/session_save_path">session_save_path PHP parameter</a>).</p>
  2158. <div class="admonition warning">
  2159. <p class="admonition-title">Warning</p>
  2160. <p>This folder should not be publicly accessible through the webserver,
  2161. otherwise you risk leaking private data from your session.</p>
  2162. </div>
  2163. </dd></dl>
  2164. <dl class="config option">
  2165. <dt id="cfg_MemoryLimit">
  2166. <code class="sig-name descname">$cfg['MemoryLimit']</code><a class="headerlink" href="#cfg_MemoryLimit" title="Permalink to this definition">¶</a></dt>
  2167. <dd><dl class="field-list simple">
  2168. <dt class="field-odd">Type</dt>
  2169. <dd class="field-odd"><p>string [number of bytes]</p>
  2170. </dd>
  2171. <dt class="field-even">Default value</dt>
  2172. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'-1'</span></code></p>
  2173. </dd>
  2174. </dl>
  2175. <p>Set the number of bytes a script is allowed to allocate. If set to
  2176. <code class="docutils literal notranslate"><span class="pre">'-1'</span></code>, no limit is imposed. If set to <code class="docutils literal notranslate"><span class="pre">'0'</span></code>, no change of the
  2177. memory limit is attempted and the <code class="file docutils literal notranslate"><span class="pre">php.ini</span></code> <code class="docutils literal notranslate"><span class="pre">memory_limit</span></code> is
  2178. used.</p>
  2179. <p>This setting is used while importing/exporting dump files
  2180. so you definitely don’t want to put here a too low
  2181. value. It has no effect when PHP is running in safe mode.</p>
  2182. <p>You can also use any string as in <code class="file docutils literal notranslate"><span class="pre">php.ini</span></code>, eg. ‘16M’. Ensure you
  2183. don’t omit the suffix (16 means 16 bytes!)</p>
  2184. </dd></dl>
  2185. <dl class="config option">
  2186. <dt id="cfg_SkipLockedTables">
  2187. <code class="sig-name descname">$cfg['SkipLockedTables']</code><a class="headerlink" href="#cfg_SkipLockedTables" title="Permalink to this definition">¶</a></dt>
  2188. <dd><dl class="field-list simple">
  2189. <dt class="field-odd">Type</dt>
  2190. <dd class="field-odd"><p>boolean</p>
  2191. </dd>
  2192. <dt class="field-even">Default value</dt>
  2193. <dd class="field-even"><p>false</p>
  2194. </dd>
  2195. </dl>
  2196. <p>Mark used tables and make it possible to show databases with locked
  2197. tables (since MySQL 3.23.30).</p>
  2198. </dd></dl>
  2199. <dl class="config option">
  2200. <dt id="cfg_ShowSQL">
  2201. <code class="sig-name descname">$cfg['ShowSQL']</code><a class="headerlink" href="#cfg_ShowSQL" title="Permalink to this definition">¶</a></dt>
  2202. <dd><dl class="field-list simple">
  2203. <dt class="field-odd">Type</dt>
  2204. <dd class="field-odd"><p>boolean</p>
  2205. </dd>
  2206. <dt class="field-even">Default value</dt>
  2207. <dd class="field-even"><p>true</p>
  2208. </dd>
  2209. </dl>
  2210. <p>Defines whether <a class="reference internal" href="glossary.html#term-SQL"><span class="xref std std-term">SQL</span></a> queries
  2211. generated by phpMyAdmin should be displayed or not.</p>
  2212. </dd></dl>
  2213. <dl class="config option">
  2214. <dt id="cfg_RetainQueryBox">
  2215. <code class="sig-name descname">$cfg['RetainQueryBox']</code><a class="headerlink" href="#cfg_RetainQueryBox" title="Permalink to this definition">¶</a></dt>
  2216. <dd><dl class="field-list simple">
  2217. <dt class="field-odd">Type</dt>
  2218. <dd class="field-odd"><p>boolean</p>
  2219. </dd>
  2220. <dt class="field-even">Default value</dt>
  2221. <dd class="field-even"><p>false</p>
  2222. </dd>
  2223. </dl>
  2224. <p>Defines whether the <a class="reference internal" href="glossary.html#term-SQL"><span class="xref std std-term">SQL</span></a> query box
  2225. should be kept displayed after its submission.</p>
  2226. </dd></dl>
  2227. <dl class="config option">
  2228. <dt id="cfg_CodemirrorEnable">
  2229. <code class="sig-name descname">$cfg['CodemirrorEnable']</code><a class="headerlink" href="#cfg_CodemirrorEnable" title="Permalink to this definition">¶</a></dt>
  2230. <dd><dl class="field-list simple">
  2231. <dt class="field-odd">Type</dt>
  2232. <dd class="field-odd"><p>boolean</p>
  2233. </dd>
  2234. <dt class="field-even">Default value</dt>
  2235. <dd class="field-even"><p>true</p>
  2236. </dd>
  2237. </dl>
  2238. <p>Defines whether to use a Javascript code editor for SQL query boxes.
  2239. CodeMirror provides syntax highlighting and line numbers. However,
  2240. middle-clicking for pasting the clipboard contents in some Linux
  2241. distributions (such as Ubuntu) is not supported by all browsers.</p>
  2242. </dd></dl>
  2243. <dl class="config option">
  2244. <dt id="cfg_DefaultForeignKeyChecks">
  2245. <code class="sig-name descname">$cfg['DefaultForeignKeyChecks']</code><a class="headerlink" href="#cfg_DefaultForeignKeyChecks" title="Permalink to this definition">¶</a></dt>
  2246. <dd><dl class="field-list simple">
  2247. <dt class="field-odd">Type</dt>
  2248. <dd class="field-odd"><p>string</p>
  2249. </dd>
  2250. <dt class="field-even">Default value</dt>
  2251. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'default'</span></code></p>
  2252. </dd>
  2253. </dl>
  2254. <p>Default value of the checkbox for foreign key checks, to disable/enable
  2255. foreign key checks for certain queries. The possible values are <code class="docutils literal notranslate"><span class="pre">'default'</span></code>,
  2256. <code class="docutils literal notranslate"><span class="pre">'enable'</span></code> or <code class="docutils literal notranslate"><span class="pre">'disable'</span></code>. If set to <code class="docutils literal notranslate"><span class="pre">'default'</span></code>, the value of the
  2257. MySQL variable <code class="docutils literal notranslate"><span class="pre">FOREIGN_KEY_CHECKS</span></code> is used.</p>
  2258. </dd></dl>
  2259. <dl class="config option">
  2260. <dt id="cfg_AllowUserDropDatabase">
  2261. <code class="sig-name descname">$cfg['AllowUserDropDatabase']</code><a class="headerlink" href="#cfg_AllowUserDropDatabase" title="Permalink to this definition">¶</a></dt>
  2262. <dd><dl class="field-list simple">
  2263. <dt class="field-odd">Type</dt>
  2264. <dd class="field-odd"><p>boolean</p>
  2265. </dd>
  2266. <dt class="field-even">Default value</dt>
  2267. <dd class="field-even"><p>false</p>
  2268. </dd>
  2269. </dl>
  2270. <div class="admonition warning">
  2271. <p class="admonition-title">Warning</p>
  2272. <p>This is not a security measure as there will be always ways to
  2273. circumvent this. If you want to prohibit users from dropping databases,
  2274. revoke their corresponding DROP privilege.</p>
  2275. </div>
  2276. <p>Defines whether normal users (non-administrator) are allowed to delete
  2277. their own database or not. If set as false, the link <span class="guilabel">Drop
  2278. Database</span> will not be shown, and even a <code class="docutils literal notranslate"><span class="pre">DROP</span> <span class="pre">DATABASE</span> <span class="pre">mydatabase</span></code> will
  2279. be rejected. Quite practical for <a class="reference internal" href="glossary.html#term-ISP"><span class="xref std std-term">ISP</span></a> ‘s with many customers.</p>
  2280. <p>This limitation of <a class="reference internal" href="glossary.html#term-SQL"><span class="xref std std-term">SQL</span></a> queries is not as strict as when using MySQL
  2281. privileges. This is due to nature of <a class="reference internal" href="glossary.html#term-SQL"><span class="xref std std-term">SQL</span></a> queries which might be
  2282. quite complicated. So this choice should be viewed as help to avoid
  2283. accidental dropping rather than strict privilege limitation.</p>
  2284. </dd></dl>
  2285. <dl class="config option">
  2286. <dt id="cfg_Confirm">
  2287. <code class="sig-name descname">$cfg['Confirm']</code><a class="headerlink" href="#cfg_Confirm" title="Permalink to this definition">¶</a></dt>
  2288. <dd><dl class="field-list simple">
  2289. <dt class="field-odd">Type</dt>
  2290. <dd class="field-odd"><p>boolean</p>
  2291. </dd>
  2292. <dt class="field-even">Default value</dt>
  2293. <dd class="field-even"><p>true</p>
  2294. </dd>
  2295. </dl>
  2296. <p>Whether a warning (“Are your really sure…”) should be displayed when
  2297. you’re about to lose data.</p>
  2298. </dd></dl>
  2299. <dl class="config option">
  2300. <dt id="cfg_UseDbSearch">
  2301. <code class="sig-name descname">$cfg['UseDbSearch']</code><a class="headerlink" href="#cfg_UseDbSearch" title="Permalink to this definition">¶</a></dt>
  2302. <dd><dl class="field-list simple">
  2303. <dt class="field-odd">Type</dt>
  2304. <dd class="field-odd"><p>boolean</p>
  2305. </dd>
  2306. <dt class="field-even">Default value</dt>
  2307. <dd class="field-even"><p>true</p>
  2308. </dd>
  2309. </dl>
  2310. <p>Define whether the “search string inside database” is enabled or not.</p>
  2311. </dd></dl>
  2312. <dl class="config option">
  2313. <dt id="cfg_IgnoreMultiSubmitErrors">
  2314. <code class="sig-name descname">$cfg['IgnoreMultiSubmitErrors']</code><a class="headerlink" href="#cfg_IgnoreMultiSubmitErrors" title="Permalink to this definition">¶</a></dt>
  2315. <dd><dl class="field-list simple">
  2316. <dt class="field-odd">Type</dt>
  2317. <dd class="field-odd"><p>boolean</p>
  2318. </dd>
  2319. <dt class="field-even">Default value</dt>
  2320. <dd class="field-even"><p>false</p>
  2321. </dd>
  2322. </dl>
  2323. <p>Define whether phpMyAdmin will continue executing a multi-query
  2324. statement if one of the queries fails. Default is to abort execution.</p>
  2325. </dd></dl>
  2326. <dl class="config option">
  2327. <dt id="cfg_URLQueryEncryption">
  2328. <code class="sig-name descname">$cfg['URLQueryEncryption']</code><a class="headerlink" href="#cfg_URLQueryEncryption" title="Permalink to this definition">¶</a></dt>
  2329. <dd><dl class="field-list simple">
  2330. <dt class="field-odd">Type</dt>
  2331. <dd class="field-odd"><p>boolean</p>
  2332. </dd>
  2333. <dt class="field-even">Default value</dt>
  2334. <dd class="field-even"><p>false</p>
  2335. </dd>
  2336. </dl>
  2337. <div class="versionadded">
  2338. <p><span class="versionmodified added">New in version 4.9.8.</span></p>
  2339. </div>
  2340. <p>Define whether phpMyAdmin will encrypt sensitive data (like database name
  2341. and table name) from the URL query string. Default is to not encrypt the URL
  2342. query string.</p>
  2343. </dd></dl>
  2344. <dl class="config option">
  2345. <dt id="cfg_URLQueryEncryptionSecretKey">
  2346. <code class="sig-name descname">$cfg['URLQueryEncryptionSecretKey']</code><a class="headerlink" href="#cfg_URLQueryEncryptionSecretKey" title="Permalink to this definition">¶</a></dt>
  2347. <dd><dl class="field-list simple">
  2348. <dt class="field-odd">Type</dt>
  2349. <dd class="field-odd"><p>string</p>
  2350. </dd>
  2351. <dt class="field-even">Default value</dt>
  2352. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  2353. </dd>
  2354. </dl>
  2355. <div class="versionadded">
  2356. <p><span class="versionmodified added">New in version 4.9.8.</span></p>
  2357. </div>
  2358. <p>A secret key used to encrypt/decrypt the URL query string.
  2359. Should be 32 bytes long.</p>
  2360. </dd></dl>
  2361. </div>
  2362. <div class="section" id="cookie-authentication-options">
  2363. <h2>Cookie authentication options<a class="headerlink" href="#cookie-authentication-options" title="Permalink to this headline">¶</a></h2>
  2364. <dl class="config option">
  2365. <dt id="cfg_blowfish_secret">
  2366. <code class="sig-name descname">$cfg['blowfish_secret']</code><a class="headerlink" href="#cfg_blowfish_secret" title="Permalink to this definition">¶</a></dt>
  2367. <dd><dl class="field-list simple">
  2368. <dt class="field-odd">Type</dt>
  2369. <dd class="field-odd"><p>string</p>
  2370. </dd>
  2371. <dt class="field-even">Default value</dt>
  2372. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  2373. </dd>
  2374. </dl>
  2375. <p>The “cookie” auth_type uses AES algorithm to encrypt the password. If you
  2376. are using the “cookie” auth_type, enter here a random passphrase of your
  2377. choice. It will be used internally by the AES algorithm: you won’t be
  2378. prompted for this passphrase.</p>
  2379. <p>The secret should be 32 characters long. Using shorter will lead to weaker security
  2380. of encrypted cookies, using longer will cause no harm.</p>
  2381. <div class="admonition note">
  2382. <p class="admonition-title">Note</p>
  2383. <p>The configuration is called blowfish_secret for historical reasons as
  2384. Blowfish algorithm was originally used to do the encryption.</p>
  2385. </div>
  2386. <div class="versionchanged">
  2387. <p><span class="versionmodified changed">Changed in version 3.1.0: </span>Since version 3.1.0 phpMyAdmin can generate this on the fly, but it
  2388. makes a bit weaker security as this generated secret is stored in
  2389. session and furthermore it makes impossible to recall user name from
  2390. cookie.</p>
  2391. </div>
  2392. </dd></dl>
  2393. <dl class="config option">
  2394. <dt id="cfg_LoginCookieRecall">
  2395. <code class="sig-name descname">$cfg['LoginCookieRecall']</code><a class="headerlink" href="#cfg_LoginCookieRecall" title="Permalink to this definition">¶</a></dt>
  2396. <dd><dl class="field-list simple">
  2397. <dt class="field-odd">Type</dt>
  2398. <dd class="field-odd"><p>boolean</p>
  2399. </dd>
  2400. <dt class="field-even">Default value</dt>
  2401. <dd class="field-even"><p>true</p>
  2402. </dd>
  2403. </dl>
  2404. <p>Define whether the previous login should be recalled or not in cookie
  2405. authentication mode.</p>
  2406. <p>This is automatically disabled if you do not have
  2407. configured <span class="target" id="index-134"></span><a class="reference internal" href="#cfg_blowfish_secret"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['blowfish_secret']</span></code></a>.</p>
  2408. </dd></dl>
  2409. <dl class="config option">
  2410. <dt id="cfg_LoginCookieValidity">
  2411. <code class="sig-name descname">$cfg['LoginCookieValidity']</code><a class="headerlink" href="#cfg_LoginCookieValidity" title="Permalink to this definition">¶</a></dt>
  2412. <dd><dl class="field-list simple">
  2413. <dt class="field-odd">Type</dt>
  2414. <dd class="field-odd"><p>integer [number of seconds]</p>
  2415. </dd>
  2416. <dt class="field-even">Default value</dt>
  2417. <dd class="field-even"><p>1440</p>
  2418. </dd>
  2419. </dl>
  2420. <p>Define how long a login cookie is valid. Please note that php
  2421. configuration option <a class="reference external" href="https://www.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,
  2422. the login cookie is also invalidated. So it is a good idea to set
  2423. <code class="docutils literal notranslate"><span class="pre">session.gc_maxlifetime</span></code> at least to the same value of
  2424. <span class="target" id="index-135"></span><a class="reference internal" href="#cfg_LoginCookieValidity"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['LoginCookieValidity']</span></code></a>.</p>
  2425. </dd></dl>
  2426. <dl class="config option">
  2427. <dt id="cfg_LoginCookieStore">
  2428. <code class="sig-name descname">$cfg['LoginCookieStore']</code><a class="headerlink" href="#cfg_LoginCookieStore" title="Permalink to this definition">¶</a></dt>
  2429. <dd><dl class="field-list simple">
  2430. <dt class="field-odd">Type</dt>
  2431. <dd class="field-odd"><p>integer [number of seconds]</p>
  2432. </dd>
  2433. <dt class="field-even">Default value</dt>
  2434. <dd class="field-even"><p>0</p>
  2435. </dd>
  2436. </dl>
  2437. <p>Define how long login cookie should be stored in browser. Default 0
  2438. means that it will be kept for existing session. This is recommended
  2439. for not trusted environments.</p>
  2440. </dd></dl>
  2441. <dl class="config option">
  2442. <dt id="cfg_LoginCookieDeleteAll">
  2443. <code class="sig-name descname">$cfg['LoginCookieDeleteAll']</code><a class="headerlink" href="#cfg_LoginCookieDeleteAll" title="Permalink to this definition">¶</a></dt>
  2444. <dd><dl class="field-list simple">
  2445. <dt class="field-odd">Type</dt>
  2446. <dd class="field-odd"><p>boolean</p>
  2447. </dd>
  2448. <dt class="field-even">Default value</dt>
  2449. <dd class="field-even"><p>true</p>
  2450. </dd>
  2451. </dl>
  2452. <p>If enabled (default), logout deletes cookies for all servers,
  2453. otherwise only for current one. Setting this to false makes it easy to
  2454. forget to log out from other server, when you are using more of them.</p>
  2455. </dd></dl>
  2456. <span class="target" id="allowarbitraryserver"></span><dl class="config option">
  2457. <dt id="cfg_AllowArbitraryServer">
  2458. <code class="sig-name descname">$cfg['AllowArbitraryServer']</code><a class="headerlink" href="#cfg_AllowArbitraryServer" title="Permalink to this definition">¶</a></dt>
  2459. <dd><dl class="field-list simple">
  2460. <dt class="field-odd">Type</dt>
  2461. <dd class="field-odd"><p>boolean</p>
  2462. </dd>
  2463. <dt class="field-even">Default value</dt>
  2464. <dd class="field-even"><p>false</p>
  2465. </dd>
  2466. </dl>
  2467. <p>If enabled, allows you to log in to arbitrary servers using cookie
  2468. authentication.</p>
  2469. <div class="admonition note">
  2470. <p class="admonition-title">Note</p>
  2471. <p>Please use this carefully, as this may allow users access to MySQL servers
  2472. behind the firewall where your <a class="reference internal" href="glossary.html#term-HTTP"><span class="xref std std-term">HTTP</span></a> server is placed.
  2473. See also <span class="target" id="index-136"></span><a class="reference internal" href="#cfg_ArbitraryServerRegexp"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['ArbitraryServerRegexp']</span></code></a>.</p>
  2474. </div>
  2475. </dd></dl>
  2476. <dl class="config option">
  2477. <dt id="cfg_ArbitraryServerRegexp">
  2478. <code class="sig-name descname">$cfg['ArbitraryServerRegexp']</code><a class="headerlink" href="#cfg_ArbitraryServerRegexp" title="Permalink to this definition">¶</a></dt>
  2479. <dd><dl class="field-list simple">
  2480. <dt class="field-odd">Type</dt>
  2481. <dd class="field-odd"><p>string</p>
  2482. </dd>
  2483. <dt class="field-even">Default value</dt>
  2484. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  2485. </dd>
  2486. </dl>
  2487. <p>Restricts the MySQL servers to which the user can log in when
  2488. <span class="target" id="index-137"></span><a class="reference internal" href="#cfg_AllowArbitraryServer"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['AllowArbitraryServer']</span></code></a> is enabled by
  2489. matching the <a class="reference internal" href="glossary.html#term-IP"><span class="xref std std-term">IP</span></a> or the hostname of the MySQL server
  2490. to the given regular expression. The regular expression must be enclosed
  2491. with a delimiter character.</p>
  2492. <p>It is recommended to include start and end symbols in the regullar
  2493. expression, so that you can avoid partial matches on the string.</p>
  2494. <p><strong>Examples:</strong></p>
  2495. <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="c1">// Allow connection to three listed servers:</span>
  2496. <span class="nv">$cfg</span><span class="p">[</span><span class="s1">&#39;ArbitraryServerRegexp&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;/^(server|another|yetdifferent)$/&#39;</span><span class="p">;</span>
  2497. <span class="c1">// Allow connection to range of IP addresses:</span>
  2498. <span class="nv">$cfg</span><span class="p">[</span><span class="s1">&#39;ArbitraryServerRegexp&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;@^192\.168\.0\.[0-9]{1,}$@&#39;</span><span class="p">;</span>
  2499. <span class="c1">// Allow connection to server name ending with -mysql:</span>
  2500. <span class="nv">$cfg</span><span class="p">[</span><span class="s1">&#39;ArbitraryServerRegexp&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;@^[^:]\-mysql$@&#39;</span><span class="p">;</span>
  2501. </pre></div>
  2502. </div>
  2503. <div class="admonition note">
  2504. <p class="admonition-title">Note</p>
  2505. <p>The whole server name is matched, it can include port as well. Due to
  2506. way MySQL is permissive in connection parameters, it is possible to use
  2507. connection strings as <code class="docutils literal notranslate"><span class="pre">`server:3306-mysql`</span></code>. This can be used to
  2508. bypass regullar expression by the suffix, while connecting to another
  2509. server.</p>
  2510. </div>
  2511. </dd></dl>
  2512. <dl class="config option">
  2513. <dt id="cfg_CaptchaLoginPublicKey">
  2514. <code class="sig-name descname">$cfg['CaptchaLoginPublicKey']</code><a class="headerlink" href="#cfg_CaptchaLoginPublicKey" title="Permalink to this definition">¶</a></dt>
  2515. <dd><dl class="field-list simple">
  2516. <dt class="field-odd">Type</dt>
  2517. <dd class="field-odd"><p>string</p>
  2518. </dd>
  2519. <dt class="field-even">Default value</dt>
  2520. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  2521. </dd>
  2522. </dl>
  2523. <p>The public key for the reCaptcha service that can be obtained from
  2524. <a class="reference external" href="https://www.google.com/recaptcha/intro/v3.html">https://www.google.com/recaptcha/intro/v3.html</a>.</p>
  2525. <p>reCaptcha will be then used in <a class="reference internal" href="setup.html#cookie"><span class="std std-ref">Cookie authentication mode</span></a>.</p>
  2526. </dd></dl>
  2527. <dl class="config option">
  2528. <dt id="cfg_CaptchaLoginPrivateKey">
  2529. <code class="sig-name descname">$cfg['CaptchaLoginPrivateKey']</code><a class="headerlink" href="#cfg_CaptchaLoginPrivateKey" title="Permalink to this definition">¶</a></dt>
  2530. <dd><dl class="field-list simple">
  2531. <dt class="field-odd">Type</dt>
  2532. <dd class="field-odd"><p>string</p>
  2533. </dd>
  2534. <dt class="field-even">Default value</dt>
  2535. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  2536. </dd>
  2537. </dl>
  2538. <p>The private key for the reCaptcha service that can be obtain from
  2539. <a class="reference external" href="https://www.google.com/recaptcha/intro/v3.html">https://www.google.com/recaptcha/intro/v3.html</a>.</p>
  2540. <p>reCaptcha will be then used in <a class="reference internal" href="setup.html#cookie"><span class="std std-ref">Cookie authentication mode</span></a>.</p>
  2541. </dd></dl>
  2542. </div>
  2543. <div class="section" id="navigation-panel-setup">
  2544. <h2>Navigation panel setup<a class="headerlink" href="#navigation-panel-setup" title="Permalink to this headline">¶</a></h2>
  2545. <dl class="config option">
  2546. <dt id="cfg_ShowDatabasesNavigationAsTree">
  2547. <code class="sig-name descname">$cfg['ShowDatabasesNavigationAsTree']</code><a class="headerlink" href="#cfg_ShowDatabasesNavigationAsTree" title="Permalink to this definition">¶</a></dt>
  2548. <dd><dl class="field-list simple">
  2549. <dt class="field-odd">Type</dt>
  2550. <dd class="field-odd"><p>boolean</p>
  2551. </dd>
  2552. <dt class="field-even">Default value</dt>
  2553. <dd class="field-even"><p>true</p>
  2554. </dd>
  2555. </dl>
  2556. <p>In the navigation panel, replaces the database tree with a selector</p>
  2557. </dd></dl>
  2558. <dl class="config option">
  2559. <dt id="cfg_FirstLevelNavigationItems">
  2560. <code class="sig-name descname">$cfg['FirstLevelNavigationItems']</code><a class="headerlink" href="#cfg_FirstLevelNavigationItems" title="Permalink to this definition">¶</a></dt>
  2561. <dd><dl class="field-list simple">
  2562. <dt class="field-odd">Type</dt>
  2563. <dd class="field-odd"><p>integer</p>
  2564. </dd>
  2565. <dt class="field-even">Default value</dt>
  2566. <dd class="field-even"><p>100</p>
  2567. </dd>
  2568. </dl>
  2569. <p>The number of first level databases that can be displayed on each page
  2570. of navigation tree.</p>
  2571. </dd></dl>
  2572. <dl class="config option">
  2573. <dt id="cfg_MaxNavigationItems">
  2574. <code class="sig-name descname">$cfg['MaxNavigationItems']</code><a class="headerlink" href="#cfg_MaxNavigationItems" title="Permalink to this definition">¶</a></dt>
  2575. <dd><dl class="field-list simple">
  2576. <dt class="field-odd">Type</dt>
  2577. <dd class="field-odd"><p>integer</p>
  2578. </dd>
  2579. <dt class="field-even">Default value</dt>
  2580. <dd class="field-even"><p>50</p>
  2581. </dd>
  2582. </dl>
  2583. <p>The number of items (tables, columns, indexes) that can be displayed on each
  2584. page of the navigation tree.</p>
  2585. </dd></dl>
  2586. <dl class="config option">
  2587. <dt id="cfg_NavigationTreeEnableGrouping">
  2588. <code class="sig-name descname">$cfg['NavigationTreeEnableGrouping']</code><a class="headerlink" href="#cfg_NavigationTreeEnableGrouping" title="Permalink to this definition">¶</a></dt>
  2589. <dd><dl class="field-list simple">
  2590. <dt class="field-odd">Type</dt>
  2591. <dd class="field-odd"><p>boolean</p>
  2592. </dd>
  2593. <dt class="field-even">Default value</dt>
  2594. <dd class="field-even"><p>true</p>
  2595. </dd>
  2596. </dl>
  2597. <p>Defines whether to group the databases based on a common prefix
  2598. in their name <span class="target" id="index-138"></span><a class="reference internal" href="#cfg_NavigationTreeDbSeparator"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['NavigationTreeDbSeparator']</span></code></a>.</p>
  2599. </dd></dl>
  2600. <dl class="config option">
  2601. <dt id="cfg_NavigationTreeDbSeparator">
  2602. <code class="sig-name descname">$cfg['NavigationTreeDbSeparator']</code><a class="headerlink" href="#cfg_NavigationTreeDbSeparator" title="Permalink to this definition">¶</a></dt>
  2603. <dd><dl class="field-list simple">
  2604. <dt class="field-odd">Type</dt>
  2605. <dd class="field-odd"><p>string</p>
  2606. </dd>
  2607. <dt class="field-even">Default value</dt>
  2608. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'_'</span></code></p>
  2609. </dd>
  2610. </dl>
  2611. <p>The string used to separate the parts of the database name when
  2612. showing them in a tree.</p>
  2613. </dd></dl>
  2614. <dl class="config option">
  2615. <dt id="cfg_NavigationTreeTableSeparator">
  2616. <code class="sig-name descname">$cfg['NavigationTreeTableSeparator']</code><a class="headerlink" href="#cfg_NavigationTreeTableSeparator" title="Permalink to this definition">¶</a></dt>
  2617. <dd><dl class="field-list simple">
  2618. <dt class="field-odd">Type</dt>
  2619. <dd class="field-odd"><p>string or array</p>
  2620. </dd>
  2621. <dt class="field-even">Default value</dt>
  2622. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'__'</span></code></p>
  2623. </dd>
  2624. </dl>
  2625. <p>Defines a string to be used to nest table spaces. This means if you have
  2626. tables like <code class="docutils literal notranslate"><span class="pre">first__second__third</span></code> this will be shown as a three-level
  2627. hierarchy like: first &gt; second &gt; third. If set to false or empty, the
  2628. feature is disabled. NOTE: You should not use this separator at the
  2629. beginning or end of a table name or multiple times after another without
  2630. any other characters in between.</p>
  2631. </dd></dl>
  2632. <dl class="config option">
  2633. <dt id="cfg_NavigationTreeTableLevel">
  2634. <code class="sig-name descname">$cfg['NavigationTreeTableLevel']</code><a class="headerlink" href="#cfg_NavigationTreeTableLevel" title="Permalink to this definition">¶</a></dt>
  2635. <dd><dl class="field-list simple">
  2636. <dt class="field-odd">Type</dt>
  2637. <dd class="field-odd"><p>integer</p>
  2638. </dd>
  2639. <dt class="field-even">Default value</dt>
  2640. <dd class="field-even"><p>1</p>
  2641. </dd>
  2642. </dl>
  2643. <p>Defines how many sublevels should be displayed when splitting up
  2644. tables by the above separator.</p>
  2645. </dd></dl>
  2646. <dl class="config option">
  2647. <dt id="cfg_NumRecentTables">
  2648. <code class="sig-name descname">$cfg['NumRecentTables']</code><a class="headerlink" href="#cfg_NumRecentTables" title="Permalink to this definition">¶</a></dt>
  2649. <dd><dl class="field-list simple">
  2650. <dt class="field-odd">Type</dt>
  2651. <dd class="field-odd"><p>integer</p>
  2652. </dd>
  2653. <dt class="field-even">Default value</dt>
  2654. <dd class="field-even"><p>10</p>
  2655. </dd>
  2656. </dl>
  2657. <p>The maximum number of recently used tables shown in the navigation
  2658. panel. Set this to 0 (zero) to disable the listing of recent tables.</p>
  2659. </dd></dl>
  2660. <dl class="config option">
  2661. <dt id="cfg_NumFavoriteTables">
  2662. <code class="sig-name descname">$cfg['NumFavoriteTables']</code><a class="headerlink" href="#cfg_NumFavoriteTables" title="Permalink to this definition">¶</a></dt>
  2663. <dd><dl class="field-list simple">
  2664. <dt class="field-odd">Type</dt>
  2665. <dd class="field-odd"><p>integer</p>
  2666. </dd>
  2667. <dt class="field-even">Default value</dt>
  2668. <dd class="field-even"><p>10</p>
  2669. </dd>
  2670. </dl>
  2671. <p>The maximum number of favorite tables shown in the navigation
  2672. panel. Set this to 0 (zero) to disable the listing of favorite tables.</p>
  2673. </dd></dl>
  2674. <dl class="config option">
  2675. <dt id="cfg_ZeroConf">
  2676. <code class="sig-name descname">$cfg['ZeroConf']</code><a class="headerlink" href="#cfg_ZeroConf" title="Permalink to this definition">¶</a></dt>
  2677. <dd><dl class="field-list simple">
  2678. <dt class="field-odd">Type</dt>
  2679. <dd class="field-odd"><p>boolean</p>
  2680. </dd>
  2681. <dt class="field-even">Default value</dt>
  2682. <dd class="field-even"><p>true</p>
  2683. </dd>
  2684. </dl>
  2685. <p>Enables Zero Configuration mode in which the user will be offered a choice to
  2686. create phpMyAdmin configuration storage in the current database
  2687. or use the existing one, if already present.</p>
  2688. <p>This setting has no effect if the phpMyAdmin configuration storage database
  2689. is properly created and the related configuration directives (such as
  2690. <span class="target" id="index-139"></span><a class="reference internal" href="#cfg_Servers_pmadb"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['pmadb']</span></code></a> and so on) are configured.</p>
  2691. </dd></dl>
  2692. <dl class="config option">
  2693. <dt id="cfg_NavigationLinkWithMainPanel">
  2694. <code class="sig-name descname">$cfg['NavigationLinkWithMainPanel']</code><a class="headerlink" href="#cfg_NavigationLinkWithMainPanel" title="Permalink to this definition">¶</a></dt>
  2695. <dd><dl class="field-list simple">
  2696. <dt class="field-odd">Type</dt>
  2697. <dd class="field-odd"><p>boolean</p>
  2698. </dd>
  2699. <dt class="field-even">Default value</dt>
  2700. <dd class="field-even"><p>true</p>
  2701. </dd>
  2702. </dl>
  2703. <p>Defines whether or not to link with main panel by highlighting
  2704. the current database or table.</p>
  2705. </dd></dl>
  2706. <dl class="config option">
  2707. <dt id="cfg_NavigationDisplayLogo">
  2708. <code class="sig-name descname">$cfg['NavigationDisplayLogo']</code><a class="headerlink" href="#cfg_NavigationDisplayLogo" title="Permalink to this definition">¶</a></dt>
  2709. <dd><dl class="field-list simple">
  2710. <dt class="field-odd">Type</dt>
  2711. <dd class="field-odd"><p>boolean</p>
  2712. </dd>
  2713. <dt class="field-even">Default value</dt>
  2714. <dd class="field-even"><p>true</p>
  2715. </dd>
  2716. </dl>
  2717. <p>Defines whether or not to display the phpMyAdmin logo at the top of
  2718. the navigation panel.</p>
  2719. </dd></dl>
  2720. <dl class="config option">
  2721. <dt id="cfg_NavigationLogoLink">
  2722. <code class="sig-name descname">$cfg['NavigationLogoLink']</code><a class="headerlink" href="#cfg_NavigationLogoLink" title="Permalink to this definition">¶</a></dt>
  2723. <dd><dl class="field-list simple">
  2724. <dt class="field-odd">Type</dt>
  2725. <dd class="field-odd"><p>string</p>
  2726. </dd>
  2727. <dt class="field-even">Default value</dt>
  2728. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'index.php'</span></code></p>
  2729. </dd>
  2730. </dl>
  2731. <p>Enter <a class="reference internal" href="glossary.html#term-URL"><span class="xref std std-term">URL</span></a> where logo in the navigation panel will point to.
  2732. For use especially with self made theme which changes this.
  2733. For relative/internal URLs, you need to have leading `` ./ `` or trailing characters `` ? `` such as <code class="docutils literal notranslate"><span class="pre">'./sql.php?'</span></code>.
  2734. For external URLs, you should include URL protocol schemes (<code class="docutils literal notranslate"><span class="pre">http</span></code> or <code class="docutils literal notranslate"><span class="pre">https</span></code>) with absolute URLs.</p>
  2735. </dd></dl>
  2736. <dl class="config option">
  2737. <dt id="cfg_NavigationLogoLinkWindow">
  2738. <code class="sig-name descname">$cfg['NavigationLogoLinkWindow']</code><a class="headerlink" href="#cfg_NavigationLogoLinkWindow" title="Permalink to this definition">¶</a></dt>
  2739. <dd><dl class="field-list simple">
  2740. <dt class="field-odd">Type</dt>
  2741. <dd class="field-odd"><p>string</p>
  2742. </dd>
  2743. <dt class="field-even">Default value</dt>
  2744. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'main'</span></code></p>
  2745. </dd>
  2746. </dl>
  2747. <p>Whether to open the linked page in the main window (<code class="docutils literal notranslate"><span class="pre">main</span></code>) or in a
  2748. new one (<code class="docutils literal notranslate"><span class="pre">new</span></code>). Note: use <code class="docutils literal notranslate"><span class="pre">new</span></code> if you are linking to
  2749. <code class="docutils literal notranslate"><span class="pre">phpmyadmin.net</span></code>.</p>
  2750. </dd></dl>
  2751. <dl class="config option">
  2752. <dt id="cfg_NavigationTreeDisplayItemFilterMinimum">
  2753. <code class="sig-name descname">$cfg['NavigationTreeDisplayItemFilterMinimum']</code><a class="headerlink" href="#cfg_NavigationTreeDisplayItemFilterMinimum" title="Permalink to this definition">¶</a></dt>
  2754. <dd><dl class="field-list simple">
  2755. <dt class="field-odd">Type</dt>
  2756. <dd class="field-odd"><p>integer</p>
  2757. </dd>
  2758. <dt class="field-even">Default value</dt>
  2759. <dd class="field-even"><p>30</p>
  2760. </dd>
  2761. </dl>
  2762. <p>Defines the minimum number of items (tables, views, routines and
  2763. events) to display a JavaScript filter box above the list of items in
  2764. the navigation tree.</p>
  2765. <p>To disable the filter completely some high number can be used (e.g. 9999)</p>
  2766. </dd></dl>
  2767. <dl class="config option">
  2768. <dt id="cfg_NavigationTreeDisplayDbFilterMinimum">
  2769. <code class="sig-name descname">$cfg['NavigationTreeDisplayDbFilterMinimum']</code><a class="headerlink" href="#cfg_NavigationTreeDisplayDbFilterMinimum" title="Permalink to this definition">¶</a></dt>
  2770. <dd><dl class="field-list simple">
  2771. <dt class="field-odd">Type</dt>
  2772. <dd class="field-odd"><p>integer</p>
  2773. </dd>
  2774. <dt class="field-even">Default value</dt>
  2775. <dd class="field-even"><p>30</p>
  2776. </dd>
  2777. </dl>
  2778. <p>Defines the minimum number of databases to display a JavaScript filter
  2779. box above the list of databases in the navigation tree.</p>
  2780. <p>To disable the filter completely some high number can be used
  2781. (e.g. 9999)</p>
  2782. </dd></dl>
  2783. <dl class="config option">
  2784. <dt id="cfg_NavigationDisplayServers">
  2785. <code class="sig-name descname">$cfg['NavigationDisplayServers']</code><a class="headerlink" href="#cfg_NavigationDisplayServers" title="Permalink to this definition">¶</a></dt>
  2786. <dd><dl class="field-list simple">
  2787. <dt class="field-odd">Type</dt>
  2788. <dd class="field-odd"><p>boolean</p>
  2789. </dd>
  2790. <dt class="field-even">Default value</dt>
  2791. <dd class="field-even"><p>true</p>
  2792. </dd>
  2793. </dl>
  2794. <p>Defines whether or not to display a server choice at the top of the
  2795. navigation panel.</p>
  2796. </dd></dl>
  2797. <dl class="config option">
  2798. <dt id="cfg_DisplayServersList">
  2799. <code class="sig-name descname">$cfg['DisplayServersList']</code><a class="headerlink" href="#cfg_DisplayServersList" title="Permalink to this definition">¶</a></dt>
  2800. <dd><dl class="field-list simple">
  2801. <dt class="field-odd">Type</dt>
  2802. <dd class="field-odd"><p>boolean</p>
  2803. </dd>
  2804. <dt class="field-even">Default value</dt>
  2805. <dd class="field-even"><p>false</p>
  2806. </dd>
  2807. </dl>
  2808. <p>Defines whether to display this server choice as links instead of in a
  2809. drop-down.</p>
  2810. </dd></dl>
  2811. <dl class="config option">
  2812. <dt id="cfg_NavigationTreeDefaultTabTable">
  2813. <code class="sig-name descname">$cfg['NavigationTreeDefaultTabTable']</code><a class="headerlink" href="#cfg_NavigationTreeDefaultTabTable" title="Permalink to this definition">¶</a></dt>
  2814. <dd><dl class="field-list simple">
  2815. <dt class="field-odd">Type</dt>
  2816. <dd class="field-odd"><p>string</p>
  2817. </dd>
  2818. <dt class="field-even">Default value</dt>
  2819. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'structure'</span></code></p>
  2820. </dd>
  2821. </dl>
  2822. <p>Defines the tab displayed by default when clicking the small icon next
  2823. to each table name in the navigation panel. The possible values are the
  2824. localized equivalent of:</p>
  2825. <ul class="simple">
  2826. <li><p><code class="docutils literal notranslate"><span class="pre">structure</span></code></p></li>
  2827. <li><p><code class="docutils literal notranslate"><span class="pre">sql</span></code></p></li>
  2828. <li><p><code class="docutils literal notranslate"><span class="pre">search</span></code></p></li>
  2829. <li><p><code class="docutils literal notranslate"><span class="pre">insert</span></code></p></li>
  2830. <li><p><code class="docutils literal notranslate"><span class="pre">browse</span></code></p></li>
  2831. </ul>
  2832. </dd></dl>
  2833. <dl class="config option">
  2834. <dt id="cfg_NavigationTreeDefaultTabTable2">
  2835. <code class="sig-name descname">$cfg['NavigationTreeDefaultTabTable2']</code><a class="headerlink" href="#cfg_NavigationTreeDefaultTabTable2" title="Permalink to this definition">¶</a></dt>
  2836. <dd><dl class="field-list simple">
  2837. <dt class="field-odd">Type</dt>
  2838. <dd class="field-odd"><p>string</p>
  2839. </dd>
  2840. <dt class="field-even">Default value</dt>
  2841. <dd class="field-even"><p>null</p>
  2842. </dd>
  2843. </dl>
  2844. <p>Defines the tab displayed by default when clicking the second small icon next
  2845. to each table name in the navigation panel. The possible values are the
  2846. localized equivalent of:</p>
  2847. <ul class="simple">
  2848. <li><p><code class="docutils literal notranslate"><span class="pre">(empty)</span></code></p></li>
  2849. <li><p><code class="docutils literal notranslate"><span class="pre">structure</span></code></p></li>
  2850. <li><p><code class="docutils literal notranslate"><span class="pre">sql</span></code></p></li>
  2851. <li><p><code class="docutils literal notranslate"><span class="pre">search</span></code></p></li>
  2852. <li><p><code class="docutils literal notranslate"><span class="pre">insert</span></code></p></li>
  2853. <li><p><code class="docutils literal notranslate"><span class="pre">browse</span></code></p></li>
  2854. </ul>
  2855. </dd></dl>
  2856. <dl class="config option">
  2857. <dt id="cfg_NavigationTreeEnableExpansion">
  2858. <code class="sig-name descname">$cfg['NavigationTreeEnableExpansion']</code><a class="headerlink" href="#cfg_NavigationTreeEnableExpansion" title="Permalink to this definition">¶</a></dt>
  2859. <dd><dl class="field-list simple">
  2860. <dt class="field-odd">Type</dt>
  2861. <dd class="field-odd"><p>boolean</p>
  2862. </dd>
  2863. <dt class="field-even">Default value</dt>
  2864. <dd class="field-even"><p>true</p>
  2865. </dd>
  2866. </dl>
  2867. <p>Whether to offer the possibility of tree expansion in the navigation panel.</p>
  2868. </dd></dl>
  2869. <dl class="config option">
  2870. <dt id="cfg_NavigationTreeShowTables">
  2871. <code class="sig-name descname">$cfg['NavigationTreeShowTables']</code><a class="headerlink" href="#cfg_NavigationTreeShowTables" title="Permalink to this definition">¶</a></dt>
  2872. <dd><dl class="field-list simple">
  2873. <dt class="field-odd">Type</dt>
  2874. <dd class="field-odd"><p>boolean</p>
  2875. </dd>
  2876. <dt class="field-even">Default value</dt>
  2877. <dd class="field-even"><p>true</p>
  2878. </dd>
  2879. </dl>
  2880. <p>Whether to show tables under database in the navigation panel.</p>
  2881. </dd></dl>
  2882. <dl class="config option">
  2883. <dt id="cfg_NavigationTreeShowViews">
  2884. <code class="sig-name descname">$cfg['NavigationTreeShowViews']</code><a class="headerlink" href="#cfg_NavigationTreeShowViews" title="Permalink to this definition">¶</a></dt>
  2885. <dd><dl class="field-list simple">
  2886. <dt class="field-odd">Type</dt>
  2887. <dd class="field-odd"><p>boolean</p>
  2888. </dd>
  2889. <dt class="field-even">Default value</dt>
  2890. <dd class="field-even"><p>true</p>
  2891. </dd>
  2892. </dl>
  2893. <p>Whether to show views under database in the navigation panel.</p>
  2894. </dd></dl>
  2895. <dl class="config option">
  2896. <dt id="cfg_NavigationTreeShowFunctions">
  2897. <code class="sig-name descname">$cfg['NavigationTreeShowFunctions']</code><a class="headerlink" href="#cfg_NavigationTreeShowFunctions" title="Permalink to this definition">¶</a></dt>
  2898. <dd><dl class="field-list simple">
  2899. <dt class="field-odd">Type</dt>
  2900. <dd class="field-odd"><p>boolean</p>
  2901. </dd>
  2902. <dt class="field-even">Default value</dt>
  2903. <dd class="field-even"><p>true</p>
  2904. </dd>
  2905. </dl>
  2906. <p>Whether to show functions under database in the navigation panel.</p>
  2907. </dd></dl>
  2908. <dl class="config option">
  2909. <dt id="cfg_NavigationTreeShowProcedures">
  2910. <code class="sig-name descname">$cfg['NavigationTreeShowProcedures']</code><a class="headerlink" href="#cfg_NavigationTreeShowProcedures" title="Permalink to this definition">¶</a></dt>
  2911. <dd><dl class="field-list simple">
  2912. <dt class="field-odd">Type</dt>
  2913. <dd class="field-odd"><p>boolean</p>
  2914. </dd>
  2915. <dt class="field-even">Default value</dt>
  2916. <dd class="field-even"><p>true</p>
  2917. </dd>
  2918. </dl>
  2919. <p>Whether to show procedures under database in the navigation panel.</p>
  2920. </dd></dl>
  2921. <dl class="config option">
  2922. <dt id="cfg_NavigationTreeShowEvents">
  2923. <code class="sig-name descname">$cfg['NavigationTreeShowEvents']</code><a class="headerlink" href="#cfg_NavigationTreeShowEvents" title="Permalink to this definition">¶</a></dt>
  2924. <dd><dl class="field-list simple">
  2925. <dt class="field-odd">Type</dt>
  2926. <dd class="field-odd"><p>boolean</p>
  2927. </dd>
  2928. <dt class="field-even">Default value</dt>
  2929. <dd class="field-even"><p>true</p>
  2930. </dd>
  2931. </dl>
  2932. <p>Whether to show events under database in the navigation panel.</p>
  2933. </dd></dl>
  2934. <dl class="config option">
  2935. <dt id="cfg_NavigationWidth">
  2936. <code class="sig-name descname">$cfg['NavigationWidth']</code><a class="headerlink" href="#cfg_NavigationWidth" title="Permalink to this definition">¶</a></dt>
  2937. <dd><dl class="field-list simple">
  2938. <dt class="field-odd">Type</dt>
  2939. <dd class="field-odd"><p>integer</p>
  2940. </dd>
  2941. <dt class="field-even">Default value</dt>
  2942. <dd class="field-even"><p>240</p>
  2943. </dd>
  2944. </dl>
  2945. <p>Navigation panel width, set to 0 to collapse it by default.</p>
  2946. </dd></dl>
  2947. </div>
  2948. <div class="section" id="main-panel">
  2949. <h2>Main panel<a class="headerlink" href="#main-panel" title="Permalink to this headline">¶</a></h2>
  2950. <dl class="config option">
  2951. <dt id="cfg_ShowStats">
  2952. <code class="sig-name descname">$cfg['ShowStats']</code><a class="headerlink" href="#cfg_ShowStats" title="Permalink to this definition">¶</a></dt>
  2953. <dd><dl class="field-list simple">
  2954. <dt class="field-odd">Type</dt>
  2955. <dd class="field-odd"><p>boolean</p>
  2956. </dd>
  2957. <dt class="field-even">Default value</dt>
  2958. <dd class="field-even"><p>true</p>
  2959. </dd>
  2960. </dl>
  2961. <p>Defines whether or not to display space usage and statistics about
  2962. databases and tables. Note that statistics requires at least MySQL
  2963. 3.23.3 and that, at this date, MySQL doesn’t return such information
  2964. for Berkeley DB tables.</p>
  2965. </dd></dl>
  2966. <dl class="config option">
  2967. <dt id="cfg_ShowServerInfo">
  2968. <code class="sig-name descname">$cfg['ShowServerInfo']</code><a class="headerlink" href="#cfg_ShowServerInfo" title="Permalink to this definition">¶</a></dt>
  2969. <dd><dl class="field-list simple">
  2970. <dt class="field-odd">Type</dt>
  2971. <dd class="field-odd"><p>boolean</p>
  2972. </dd>
  2973. <dt class="field-even">Default value</dt>
  2974. <dd class="field-even"><p>true</p>
  2975. </dd>
  2976. </dl>
  2977. <p>Defines whether to display detailed server information on main page.
  2978. You can additionally hide more information by using
  2979. <span class="target" id="index-140"></span><a class="reference internal" href="#cfg_Servers_verbose"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['verbose']</span></code></a>.</p>
  2980. </dd></dl>
  2981. <dl class="config option">
  2982. <dt id="cfg_ShowPhpInfo">
  2983. <code class="sig-name descname">$cfg['ShowPhpInfo']</code><a class="headerlink" href="#cfg_ShowPhpInfo" title="Permalink to this definition">¶</a></dt>
  2984. <dd><dl class="field-list simple">
  2985. <dt class="field-odd">Type</dt>
  2986. <dd class="field-odd"><p>boolean</p>
  2987. </dd>
  2988. <dt class="field-even">Default value</dt>
  2989. <dd class="field-even"><p>false</p>
  2990. </dd>
  2991. </dl>
  2992. <p>Defines whether to display the <span class="guilabel">PHP information</span> or not at
  2993. the starting main (right) frame.</p>
  2994. <p>Please note that to block the usage of <code class="docutils literal notranslate"><span class="pre">phpinfo()</span></code> in scripts, you have to
  2995. put this in your <code class="file docutils literal notranslate"><span class="pre">php.ini</span></code>:</p>
  2996. <div class="highlight-ini notranslate"><div class="highlight"><pre><span></span><span class="na">disable_functions</span> <span class="o">=</span> <span class="s">phpinfo()</span>
  2997. </pre></div>
  2998. </div>
  2999. <div class="admonition warning">
  3000. <p class="admonition-title">Warning</p>
  3001. <p>Enabling phpinfo page will leak quite a lot of information about server
  3002. setup. Is it not recommended to enable this on shared installations.</p>
  3003. <p>This might also make easier some remote attacks on your installations,
  3004. so enable this only when needed.</p>
  3005. </div>
  3006. </dd></dl>
  3007. <dl class="config option">
  3008. <dt id="cfg_ShowChgPassword">
  3009. <code class="sig-name descname">$cfg['ShowChgPassword']</code><a class="headerlink" href="#cfg_ShowChgPassword" title="Permalink to this definition">¶</a></dt>
  3010. <dd><dl class="field-list simple">
  3011. <dt class="field-odd">Type</dt>
  3012. <dd class="field-odd"><p>boolean</p>
  3013. </dd>
  3014. <dt class="field-even">Default value</dt>
  3015. <dd class="field-even"><p>true</p>
  3016. </dd>
  3017. </dl>
  3018. <p>Defines whether to display the <span class="guilabel">Change password</span> link or not at
  3019. the starting main (right) frame. This setting does not check MySQL commands
  3020. entered directly.</p>
  3021. <p>Please note that enabling the <span class="guilabel">Change password</span> link has no effect
  3022. with config authentication mode: because of the hard coded password value
  3023. in the configuration file, end users can’t be allowed to change their
  3024. passwords.</p>
  3025. </dd></dl>
  3026. <dl class="config option">
  3027. <dt id="cfg_ShowCreateDb">
  3028. <code class="sig-name descname">$cfg['ShowCreateDb']</code><a class="headerlink" href="#cfg_ShowCreateDb" title="Permalink to this definition">¶</a></dt>
  3029. <dd><dl class="field-list simple">
  3030. <dt class="field-odd">Type</dt>
  3031. <dd class="field-odd"><p>boolean</p>
  3032. </dd>
  3033. <dt class="field-even">Default value</dt>
  3034. <dd class="field-even"><p>true</p>
  3035. </dd>
  3036. </dl>
  3037. <p>Defines whether to display the form for creating database or not at the
  3038. starting main (right) frame. This setting does not check MySQL commands
  3039. entered directly.</p>
  3040. </dd></dl>
  3041. <dl class="config option">
  3042. <dt id="cfg_ShowGitRevision">
  3043. <code class="sig-name descname">$cfg['ShowGitRevision']</code><a class="headerlink" href="#cfg_ShowGitRevision" title="Permalink to this definition">¶</a></dt>
  3044. <dd><dl class="field-list simple">
  3045. <dt class="field-odd">Type</dt>
  3046. <dd class="field-odd"><p>boolean</p>
  3047. </dd>
  3048. <dt class="field-even">Default value</dt>
  3049. <dd class="field-even"><p>true</p>
  3050. </dd>
  3051. </dl>
  3052. <p>Defines whether to display informations about the current Git revision (if
  3053. applicable) on the main panel.</p>
  3054. </dd></dl>
  3055. <dl class="config option">
  3056. <dt id="cfg_MysqlMinVersion">
  3057. <code class="sig-name descname">$cfg['MysqlMinVersion']</code><a class="headerlink" href="#cfg_MysqlMinVersion" title="Permalink to this definition">¶</a></dt>
  3058. <dd><dl class="field-list simple">
  3059. <dt class="field-odd">Type</dt>
  3060. <dd class="field-odd"><p>array</p>
  3061. </dd>
  3062. </dl>
  3063. <p>Defines the minimum supported MySQL version. The default is chosen
  3064. by the phpMyAdmin team; however this directive was asked by a developer
  3065. of the Plesk control panel to ease integration with older MySQL servers
  3066. (where most of the phpMyAdmin features work).</p>
  3067. </dd></dl>
  3068. </div>
  3069. <div class="section" id="database-structure">
  3070. <h2>Database structure<a class="headerlink" href="#database-structure" title="Permalink to this headline">¶</a></h2>
  3071. <dl class="config option">
  3072. <dt id="cfg_ShowDbStructureCreation">
  3073. <code class="sig-name descname">$cfg['ShowDbStructureCreation']</code><a class="headerlink" href="#cfg_ShowDbStructureCreation" title="Permalink to this definition">¶</a></dt>
  3074. <dd><dl class="field-list simple">
  3075. <dt class="field-odd">Type</dt>
  3076. <dd class="field-odd"><p>boolean</p>
  3077. </dd>
  3078. <dt class="field-even">Default value</dt>
  3079. <dd class="field-even"><p>false</p>
  3080. </dd>
  3081. </dl>
  3082. <p>Defines whether the database structure page (tables list) has a
  3083. “Creation” column that displays when each table was created.</p>
  3084. </dd></dl>
  3085. <dl class="config option">
  3086. <dt id="cfg_ShowDbStructureLastUpdate">
  3087. <code class="sig-name descname">$cfg['ShowDbStructureLastUpdate']</code><a class="headerlink" href="#cfg_ShowDbStructureLastUpdate" title="Permalink to this definition">¶</a></dt>
  3088. <dd><dl class="field-list simple">
  3089. <dt class="field-odd">Type</dt>
  3090. <dd class="field-odd"><p>boolean</p>
  3091. </dd>
  3092. <dt class="field-even">Default value</dt>
  3093. <dd class="field-even"><p>false</p>
  3094. </dd>
  3095. </dl>
  3096. <p>Defines whether the database structure page (tables list) has a “Last
  3097. update” column that displays when each table was last updated.</p>
  3098. </dd></dl>
  3099. <dl class="config option">
  3100. <dt id="cfg_ShowDbStructureLastCheck">
  3101. <code class="sig-name descname">$cfg['ShowDbStructureLastCheck']</code><a class="headerlink" href="#cfg_ShowDbStructureLastCheck" title="Permalink to this definition">¶</a></dt>
  3102. <dd><dl class="field-list simple">
  3103. <dt class="field-odd">Type</dt>
  3104. <dd class="field-odd"><p>boolean</p>
  3105. </dd>
  3106. <dt class="field-even">Default value</dt>
  3107. <dd class="field-even"><p>false</p>
  3108. </dd>
  3109. </dl>
  3110. <p>Defines whether the database structure page (tables list) has a “Last
  3111. check” column that displays when each table was last checked.</p>
  3112. </dd></dl>
  3113. <dl class="config option">
  3114. <dt id="cfg_HideStructureActions">
  3115. <code class="sig-name descname">$cfg['HideStructureActions']</code><a class="headerlink" href="#cfg_HideStructureActions" title="Permalink to this definition">¶</a></dt>
  3116. <dd><dl class="field-list simple">
  3117. <dt class="field-odd">Type</dt>
  3118. <dd class="field-odd"><p>boolean</p>
  3119. </dd>
  3120. <dt class="field-even">Default value</dt>
  3121. <dd class="field-even"><p>true</p>
  3122. </dd>
  3123. </dl>
  3124. <p>Defines whether the table structure actions are hidden under a “More”
  3125. drop-down.</p>
  3126. </dd></dl>
  3127. <dl class="config option">
  3128. <dt id="cfg_ShowColumnComments">
  3129. <code class="sig-name descname">$cfg['ShowColumnComments']</code><a class="headerlink" href="#cfg_ShowColumnComments" title="Permalink to this definition">¶</a></dt>
  3130. <dd><dl class="field-list simple">
  3131. <dt class="field-odd">Type</dt>
  3132. <dd class="field-odd"><p>boolean</p>
  3133. </dd>
  3134. <dt class="field-even">Default value</dt>
  3135. <dd class="field-even"><p>true</p>
  3136. </dd>
  3137. </dl>
  3138. <p>Defines whether to show column comments as a column in the table structure view.</p>
  3139. </dd></dl>
  3140. </div>
  3141. <div class="section" id="browse-mode">
  3142. <h2>Browse mode<a class="headerlink" href="#browse-mode" title="Permalink to this headline">¶</a></h2>
  3143. <dl class="config option">
  3144. <dt id="cfg_TableNavigationLinksMode">
  3145. <code class="sig-name descname">$cfg['TableNavigationLinksMode']</code><a class="headerlink" href="#cfg_TableNavigationLinksMode" title="Permalink to this definition">¶</a></dt>
  3146. <dd><dl class="field-list simple">
  3147. <dt class="field-odd">Type</dt>
  3148. <dd class="field-odd"><p>string</p>
  3149. </dd>
  3150. <dt class="field-even">Default value</dt>
  3151. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'icons'</span></code></p>
  3152. </dd>
  3153. </dl>
  3154. <p>Defines whether the table navigation links contain <code class="docutils literal notranslate"><span class="pre">'icons'</span></code>, <code class="docutils literal notranslate"><span class="pre">'text'</span></code>
  3155. or <code class="docutils literal notranslate"><span class="pre">'both'</span></code>.</p>
  3156. </dd></dl>
  3157. <dl class="config option">
  3158. <dt id="cfg_ActionLinksMode">
  3159. <code class="sig-name descname">$cfg['ActionLinksMode']</code><a class="headerlink" href="#cfg_ActionLinksMode" title="Permalink to this definition">¶</a></dt>
  3160. <dd><dl class="field-list simple">
  3161. <dt class="field-odd">Type</dt>
  3162. <dd class="field-odd"><p>string</p>
  3163. </dd>
  3164. <dt class="field-even">Default value</dt>
  3165. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'both'</span></code></p>
  3166. </dd>
  3167. </dl>
  3168. <p>If set to <code class="docutils literal notranslate"><span class="pre">icons</span></code>, will display icons instead of text for db and table
  3169. properties links (like <span class="guilabel">Browse</span>, <span class="guilabel">Select</span>,
  3170. <span class="guilabel">Insert</span>, …). Can be set to <code class="docutils literal notranslate"><span class="pre">'both'</span></code>
  3171. if you want icons AND text. When set to <code class="docutils literal notranslate"><span class="pre">text</span></code>, will only show text.</p>
  3172. </dd></dl>
  3173. <dl class="config option">
  3174. <dt id="cfg_RowActionType">
  3175. <code class="sig-name descname">$cfg['RowActionType']</code><a class="headerlink" href="#cfg_RowActionType" title="Permalink to this definition">¶</a></dt>
  3176. <dd><dl class="field-list simple">
  3177. <dt class="field-odd">Type</dt>
  3178. <dd class="field-odd"><p>string</p>
  3179. </dd>
  3180. <dt class="field-even">Default value</dt>
  3181. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'both'</span></code></p>
  3182. </dd>
  3183. </dl>
  3184. <p>Whether to display icons or text or both icons and text in table row action
  3185. segment. Value can be either of <code class="docutils literal notranslate"><span class="pre">'icons'</span></code>, <code class="docutils literal notranslate"><span class="pre">'text'</span></code> or <code class="docutils literal notranslate"><span class="pre">'both'</span></code>.</p>
  3186. </dd></dl>
  3187. <dl class="config option">
  3188. <dt id="cfg_ShowAll">
  3189. <code class="sig-name descname">$cfg['ShowAll']</code><a class="headerlink" href="#cfg_ShowAll" title="Permalink to this definition">¶</a></dt>
  3190. <dd><dl class="field-list simple">
  3191. <dt class="field-odd">Type</dt>
  3192. <dd class="field-odd"><p>boolean</p>
  3193. </dd>
  3194. <dt class="field-even">Default value</dt>
  3195. <dd class="field-even"><p>false</p>
  3196. </dd>
  3197. </dl>
  3198. <p>Defines whether a user should be displayed a “Show all” button in browse
  3199. mode or not in all cases. By default it is shown only on small tables (less
  3200. than 500 rows) to avoid performance issues while getting too many rows.</p>
  3201. </dd></dl>
  3202. <dl class="config option">
  3203. <dt id="cfg_MaxRows">
  3204. <code class="sig-name descname">$cfg['MaxRows']</code><a class="headerlink" href="#cfg_MaxRows" title="Permalink to this definition">¶</a></dt>
  3205. <dd><dl class="field-list simple">
  3206. <dt class="field-odd">Type</dt>
  3207. <dd class="field-odd"><p>integer</p>
  3208. </dd>
  3209. <dt class="field-even">Default value</dt>
  3210. <dd class="field-even"><p>25</p>
  3211. </dd>
  3212. </dl>
  3213. <p>Number of rows displayed when browsing a result set and no LIMIT
  3214. clause is used. If the result set contains more rows, “Previous” and
  3215. “Next” links will be shown. Possible values: 25,50,100,250,500.</p>
  3216. </dd></dl>
  3217. <dl class="config option">
  3218. <dt id="cfg_Order">
  3219. <code class="sig-name descname">$cfg['Order']</code><a class="headerlink" href="#cfg_Order" title="Permalink to this definition">¶</a></dt>
  3220. <dd><dl class="field-list simple">
  3221. <dt class="field-odd">Type</dt>
  3222. <dd class="field-odd"><p>string</p>
  3223. </dd>
  3224. <dt class="field-even">Default value</dt>
  3225. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'SMART'</span></code></p>
  3226. </dd>
  3227. </dl>
  3228. <p>Defines whether columns are displayed in ascending (<code class="docutils literal notranslate"><span class="pre">ASC</span></code>) order, in
  3229. descending (<code class="docutils literal notranslate"><span class="pre">DESC</span></code>) order or in a “smart” (<code class="docutils literal notranslate"><span class="pre">SMART</span></code>) order - I.E.
  3230. descending order for columns of type TIME, DATE, DATETIME and
  3231. TIMESTAMP, ascending order else- by default.</p>
  3232. <div class="versionchanged">
  3233. <p><span class="versionmodified changed">Changed in version 3.4.0: </span>Since phpMyAdmin 3.4.0 the default value is <code class="docutils literal notranslate"><span class="pre">'SMART'</span></code>.</p>
  3234. </div>
  3235. </dd></dl>
  3236. <dl class="config option">
  3237. <dt id="cfg_GridEditing">
  3238. <code class="sig-name descname">$cfg['GridEditing']</code><a class="headerlink" href="#cfg_GridEditing" title="Permalink to this definition">¶</a></dt>
  3239. <dd><dl class="field-list simple">
  3240. <dt class="field-odd">Type</dt>
  3241. <dd class="field-odd"><p>string</p>
  3242. </dd>
  3243. <dt class="field-even">Default value</dt>
  3244. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'double-click'</span></code></p>
  3245. </dd>
  3246. </dl>
  3247. <p>Defines which action (<code class="docutils literal notranslate"><span class="pre">double-click</span></code> or <code class="docutils literal notranslate"><span class="pre">click</span></code>) triggers grid
  3248. editing. Can be deactivated with the <code class="docutils literal notranslate"><span class="pre">disabled</span></code> value.</p>
  3249. </dd></dl>
  3250. <dl class="config option">
  3251. <dt id="cfg_RelationalDisplay">
  3252. <code class="sig-name descname">$cfg['RelationalDisplay']</code><a class="headerlink" href="#cfg_RelationalDisplay" title="Permalink to this definition">¶</a></dt>
  3253. <dd><dl class="field-list simple">
  3254. <dt class="field-odd">Type</dt>
  3255. <dd class="field-odd"><p>string</p>
  3256. </dd>
  3257. <dt class="field-even">Default value</dt>
  3258. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'K'</span></code></p>
  3259. </dd>
  3260. </dl>
  3261. <p>Defines the initial behavior for Options &gt; Relational. <code class="docutils literal notranslate"><span class="pre">K</span></code>, which
  3262. is the default, displays the key while <code class="docutils literal notranslate"><span class="pre">D</span></code> shows the display column.</p>
  3263. </dd></dl>
  3264. <dl class="config option">
  3265. <dt id="cfg_SaveCellsAtOnce">
  3266. <code class="sig-name descname">$cfg['SaveCellsAtOnce']</code><a class="headerlink" href="#cfg_SaveCellsAtOnce" title="Permalink to this definition">¶</a></dt>
  3267. <dd><dl class="field-list simple">
  3268. <dt class="field-odd">Type</dt>
  3269. <dd class="field-odd"><p>boolean</p>
  3270. </dd>
  3271. <dt class="field-even">Default value</dt>
  3272. <dd class="field-even"><p>false</p>
  3273. </dd>
  3274. </dl>
  3275. <p>Defines whether or not to save all edited cells at once for grid
  3276. editing.</p>
  3277. </dd></dl>
  3278. </div>
  3279. <div class="section" id="editing-mode">
  3280. <h2>Editing mode<a class="headerlink" href="#editing-mode" title="Permalink to this headline">¶</a></h2>
  3281. <dl class="config option">
  3282. <dt id="cfg_ProtectBinary">
  3283. <code class="sig-name descname">$cfg['ProtectBinary']</code><a class="headerlink" href="#cfg_ProtectBinary" title="Permalink to this definition">¶</a></dt>
  3284. <dd><dl class="field-list simple">
  3285. <dt class="field-odd">Type</dt>
  3286. <dd class="field-odd"><p>boolean or string</p>
  3287. </dd>
  3288. <dt class="field-even">Default value</dt>
  3289. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'blob'</span></code></p>
  3290. </dd>
  3291. </dl>
  3292. <p>Defines whether <code class="docutils literal notranslate"><span class="pre">BLOB</span></code> or <code class="docutils literal notranslate"><span class="pre">BINARY</span></code> columns are protected from
  3293. editing when browsing a table’s content. Valid values are:</p>
  3294. <ul class="simple">
  3295. <li><p><code class="docutils literal notranslate"><span class="pre">false</span></code> to allow editing of all columns;</p></li>
  3296. <li><p><code class="docutils literal notranslate"><span class="pre">'blob'</span></code> to allow editing of all columns except <code class="docutils literal notranslate"><span class="pre">BLOBS</span></code>;</p></li>
  3297. <li><p><code class="docutils literal notranslate"><span class="pre">'noblob'</span></code> to disallow editing of all columns except <code class="docutils literal notranslate"><span class="pre">BLOBS</span></code> (the
  3298. opposite of <code class="docutils literal notranslate"><span class="pre">'blob'</span></code>);</p></li>
  3299. <li><p><code class="docutils literal notranslate"><span class="pre">'all'</span></code> to disallow editing of all <code class="docutils literal notranslate"><span class="pre">BINARY</span></code> or <code class="docutils literal notranslate"><span class="pre">BLOB</span></code> columns.</p></li>
  3300. </ul>
  3301. </dd></dl>
  3302. <dl class="config option">
  3303. <dt id="cfg_ShowFunctionFields">
  3304. <code class="sig-name descname">$cfg['ShowFunctionFields']</code><a class="headerlink" href="#cfg_ShowFunctionFields" title="Permalink to this definition">¶</a></dt>
  3305. <dd><dl class="field-list simple">
  3306. <dt class="field-odd">Type</dt>
  3307. <dd class="field-odd"><p>boolean</p>
  3308. </dd>
  3309. <dt class="field-even">Default value</dt>
  3310. <dd class="field-even"><p>true</p>
  3311. </dd>
  3312. </dl>
  3313. <p>Defines whether or not MySQL functions fields should be initially
  3314. displayed in edit/insert mode. Since version 2.10, the user can toggle
  3315. this setting from the interface.</p>
  3316. </dd></dl>
  3317. <dl class="config option">
  3318. <dt id="cfg_ShowFieldTypesInDataEditView">
  3319. <code class="sig-name descname">$cfg['ShowFieldTypesInDataEditView']</code><a class="headerlink" href="#cfg_ShowFieldTypesInDataEditView" title="Permalink to this definition">¶</a></dt>
  3320. <dd><dl class="field-list simple">
  3321. <dt class="field-odd">Type</dt>
  3322. <dd class="field-odd"><p>boolean</p>
  3323. </dd>
  3324. <dt class="field-even">Default value</dt>
  3325. <dd class="field-even"><p>true</p>
  3326. </dd>
  3327. </dl>
  3328. <p>Defines whether or not type fields should be initially displayed in
  3329. edit/insert mode. The user can toggle this setting from the interface.</p>
  3330. </dd></dl>
  3331. <dl class="config option">
  3332. <dt id="cfg_InsertRows">
  3333. <code class="sig-name descname">$cfg['InsertRows']</code><a class="headerlink" href="#cfg_InsertRows" title="Permalink to this definition">¶</a></dt>
  3334. <dd><dl class="field-list simple">
  3335. <dt class="field-odd">Type</dt>
  3336. <dd class="field-odd"><p>integer</p>
  3337. </dd>
  3338. <dt class="field-even">Default value</dt>
  3339. <dd class="field-even"><p>2</p>
  3340. </dd>
  3341. </dl>
  3342. <p>Defines the default number of rows to be entered from the Insert page.
  3343. Users can manually change this from the bottom of that page to add or remove
  3344. blank rows.</p>
  3345. </dd></dl>
  3346. <dl class="config option">
  3347. <dt id="cfg_ForeignKeyMaxLimit">
  3348. <code class="sig-name descname">$cfg['ForeignKeyMaxLimit']</code><a class="headerlink" href="#cfg_ForeignKeyMaxLimit" title="Permalink to this definition">¶</a></dt>
  3349. <dd><dl class="field-list simple">
  3350. <dt class="field-odd">Type</dt>
  3351. <dd class="field-odd"><p>integer</p>
  3352. </dd>
  3353. <dt class="field-even">Default value</dt>
  3354. <dd class="field-even"><p>100</p>
  3355. </dd>
  3356. </dl>
  3357. <p>If there are fewer items than this in the set of foreign keys, then a
  3358. drop-down box of foreign keys is presented, in the style described by
  3359. the <span class="target" id="index-141"></span><a class="reference internal" href="#cfg_ForeignKeyDropdownOrder"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['ForeignKeyDropdownOrder']</span></code></a> setting.</p>
  3360. </dd></dl>
  3361. <dl class="config option">
  3362. <dt id="cfg_ForeignKeyDropdownOrder">
  3363. <code class="sig-name descname">$cfg['ForeignKeyDropdownOrder']</code><a class="headerlink" href="#cfg_ForeignKeyDropdownOrder" title="Permalink to this definition">¶</a></dt>
  3364. <dd><dl class="field-list simple">
  3365. <dt class="field-odd">Type</dt>
  3366. <dd class="field-odd"><p>array</p>
  3367. </dd>
  3368. <dt class="field-even">Default value</dt>
  3369. <dd class="field-even"><p>array(‘content-id’, ‘id-content’)</p>
  3370. </dd>
  3371. </dl>
  3372. <p>For the foreign key drop-down fields, there are several methods of
  3373. display, offering both the key and value data. The contents of the
  3374. array should be one or both of the following strings: <code class="docutils literal notranslate"><span class="pre">content-id</span></code>,
  3375. <code class="docutils literal notranslate"><span class="pre">id-content</span></code>.</p>
  3376. </dd></dl>
  3377. </div>
  3378. <div class="section" id="export-and-import-settings">
  3379. <h2>Export and import settings<a class="headerlink" href="#export-and-import-settings" title="Permalink to this headline">¶</a></h2>
  3380. <dl class="config option">
  3381. <dt id="cfg_ZipDump">
  3382. <code class="sig-name descname">$cfg['ZipDump']</code><a class="headerlink" href="#cfg_ZipDump" title="Permalink to this definition">¶</a></dt>
  3383. <dd><dl class="field-list simple">
  3384. <dt class="field-odd">Type</dt>
  3385. <dd class="field-odd"><p>boolean</p>
  3386. </dd>
  3387. <dt class="field-even">Default value</dt>
  3388. <dd class="field-even"><p>true</p>
  3389. </dd>
  3390. </dl>
  3391. </dd></dl>
  3392. <dl class="config option">
  3393. <dt id="cfg_GZipDump">
  3394. <code class="sig-name descname">$cfg['GZipDump']</code><a class="headerlink" href="#cfg_GZipDump" title="Permalink to this definition">¶</a></dt>
  3395. <dd><dl class="field-list simple">
  3396. <dt class="field-odd">Type</dt>
  3397. <dd class="field-odd"><p>boolean</p>
  3398. </dd>
  3399. <dt class="field-even">Default value</dt>
  3400. <dd class="field-even"><p>true</p>
  3401. </dd>
  3402. </dl>
  3403. </dd></dl>
  3404. <dl class="config option">
  3405. <dt id="cfg_BZipDump">
  3406. <code class="sig-name descname">$cfg['BZipDump']</code><a class="headerlink" href="#cfg_BZipDump" title="Permalink to this definition">¶</a></dt>
  3407. <dd><dl class="field-list simple">
  3408. <dt class="field-odd">Type</dt>
  3409. <dd class="field-odd"><p>boolean</p>
  3410. </dd>
  3411. <dt class="field-even">Default value</dt>
  3412. <dd class="field-even"><p>true</p>
  3413. </dd>
  3414. </dl>
  3415. <p>Defines whether to allow the use of zip/GZip/BZip2 compression when
  3416. creating a dump file</p>
  3417. </dd></dl>
  3418. <dl class="config option">
  3419. <dt id="cfg_CompressOnFly">
  3420. <code class="sig-name descname">$cfg['CompressOnFly']</code><a class="headerlink" href="#cfg_CompressOnFly" title="Permalink to this definition">¶</a></dt>
  3421. <dd><dl class="field-list simple">
  3422. <dt class="field-odd">Type</dt>
  3423. <dd class="field-odd"><p>boolean</p>
  3424. </dd>
  3425. <dt class="field-even">Default value</dt>
  3426. <dd class="field-even"><p>true</p>
  3427. </dd>
  3428. </dl>
  3429. <p>Defines whether to allow on the fly compression for GZip/BZip2
  3430. compressed exports. This doesn’t affect smaller dumps and allows users
  3431. to create larger dumps that won’t otherwise fit in memory due to php
  3432. memory limit. Produced files contain more GZip/BZip2 headers, but all
  3433. normal programs handle this correctly.</p>
  3434. </dd></dl>
  3435. <dl class="config option">
  3436. <dt id="cfg_Export">
  3437. <code class="sig-name descname">$cfg['Export']</code><a class="headerlink" href="#cfg_Export" title="Permalink to this definition">¶</a></dt>
  3438. <dd><dl class="field-list simple">
  3439. <dt class="field-odd">Type</dt>
  3440. <dd class="field-odd"><p>array</p>
  3441. </dd>
  3442. <dt class="field-even">Default value</dt>
  3443. <dd class="field-even"><p>array(…)</p>
  3444. </dd>
  3445. </dl>
  3446. <p>In this array are defined default parameters for export, names of
  3447. items are similar to texts seen on export page, so you can easily
  3448. identify what they mean.</p>
  3449. </dd></dl>
  3450. <dl class="config option">
  3451. <dt id="cfg_Export_format">
  3452. <code class="sig-name descname">$cfg['Export']['format']</code><a class="headerlink" href="#cfg_Export_format" title="Permalink to this definition">¶</a></dt>
  3453. <dd><dl class="field-list simple">
  3454. <dt class="field-odd">Type</dt>
  3455. <dd class="field-odd"><p>string</p>
  3456. </dd>
  3457. <dt class="field-even">Default value</dt>
  3458. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'sql'</span></code></p>
  3459. </dd>
  3460. </dl>
  3461. <p>Default export format.</p>
  3462. </dd></dl>
  3463. <dl class="config option">
  3464. <dt id="cfg_Export_method">
  3465. <code class="sig-name descname">$cfg['Export']['method']</code><a class="headerlink" href="#cfg_Export_method" title="Permalink to this definition">¶</a></dt>
  3466. <dd><dl class="field-list simple">
  3467. <dt class="field-odd">Type</dt>
  3468. <dd class="field-odd"><p>string</p>
  3469. </dd>
  3470. <dt class="field-even">Default value</dt>
  3471. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'quick'</span></code></p>
  3472. </dd>
  3473. </dl>
  3474. <p>Defines how the export form is displayed when it loads. Valid values
  3475. are:</p>
  3476. <ul class="simple">
  3477. <li><p><code class="docutils literal notranslate"><span class="pre">quick</span></code> to display the minimum number of options to configure</p></li>
  3478. <li><p><code class="docutils literal notranslate"><span class="pre">custom</span></code> to display every available option to configure</p></li>
  3479. <li><p><code class="docutils literal notranslate"><span class="pre">custom-no-form</span></code> same as <code class="docutils literal notranslate"><span class="pre">custom</span></code> but does not display the option
  3480. of using quick export</p></li>
  3481. </ul>
  3482. </dd></dl>
  3483. <dl class="config option">
  3484. <dt id="cfg_Export_charset">
  3485. <code class="sig-name descname">$cfg['Export']['charset']</code><a class="headerlink" href="#cfg_Export_charset" title="Permalink to this definition">¶</a></dt>
  3486. <dd><dl class="field-list simple">
  3487. <dt class="field-odd">Type</dt>
  3488. <dd class="field-odd"><p>string</p>
  3489. </dd>
  3490. <dt class="field-even">Default value</dt>
  3491. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  3492. </dd>
  3493. </dl>
  3494. <p>Defines charset for generated export. By default no charset conversion is
  3495. done assuming UTF-8.</p>
  3496. </dd></dl>
  3497. <dl class="config option">
  3498. <dt id="cfg_Export_file_template_table">
  3499. <code class="sig-name descname">$cfg['Export']['file_template_table']</code><a class="headerlink" href="#cfg_Export_file_template_table" title="Permalink to this definition">¶</a></dt>
  3500. <dd><dl class="field-list simple">
  3501. <dt class="field-odd">Type</dt>
  3502. <dd class="field-odd"><p>string</p>
  3503. </dd>
  3504. <dt class="field-even">Default value</dt>
  3505. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'&#64;TABLE&#64;'</span></code></p>
  3506. </dd>
  3507. </dl>
  3508. <p>Default filename template for table exports.</p>
  3509. <div class="admonition seealso">
  3510. <p class="admonition-title">See also</p>
  3511. <p><a class="reference internal" href="faq.html#faq6-27"><span class="std std-ref">6.27 What format strings can I use?</span></a></p>
  3512. </div>
  3513. </dd></dl>
  3514. <dl class="config option">
  3515. <dt id="cfg_Export_file_template_database">
  3516. <code class="sig-name descname">$cfg['Export']['file_template_database']</code><a class="headerlink" href="#cfg_Export_file_template_database" title="Permalink to this definition">¶</a></dt>
  3517. <dd><dl class="field-list simple">
  3518. <dt class="field-odd">Type</dt>
  3519. <dd class="field-odd"><p>string</p>
  3520. </dd>
  3521. <dt class="field-even">Default value</dt>
  3522. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'&#64;DATABASE&#64;'</span></code></p>
  3523. </dd>
  3524. </dl>
  3525. <p>Default filename template for database exports.</p>
  3526. <div class="admonition seealso">
  3527. <p class="admonition-title">See also</p>
  3528. <p><a class="reference internal" href="faq.html#faq6-27"><span class="std std-ref">6.27 What format strings can I use?</span></a></p>
  3529. </div>
  3530. </dd></dl>
  3531. <dl class="config option">
  3532. <dt id="cfg_Export_file_template_server">
  3533. <code class="sig-name descname">$cfg['Export']['file_template_server']</code><a class="headerlink" href="#cfg_Export_file_template_server" title="Permalink to this definition">¶</a></dt>
  3534. <dd><dl class="field-list simple">
  3535. <dt class="field-odd">Type</dt>
  3536. <dd class="field-odd"><p>string</p>
  3537. </dd>
  3538. <dt class="field-even">Default value</dt>
  3539. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'&#64;SERVER&#64;'</span></code></p>
  3540. </dd>
  3541. </dl>
  3542. <p>Default filename template for server exports.</p>
  3543. <div class="admonition seealso">
  3544. <p class="admonition-title">See also</p>
  3545. <p><a class="reference internal" href="faq.html#faq6-27"><span class="std std-ref">6.27 What format strings can I use?</span></a></p>
  3546. </div>
  3547. </dd></dl>
  3548. <dl class="config option">
  3549. <dt id="cfg_Import">
  3550. <code class="sig-name descname">$cfg['Import']</code><a class="headerlink" href="#cfg_Import" title="Permalink to this definition">¶</a></dt>
  3551. <dd><dl class="field-list simple">
  3552. <dt class="field-odd">Type</dt>
  3553. <dd class="field-odd"><p>array</p>
  3554. </dd>
  3555. <dt class="field-even">Default value</dt>
  3556. <dd class="field-even"><p>array(…)</p>
  3557. </dd>
  3558. </dl>
  3559. <p>In this array are defined default parameters for import, names of
  3560. items are similar to texts seen on import page, so you can easily
  3561. identify what they mean.</p>
  3562. </dd></dl>
  3563. <dl class="config option">
  3564. <dt id="cfg_Import_charset">
  3565. <code class="sig-name descname">$cfg['Import']['charset']</code><a class="headerlink" href="#cfg_Import_charset" title="Permalink to this definition">¶</a></dt>
  3566. <dd><dl class="field-list simple">
  3567. <dt class="field-odd">Type</dt>
  3568. <dd class="field-odd"><p>string</p>
  3569. </dd>
  3570. <dt class="field-even">Default value</dt>
  3571. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  3572. </dd>
  3573. </dl>
  3574. <p>Defines charset for import. By default no charset conversion is done
  3575. assuming UTF-8.</p>
  3576. </dd></dl>
  3577. </div>
  3578. <div class="section" id="tabs-display-settings">
  3579. <h2>Tabs display settings<a class="headerlink" href="#tabs-display-settings" title="Permalink to this headline">¶</a></h2>
  3580. <dl class="config option">
  3581. <dt id="cfg_TabsMode">
  3582. <code class="sig-name descname">$cfg['TabsMode']</code><a class="headerlink" href="#cfg_TabsMode" title="Permalink to this definition">¶</a></dt>
  3583. <dd><dl class="field-list simple">
  3584. <dt class="field-odd">Type</dt>
  3585. <dd class="field-odd"><p>string</p>
  3586. </dd>
  3587. <dt class="field-even">Default value</dt>
  3588. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'both'</span></code></p>
  3589. </dd>
  3590. </dl>
  3591. <p>Defines whether the menu tabs contain <code class="docutils literal notranslate"><span class="pre">'icons'</span></code>, <code class="docutils literal notranslate"><span class="pre">'text'</span></code> or <code class="docutils literal notranslate"><span class="pre">'both'</span></code>.</p>
  3592. </dd></dl>
  3593. <dl class="config option">
  3594. <dt id="cfg_PropertiesNumColumns">
  3595. <code class="sig-name descname">$cfg['PropertiesNumColumns']</code><a class="headerlink" href="#cfg_PropertiesNumColumns" title="Permalink to this definition">¶</a></dt>
  3596. <dd><dl class="field-list simple">
  3597. <dt class="field-odd">Type</dt>
  3598. <dd class="field-odd"><p>integer</p>
  3599. </dd>
  3600. <dt class="field-even">Default value</dt>
  3601. <dd class="field-even"><p>1</p>
  3602. </dd>
  3603. </dl>
  3604. <p>How many columns will be utilized to display the tables on the database
  3605. property view? When setting this to a value larger than 1, the type of the
  3606. database will be omitted for more display space.</p>
  3607. </dd></dl>
  3608. <dl class="config option">
  3609. <dt id="cfg_DefaultTabServer">
  3610. <code class="sig-name descname">$cfg['DefaultTabServer']</code><a class="headerlink" href="#cfg_DefaultTabServer" title="Permalink to this definition">¶</a></dt>
  3611. <dd><dl class="field-list simple">
  3612. <dt class="field-odd">Type</dt>
  3613. <dd class="field-odd"><p>string</p>
  3614. </dd>
  3615. <dt class="field-even">Default value</dt>
  3616. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'welcome'</span></code></p>
  3617. </dd>
  3618. </dl>
  3619. <p>Defines the tab displayed by default on server view. The possible values
  3620. are the localized equivalent of:</p>
  3621. <ul class="simple">
  3622. <li><p><code class="docutils literal notranslate"><span class="pre">welcome</span></code> (recommended for multi-user setups)</p></li>
  3623. <li><p><code class="docutils literal notranslate"><span class="pre">databases</span></code>,</p></li>
  3624. <li><p><code class="docutils literal notranslate"><span class="pre">status</span></code></p></li>
  3625. <li><p><code class="docutils literal notranslate"><span class="pre">variables</span></code></p></li>
  3626. <li><p><code class="docutils literal notranslate"><span class="pre">privileges</span></code></p></li>
  3627. </ul>
  3628. </dd></dl>
  3629. <dl class="config option">
  3630. <dt id="cfg_DefaultTabDatabase">
  3631. <code class="sig-name descname">$cfg['DefaultTabDatabase']</code><a class="headerlink" href="#cfg_DefaultTabDatabase" title="Permalink to this definition">¶</a></dt>
  3632. <dd><dl class="field-list simple">
  3633. <dt class="field-odd">Type</dt>
  3634. <dd class="field-odd"><p>string</p>
  3635. </dd>
  3636. <dt class="field-even">Default value</dt>
  3637. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'structure'</span></code></p>
  3638. </dd>
  3639. </dl>
  3640. <p>Defines the tab displayed by default on database view. The possible values
  3641. are the localized equivalent of:</p>
  3642. <ul class="simple">
  3643. <li><p><code class="docutils literal notranslate"><span class="pre">structure</span></code></p></li>
  3644. <li><p><code class="docutils literal notranslate"><span class="pre">sql</span></code></p></li>
  3645. <li><p><code class="docutils literal notranslate"><span class="pre">search</span></code></p></li>
  3646. <li><p><code class="docutils literal notranslate"><span class="pre">operations</span></code></p></li>
  3647. </ul>
  3648. </dd></dl>
  3649. <dl class="config option">
  3650. <dt id="cfg_DefaultTabTable">
  3651. <code class="sig-name descname">$cfg['DefaultTabTable']</code><a class="headerlink" href="#cfg_DefaultTabTable" title="Permalink to this definition">¶</a></dt>
  3652. <dd><dl class="field-list simple">
  3653. <dt class="field-odd">Type</dt>
  3654. <dd class="field-odd"><p>string</p>
  3655. </dd>
  3656. <dt class="field-even">Default value</dt>
  3657. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'browse'</span></code></p>
  3658. </dd>
  3659. </dl>
  3660. <p>Defines the tab displayed by default on table view. The possible values
  3661. are the localized equivalent of:</p>
  3662. <ul class="simple">
  3663. <li><p><code class="docutils literal notranslate"><span class="pre">structure</span></code></p></li>
  3664. <li><p><code class="docutils literal notranslate"><span class="pre">sql</span></code></p></li>
  3665. <li><p><code class="docutils literal notranslate"><span class="pre">search</span></code></p></li>
  3666. <li><p><code class="docutils literal notranslate"><span class="pre">insert</span></code></p></li>
  3667. <li><p><code class="docutils literal notranslate"><span class="pre">browse</span></code></p></li>
  3668. </ul>
  3669. </dd></dl>
  3670. </div>
  3671. <div class="section" id="pdf-options">
  3672. <h2>PDF Options<a class="headerlink" href="#pdf-options" title="Permalink to this headline">¶</a></h2>
  3673. <dl class="config option">
  3674. <dt id="cfg_PDFPageSizes">
  3675. <code class="sig-name descname">$cfg['PDFPageSizes']</code><a class="headerlink" href="#cfg_PDFPageSizes" title="Permalink to this definition">¶</a></dt>
  3676. <dd><dl class="field-list simple">
  3677. <dt class="field-odd">Type</dt>
  3678. <dd class="field-odd"><p>array</p>
  3679. </dd>
  3680. <dt class="field-even">Default value</dt>
  3681. <dd class="field-even"><p><code class="docutils literal notranslate"><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></code></p>
  3682. </dd>
  3683. </dl>
  3684. <p>Array of possible paper sizes for creating PDF pages.</p>
  3685. <p>You should never need to change this.</p>
  3686. </dd></dl>
  3687. <dl class="config option">
  3688. <dt id="cfg_PDFDefaultPageSize">
  3689. <code class="sig-name descname">$cfg['PDFDefaultPageSize']</code><a class="headerlink" href="#cfg_PDFDefaultPageSize" title="Permalink to this definition">¶</a></dt>
  3690. <dd><dl class="field-list simple">
  3691. <dt class="field-odd">Type</dt>
  3692. <dd class="field-odd"><p>string</p>
  3693. </dd>
  3694. <dt class="field-even">Default value</dt>
  3695. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'A4'</span></code></p>
  3696. </dd>
  3697. </dl>
  3698. <p>Default page size to use when creating PDF pages. Valid values are any
  3699. listed in <span class="target" id="index-142"></span><a class="reference internal" href="#cfg_PDFPageSizes"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['PDFPageSizes']</span></code></a>.</p>
  3700. </dd></dl>
  3701. </div>
  3702. <div class="section" id="languages">
  3703. <h2>Languages<a class="headerlink" href="#languages" title="Permalink to this headline">¶</a></h2>
  3704. <dl class="config option">
  3705. <dt id="cfg_DefaultLang">
  3706. <code class="sig-name descname">$cfg['DefaultLang']</code><a class="headerlink" href="#cfg_DefaultLang" title="Permalink to this definition">¶</a></dt>
  3707. <dd><dl class="field-list simple">
  3708. <dt class="field-odd">Type</dt>
  3709. <dd class="field-odd"><p>string</p>
  3710. </dd>
  3711. <dt class="field-even">Default value</dt>
  3712. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'en'</span></code></p>
  3713. </dd>
  3714. </dl>
  3715. <p>Defines the default language to use, if not browser-defined or user-
  3716. defined. The corresponding language file needs to be in
  3717. locale/<em>code</em>/LC_MESSAGES/phpmyadmin.mo.</p>
  3718. </dd></dl>
  3719. <dl class="config option">
  3720. <dt id="cfg_DefaultConnectionCollation">
  3721. <code class="sig-name descname">$cfg['DefaultConnectionCollation']</code><a class="headerlink" href="#cfg_DefaultConnectionCollation" title="Permalink to this definition">¶</a></dt>
  3722. <dd><dl class="field-list simple">
  3723. <dt class="field-odd">Type</dt>
  3724. <dd class="field-odd"><p>string</p>
  3725. </dd>
  3726. <dt class="field-even">Default value</dt>
  3727. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'utf8mb4_general_ci'</span></code></p>
  3728. </dd>
  3729. </dl>
  3730. <p>Defines the default connection collation to use, if not user-defined.
  3731. See the <a class="reference external" href="https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html">MySQL documentation for charsets</a>
  3732. for list of possible values.</p>
  3733. </dd></dl>
  3734. <dl class="config option">
  3735. <dt id="cfg_Lang">
  3736. <code class="sig-name descname">$cfg['Lang']</code><a class="headerlink" href="#cfg_Lang" title="Permalink to this definition">¶</a></dt>
  3737. <dd><dl class="field-list simple">
  3738. <dt class="field-odd">Type</dt>
  3739. <dd class="field-odd"><p>string</p>
  3740. </dd>
  3741. <dt class="field-even">Default value</dt>
  3742. <dd class="field-even"><p>not set</p>
  3743. </dd>
  3744. </dl>
  3745. <p>Force language to use. The corresponding language file needs to be in
  3746. locale/<em>code</em>/LC_MESSAGES/phpmyadmin.mo.</p>
  3747. </dd></dl>
  3748. <dl class="config option">
  3749. <dt id="cfg_FilterLanguages">
  3750. <code class="sig-name descname">$cfg['FilterLanguages']</code><a class="headerlink" href="#cfg_FilterLanguages" title="Permalink to this definition">¶</a></dt>
  3751. <dd><dl class="field-list simple">
  3752. <dt class="field-odd">Type</dt>
  3753. <dd class="field-odd"><p>string</p>
  3754. </dd>
  3755. <dt class="field-even">Default value</dt>
  3756. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  3757. </dd>
  3758. </dl>
  3759. <p>Limit list of available languages to those matching the given regular
  3760. expression. For example if you want only Czech and English, you should
  3761. set filter to <code class="docutils literal notranslate"><span class="pre">'^(cs|en)'</span></code>.</p>
  3762. </dd></dl>
  3763. <dl class="config option">
  3764. <dt id="cfg_RecodingEngine">
  3765. <code class="sig-name descname">$cfg['RecodingEngine']</code><a class="headerlink" href="#cfg_RecodingEngine" title="Permalink to this definition">¶</a></dt>
  3766. <dd><dl class="field-list simple">
  3767. <dt class="field-odd">Type</dt>
  3768. <dd class="field-odd"><p>string</p>
  3769. </dd>
  3770. <dt class="field-even">Default value</dt>
  3771. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'auto'</span></code></p>
  3772. </dd>
  3773. </dl>
  3774. <p>You can select here which functions will be used for character set
  3775. conversion. Possible values are:</p>
  3776. <ul class="simple">
  3777. <li><p>auto - automatically use available one (first is tested iconv, then
  3778. recode)</p></li>
  3779. <li><p>iconv - use iconv or libiconv functions</p></li>
  3780. <li><p>recode - use recode_string function</p></li>
  3781. <li><p>mb - use <a class="reference internal" href="glossary.html#term-mbstring"><span class="xref std std-term">mbstring</span></a> extension</p></li>
  3782. <li><p>none - disable encoding conversion</p></li>
  3783. </ul>
  3784. <p>Enabled charset conversion activates a pull-down menu in the Export
  3785. and Import pages, to choose the character set when exporting a file.
  3786. The default value in this menu comes from
  3787. <span class="target" id="index-143"></span><a class="reference internal" href="#cfg_Export_charset"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Export']['charset']</span></code></a> and <span class="target" id="index-144"></span><a class="reference internal" href="#cfg_Import_charset"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Import']['charset']</span></code></a>.</p>
  3788. </dd></dl>
  3789. <dl class="config option">
  3790. <dt id="cfg_IconvExtraParams">
  3791. <code class="sig-name descname">$cfg['IconvExtraParams']</code><a class="headerlink" href="#cfg_IconvExtraParams" title="Permalink to this definition">¶</a></dt>
  3792. <dd><dl class="field-list simple">
  3793. <dt class="field-odd">Type</dt>
  3794. <dd class="field-odd"><p>string</p>
  3795. </dd>
  3796. <dt class="field-even">Default value</dt>
  3797. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'//TRANSLIT'</span></code></p>
  3798. </dd>
  3799. </dl>
  3800. <p>Specify some parameters for iconv used in charset conversion. See
  3801. <a class="reference external" href="https://www.gnu.org/savannah-checkouts/gnu/libiconv/documentation/libiconv-1.15/iconv_open.3.html">iconv documentation</a> for details. By default
  3802. <code class="docutils literal notranslate"><span class="pre">//TRANSLIT</span></code> is used, so that invalid characters will be
  3803. transliterated.</p>
  3804. </dd></dl>
  3805. <dl class="config option">
  3806. <dt id="cfg_AvailableCharsets">
  3807. <code class="sig-name descname">$cfg['AvailableCharsets']</code><a class="headerlink" href="#cfg_AvailableCharsets" title="Permalink to this definition">¶</a></dt>
  3808. <dd><dl class="field-list simple">
  3809. <dt class="field-odd">Type</dt>
  3810. <dd class="field-odd"><p>array</p>
  3811. </dd>
  3812. <dt class="field-even">Default value</dt>
  3813. <dd class="field-even"><p>array(…)</p>
  3814. </dd>
  3815. </dl>
  3816. <p>Available character sets for MySQL conversion. You can add your own
  3817. (any of supported by recode/iconv) or remove these which you don’t
  3818. use. Character sets will be shown in same order as here listed, so if
  3819. you frequently use some of these move them to the top.</p>
  3820. </dd></dl>
  3821. </div>
  3822. <div class="section" id="web-server-settings">
  3823. <h2>Web server settings<a class="headerlink" href="#web-server-settings" title="Permalink to this headline">¶</a></h2>
  3824. <dl class="config option">
  3825. <dt id="cfg_OBGzip">
  3826. <code class="sig-name descname">$cfg['OBGzip']</code><a class="headerlink" href="#cfg_OBGzip" title="Permalink to this definition">¶</a></dt>
  3827. <dd><dl class="field-list simple">
  3828. <dt class="field-odd">Type</dt>
  3829. <dd class="field-odd"><p>string/boolean</p>
  3830. </dd>
  3831. <dt class="field-even">Default value</dt>
  3832. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'auto'</span></code></p>
  3833. </dd>
  3834. </dl>
  3835. <p>Defines whether to use GZip output buffering for increased speed in
  3836. <a class="reference internal" href="glossary.html#term-HTTP"><span class="xref std std-term">HTTP</span></a> transfers. Set to
  3837. true/false for enabling/disabling. When set to ‘auto’ (string),
  3838. phpMyAdmin tries to enable output buffering and will automatically
  3839. disable it if your browser has some problems with buffering. IE6 with
  3840. a certain patch is known to cause data corruption when having enabled
  3841. buffering.</p>
  3842. </dd></dl>
  3843. <dl class="config option">
  3844. <dt id="cfg_TrustedProxies">
  3845. <code class="sig-name descname">$cfg['TrustedProxies']</code><a class="headerlink" href="#cfg_TrustedProxies" title="Permalink to this definition">¶</a></dt>
  3846. <dd><dl class="field-list simple">
  3847. <dt class="field-odd">Type</dt>
  3848. <dd class="field-odd"><p>array</p>
  3849. </dd>
  3850. <dt class="field-even">Default value</dt>
  3851. <dd class="field-even"><p>array()</p>
  3852. </dd>
  3853. </dl>
  3854. <p>Lists proxies and HTTP headers which are trusted for
  3855. <span class="target" id="index-145"></span><a class="reference internal" href="#cfg_Servers_AllowDeny_order"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['AllowDeny']['order']</span></code></a>. This list is by
  3856. default empty, you need to fill in some trusted proxy servers if you
  3857. want to use rules for IP addresses behind proxy.</p>
  3858. <p>The following example specifies that phpMyAdmin should trust a
  3859. HTTP_X_FORWARDED_FOR (<code class="docutils literal notranslate"><span class="pre">X-Forwarded-For</span></code>) header coming from the proxy
  3860. 1.2.3.4:</p>
  3861. <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><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>
  3862. </pre></div>
  3863. </div>
  3864. <p>The <span class="target" id="index-146"></span><a class="reference internal" href="#cfg_Servers_AllowDeny_rules"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['AllowDeny']['rules']</span></code></a> directive uses the
  3865. client’s IP address as usual.</p>
  3866. </dd></dl>
  3867. <dl class="config option">
  3868. <dt id="cfg_GD2Available">
  3869. <code class="sig-name descname">$cfg['GD2Available']</code><a class="headerlink" href="#cfg_GD2Available" title="Permalink to this definition">¶</a></dt>
  3870. <dd><dl class="field-list simple">
  3871. <dt class="field-odd">Type</dt>
  3872. <dd class="field-odd"><p>string</p>
  3873. </dd>
  3874. <dt class="field-even">Default value</dt>
  3875. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'auto'</span></code></p>
  3876. </dd>
  3877. </dl>
  3878. <p>Specifies whether GD &gt;= 2 is available. If yes it can be used for MIME
  3879. transformations. Possible values are:</p>
  3880. <ul class="simple">
  3881. <li><p>auto - automatically detect</p></li>
  3882. <li><p>yes - GD 2 functions can be used</p></li>
  3883. <li><p>no - GD 2 function cannot be used</p></li>
  3884. </ul>
  3885. </dd></dl>
  3886. <dl class="config option">
  3887. <dt id="cfg_CheckConfigurationPermissions">
  3888. <code class="sig-name descname">$cfg['CheckConfigurationPermissions']</code><a class="headerlink" href="#cfg_CheckConfigurationPermissions" title="Permalink to this definition">¶</a></dt>
  3889. <dd><dl class="field-list simple">
  3890. <dt class="field-odd">Type</dt>
  3891. <dd class="field-odd"><p>boolean</p>
  3892. </dd>
  3893. <dt class="field-even">Default value</dt>
  3894. <dd class="field-even"><p>true</p>
  3895. </dd>
  3896. </dl>
  3897. <p>We normally check the permissions on the configuration file to ensure
  3898. it’s not world writable. However, phpMyAdmin could be installed on a
  3899. NTFS filesystem mounted on a non-Windows server, in which case the
  3900. permissions seems wrong but in fact cannot be detected. In this case a
  3901. sysadmin would set this parameter to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
  3902. </dd></dl>
  3903. <dl class="config option">
  3904. <dt id="cfg_LinkLengthLimit">
  3905. <code class="sig-name descname">$cfg['LinkLengthLimit']</code><a class="headerlink" href="#cfg_LinkLengthLimit" title="Permalink to this definition">¶</a></dt>
  3906. <dd><dl class="field-list simple">
  3907. <dt class="field-odd">Type</dt>
  3908. <dd class="field-odd"><p>integer</p>
  3909. </dd>
  3910. <dt class="field-even">Default value</dt>
  3911. <dd class="field-even"><p>1000</p>
  3912. </dd>
  3913. </dl>
  3914. <p>Limit for length of <a class="reference internal" href="glossary.html#term-URL"><span class="xref std std-term">URL</span></a> in links. When length would be above this
  3915. limit, it is replaced by form with button. This is required as some web
  3916. servers (<a class="reference internal" href="glossary.html#term-IIS"><span class="xref std std-term">IIS</span></a>) have problems with long <a class="reference internal" href="glossary.html#term-URL"><span class="xref std std-term">URL</span></a> .</p>
  3917. </dd></dl>
  3918. <dl class="config option">
  3919. <dt id="cfg_CSPAllow">
  3920. <code class="sig-name descname">$cfg['CSPAllow']</code><a class="headerlink" href="#cfg_CSPAllow" title="Permalink to this definition">¶</a></dt>
  3921. <dd><dl class="field-list simple">
  3922. <dt class="field-odd">Type</dt>
  3923. <dd class="field-odd"><p>string</p>
  3924. </dd>
  3925. <dt class="field-even">Default value</dt>
  3926. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  3927. </dd>
  3928. </dl>
  3929. <p>Additional string to include in allowed script and image sources in Content
  3930. Security Policy header.</p>
  3931. <p>This can be useful when you want to include some external JavaScript files
  3932. in <code class="file docutils literal notranslate"><span class="pre">config.footer.inc.php</span></code> or <code class="file docutils literal notranslate"><span class="pre">config.header.inc.php</span></code>, which
  3933. would be normally not allowed by Content Security Policy.</p>
  3934. <p>To allow some sites, just list them within the string:</p>
  3935. <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><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>
  3936. </pre></div>
  3937. </div>
  3938. <div class="versionadded">
  3939. <p><span class="versionmodified added">New in version 4.0.4.</span></p>
  3940. </div>
  3941. </dd></dl>
  3942. <dl class="config option">
  3943. <dt id="cfg_DisableMultiTableMaintenance">
  3944. <code class="sig-name descname">$cfg['DisableMultiTableMaintenance']</code><a class="headerlink" href="#cfg_DisableMultiTableMaintenance" title="Permalink to this definition">¶</a></dt>
  3945. <dd><dl class="field-list simple">
  3946. <dt class="field-odd">Type</dt>
  3947. <dd class="field-odd"><p>boolean</p>
  3948. </dd>
  3949. <dt class="field-even">Default value</dt>
  3950. <dd class="field-even"><p>false</p>
  3951. </dd>
  3952. </dl>
  3953. <p>In the database Structure page, it’s possible to mark some tables then
  3954. choose an operation like optimizing for many tables. This can slow
  3955. down a server; therefore, setting this to <code class="docutils literal notranslate"><span class="pre">true</span></code> prevents this kind
  3956. of multiple maintenance operation.</p>
  3957. </dd></dl>
  3958. </div>
  3959. <div class="section" id="theme-settings">
  3960. <h2>Theme settings<a class="headerlink" href="#theme-settings" title="Permalink to this headline">¶</a></h2>
  3961. <blockquote>
  3962. <div><p>Please directly modify <code class="file docutils literal notranslate"><span class="pre">themes/themename/layout.inc.php</span></code>, although
  3963. your changes will be overwritten with the next update.</p>
  3964. </div></blockquote>
  3965. </div>
  3966. <div class="section" id="design-customization">
  3967. <h2>Design customization<a class="headerlink" href="#design-customization" title="Permalink to this headline">¶</a></h2>
  3968. <dl class="config option">
  3969. <dt id="cfg_NavigationTreePointerEnable">
  3970. <code class="sig-name descname">$cfg['NavigationTreePointerEnable']</code><a class="headerlink" href="#cfg_NavigationTreePointerEnable" title="Permalink to this definition">¶</a></dt>
  3971. <dd><dl class="field-list simple">
  3972. <dt class="field-odd">Type</dt>
  3973. <dd class="field-odd"><p>boolean</p>
  3974. </dd>
  3975. <dt class="field-even">Default value</dt>
  3976. <dd class="field-even"><p>true</p>
  3977. </dd>
  3978. </dl>
  3979. <p>When set to true, hovering over an item in the navigation panel causes that item to be marked
  3980. (the background is highlighted).</p>
  3981. </dd></dl>
  3982. <dl class="config option">
  3983. <dt id="cfg_BrowsePointerEnable">
  3984. <code class="sig-name descname">$cfg['BrowsePointerEnable']</code><a class="headerlink" href="#cfg_BrowsePointerEnable" title="Permalink to this definition">¶</a></dt>
  3985. <dd><dl class="field-list simple">
  3986. <dt class="field-odd">Type</dt>
  3987. <dd class="field-odd"><p>boolean</p>
  3988. </dd>
  3989. <dt class="field-even">Default value</dt>
  3990. <dd class="field-even"><p>true</p>
  3991. </dd>
  3992. </dl>
  3993. <p>When set to true, hovering over a row in the Browse page causes that row to be marked (the background
  3994. is highlighted).</p>
  3995. </dd></dl>
  3996. <dl class="config option">
  3997. <dt id="cfg_BrowseMarkerEnable">
  3998. <code class="sig-name descname">$cfg['BrowseMarkerEnable']</code><a class="headerlink" href="#cfg_BrowseMarkerEnable" title="Permalink to this definition">¶</a></dt>
  3999. <dd><dl class="field-list simple">
  4000. <dt class="field-odd">Type</dt>
  4001. <dd class="field-odd"><p>boolean</p>
  4002. </dd>
  4003. <dt class="field-even">Default value</dt>
  4004. <dd class="field-even"><p>true</p>
  4005. </dd>
  4006. </dl>
  4007. <p>When set to true, a data row is marked (the background is highlighted) when the row is selected
  4008. with the checkbox.</p>
  4009. </dd></dl>
  4010. <dl class="config option">
  4011. <dt id="cfg_LimitChars">
  4012. <code class="sig-name descname">$cfg['LimitChars']</code><a class="headerlink" href="#cfg_LimitChars" title="Permalink to this definition">¶</a></dt>
  4013. <dd><dl class="field-list simple">
  4014. <dt class="field-odd">Type</dt>
  4015. <dd class="field-odd"><p>integer</p>
  4016. </dd>
  4017. <dt class="field-even">Default value</dt>
  4018. <dd class="field-even"><p>50</p>
  4019. </dd>
  4020. </dl>
  4021. <p>Maximum number of characters shown in any non-numeric field on browse
  4022. view. Can be turned off by a toggle button on the browse page.</p>
  4023. </dd></dl>
  4024. <dl class="config option">
  4025. <dt id="cfg_RowActionLinks">
  4026. <code class="sig-name descname">$cfg['RowActionLinks']</code><a class="headerlink" href="#cfg_RowActionLinks" title="Permalink to this definition">¶</a></dt>
  4027. <dd><dl class="field-list simple">
  4028. <dt class="field-odd">Type</dt>
  4029. <dd class="field-odd"><p>string</p>
  4030. </dd>
  4031. <dt class="field-even">Default value</dt>
  4032. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'left'</span></code></p>
  4033. </dd>
  4034. </dl>
  4035. <p>Defines the place where table row links (Edit, Copy, Delete) would be
  4036. put when tables contents are displayed (you may have them displayed at
  4037. the left side, right side, both sides or nowhere).</p>
  4038. </dd></dl>
  4039. <dl class="config option">
  4040. <dt id="cfg_RowActionLinksWithoutUnique">
  4041. <code class="sig-name descname">$cfg['RowActionLinksWithoutUnique']</code><a class="headerlink" href="#cfg_RowActionLinksWithoutUnique" title="Permalink to this definition">¶</a></dt>
  4042. <dd><dl class="field-list simple">
  4043. <dt class="field-odd">Type</dt>
  4044. <dd class="field-odd"><p>boolean</p>
  4045. </dd>
  4046. <dt class="field-even">Default value</dt>
  4047. <dd class="field-even"><p>false</p>
  4048. </dd>
  4049. </dl>
  4050. <p>Defines whether to show row links (Edit, Copy, Delete) and checkboxes
  4051. for multiple row operations even when the selection does not have a <a class="reference internal" href="glossary.html#term-unique-key"><span class="xref std std-term">unique key</span></a>.
  4052. Using row actions in the absence of a unique key may result in different/more
  4053. rows being affected since there is no guaranteed way to select the exact row(s).</p>
  4054. </dd></dl>
  4055. <dl class="config option">
  4056. <dt id="cfg_RememberSorting">
  4057. <code class="sig-name descname">$cfg['RememberSorting']</code><a class="headerlink" href="#cfg_RememberSorting" title="Permalink to this definition">¶</a></dt>
  4058. <dd><dl class="field-list simple">
  4059. <dt class="field-odd">Type</dt>
  4060. <dd class="field-odd"><p>boolean</p>
  4061. </dd>
  4062. <dt class="field-even">Default value</dt>
  4063. <dd class="field-even"><p>true</p>
  4064. </dd>
  4065. </dl>
  4066. <p>If enabled, remember the sorting of each table when browsing them.</p>
  4067. </dd></dl>
  4068. <dl class="config option">
  4069. <dt id="cfg_TablePrimaryKeyOrder">
  4070. <code class="sig-name descname">$cfg['TablePrimaryKeyOrder']</code><a class="headerlink" href="#cfg_TablePrimaryKeyOrder" title="Permalink to this definition">¶</a></dt>
  4071. <dd><dl class="field-list simple">
  4072. <dt class="field-odd">Type</dt>
  4073. <dd class="field-odd"><p>string</p>
  4074. </dd>
  4075. <dt class="field-even">Default value</dt>
  4076. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'NONE'</span></code></p>
  4077. </dd>
  4078. </dl>
  4079. <p>This defines the default sort order for the tables, having a <a class="reference internal" href="glossary.html#term-primary-key"><span class="xref std std-term">primary key</span></a>,
  4080. when there is no sort order defines externally.
  4081. Acceptable values : [‘NONE’, ‘ASC’, ‘DESC’]</p>
  4082. </dd></dl>
  4083. <dl class="config option">
  4084. <dt id="cfg_ShowBrowseComments">
  4085. <code class="sig-name descname">$cfg['ShowBrowseComments']</code><a class="headerlink" href="#cfg_ShowBrowseComments" title="Permalink to this definition">¶</a></dt>
  4086. <dd><dl class="field-list simple">
  4087. <dt class="field-odd">Type</dt>
  4088. <dd class="field-odd"><p>boolean</p>
  4089. </dd>
  4090. <dt class="field-even">Default value</dt>
  4091. <dd class="field-even"><p>true</p>
  4092. </dd>
  4093. </dl>
  4094. </dd></dl>
  4095. <dl class="config option">
  4096. <dt id="cfg_ShowPropertyComments">
  4097. <code class="sig-name descname">$cfg['ShowPropertyComments']</code><a class="headerlink" href="#cfg_ShowPropertyComments" title="Permalink to this definition">¶</a></dt>
  4098. <dd><dl class="field-list simple">
  4099. <dt class="field-odd">Type</dt>
  4100. <dd class="field-odd"><p>boolean</p>
  4101. </dd>
  4102. <dt class="field-even">Default value</dt>
  4103. <dd class="field-even"><p>true</p>
  4104. </dd>
  4105. </dl>
  4106. <p>By setting the corresponding variable to <code class="docutils literal notranslate"><span class="pre">true</span></code> you can enable the
  4107. display of column comments in Browse or Property display. In browse
  4108. mode, the comments are shown inside the header. In property mode,
  4109. comments are displayed using a CSS-formatted dashed-line below the
  4110. name of the column. The comment is shown as a tool-tip for that
  4111. column.</p>
  4112. </dd></dl>
  4113. </div>
  4114. <div class="section" id="text-fields">
  4115. <h2>Text fields<a class="headerlink" href="#text-fields" title="Permalink to this headline">¶</a></h2>
  4116. <dl class="config option">
  4117. <dt id="cfg_CharEditing">
  4118. <code class="sig-name descname">$cfg['CharEditing']</code><a class="headerlink" href="#cfg_CharEditing" title="Permalink to this definition">¶</a></dt>
  4119. <dd><dl class="field-list simple">
  4120. <dt class="field-odd">Type</dt>
  4121. <dd class="field-odd"><p>string</p>
  4122. </dd>
  4123. <dt class="field-even">Default value</dt>
  4124. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'input'</span></code></p>
  4125. </dd>
  4126. </dl>
  4127. <p>Defines which type of editing controls should be used for CHAR and
  4128. VARCHAR columns. Applies to data editing and also to the default values
  4129. in structure editing. Possible values are:</p>
  4130. <ul class="simple">
  4131. <li><p>input - this allows to limit size of text to size of columns in MySQL,
  4132. but has problems with newlines in columns</p></li>
  4133. <li><p>textarea - no problems with newlines in columns, but also no length
  4134. limitations</p></li>
  4135. </ul>
  4136. </dd></dl>
  4137. <dl class="config option">
  4138. <dt id="cfg_MinSizeForInputField">
  4139. <code class="sig-name descname">$cfg['MinSizeForInputField']</code><a class="headerlink" href="#cfg_MinSizeForInputField" title="Permalink to this definition">¶</a></dt>
  4140. <dd><dl class="field-list simple">
  4141. <dt class="field-odd">Type</dt>
  4142. <dd class="field-odd"><p>integer</p>
  4143. </dd>
  4144. <dt class="field-even">Default value</dt>
  4145. <dd class="field-even"><p>4</p>
  4146. </dd>
  4147. </dl>
  4148. <p>Defines the minimum size for input fields generated for CHAR and
  4149. VARCHAR columns.</p>
  4150. </dd></dl>
  4151. <dl class="config option">
  4152. <dt id="cfg_MaxSizeForInputField">
  4153. <code class="sig-name descname">$cfg['MaxSizeForInputField']</code><a class="headerlink" href="#cfg_MaxSizeForInputField" title="Permalink to this definition">¶</a></dt>
  4154. <dd><dl class="field-list simple">
  4155. <dt class="field-odd">Type</dt>
  4156. <dd class="field-odd"><p>integer</p>
  4157. </dd>
  4158. <dt class="field-even">Default value</dt>
  4159. <dd class="field-even"><p>60</p>
  4160. </dd>
  4161. </dl>
  4162. <p>Defines the maximum size for input fields generated for CHAR and
  4163. VARCHAR columns.</p>
  4164. </dd></dl>
  4165. <dl class="config option">
  4166. <dt id="cfg_TextareaCols">
  4167. <code class="sig-name descname">$cfg['TextareaCols']</code><a class="headerlink" href="#cfg_TextareaCols" title="Permalink to this definition">¶</a></dt>
  4168. <dd><dl class="field-list simple">
  4169. <dt class="field-odd">Type</dt>
  4170. <dd class="field-odd"><p>integer</p>
  4171. </dd>
  4172. <dt class="field-even">Default value</dt>
  4173. <dd class="field-even"><p>40</p>
  4174. </dd>
  4175. </dl>
  4176. </dd></dl>
  4177. <dl class="config option">
  4178. <dt id="cfg_TextareaRows">
  4179. <code class="sig-name descname">$cfg['TextareaRows']</code><a class="headerlink" href="#cfg_TextareaRows" title="Permalink to this definition">¶</a></dt>
  4180. <dd><dl class="field-list simple">
  4181. <dt class="field-odd">Type</dt>
  4182. <dd class="field-odd"><p>integer</p>
  4183. </dd>
  4184. <dt class="field-even">Default value</dt>
  4185. <dd class="field-even"><p>15</p>
  4186. </dd>
  4187. </dl>
  4188. </dd></dl>
  4189. <dl class="config option">
  4190. <dt id="cfg_CharTextareaCols">
  4191. <code class="sig-name descname">$cfg['CharTextareaCols']</code><a class="headerlink" href="#cfg_CharTextareaCols" title="Permalink to this definition">¶</a></dt>
  4192. <dd><dl class="field-list simple">
  4193. <dt class="field-odd">Type</dt>
  4194. <dd class="field-odd"><p>integer</p>
  4195. </dd>
  4196. <dt class="field-even">Default value</dt>
  4197. <dd class="field-even"><p>40</p>
  4198. </dd>
  4199. </dl>
  4200. </dd></dl>
  4201. <dl class="config option">
  4202. <dt id="cfg_CharTextareaRows">
  4203. <code class="sig-name descname">$cfg['CharTextareaRows']</code><a class="headerlink" href="#cfg_CharTextareaRows" title="Permalink to this definition">¶</a></dt>
  4204. <dd><dl class="field-list simple">
  4205. <dt class="field-odd">Type</dt>
  4206. <dd class="field-odd"><p>integer</p>
  4207. </dd>
  4208. <dt class="field-even">Default value</dt>
  4209. <dd class="field-even"><p>2</p>
  4210. </dd>
  4211. </dl>
  4212. <p>Number of columns and rows for the textareas. This value will be
  4213. emphasized (*2) for <a class="reference internal" href="glossary.html#term-SQL"><span class="xref std std-term">SQL</span></a> query
  4214. textareas and (*1.25) for <a class="reference internal" href="glossary.html#term-SQL"><span class="xref std std-term">SQL</span></a>
  4215. textareas inside the query window.</p>
  4216. <p>The Char* values are used for CHAR
  4217. and VARCHAR editing (if configured via <span class="target" id="index-147"></span><a class="reference internal" href="#cfg_CharEditing"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['CharEditing']</span></code></a>).</p>
  4218. </dd></dl>
  4219. <dl class="config option">
  4220. <dt id="cfg_LongtextDoubleTextarea">
  4221. <code class="sig-name descname">$cfg['LongtextDoubleTextarea']</code><a class="headerlink" href="#cfg_LongtextDoubleTextarea" title="Permalink to this definition">¶</a></dt>
  4222. <dd><dl class="field-list simple">
  4223. <dt class="field-odd">Type</dt>
  4224. <dd class="field-odd"><p>boolean</p>
  4225. </dd>
  4226. <dt class="field-even">Default value</dt>
  4227. <dd class="field-even"><p>true</p>
  4228. </dd>
  4229. </dl>
  4230. <p>Defines whether textarea for LONGTEXT columns should have double size.</p>
  4231. </dd></dl>
  4232. <dl class="config option">
  4233. <dt id="cfg_TextareaAutoSelect">
  4234. <code class="sig-name descname">$cfg['TextareaAutoSelect']</code><a class="headerlink" href="#cfg_TextareaAutoSelect" title="Permalink to this definition">¶</a></dt>
  4235. <dd><dl class="field-list simple">
  4236. <dt class="field-odd">Type</dt>
  4237. <dd class="field-odd"><p>boolean</p>
  4238. </dd>
  4239. <dt class="field-even">Default value</dt>
  4240. <dd class="field-even"><p>false</p>
  4241. </dd>
  4242. </dl>
  4243. <p>Defines if the whole textarea of the query box will be selected on
  4244. click.</p>
  4245. </dd></dl>
  4246. <dl class="config option">
  4247. <dt id="cfg_EnableAutocompleteForTablesAndColumns">
  4248. <code class="sig-name descname">$cfg['EnableAutocompleteForTablesAndColumns']</code><a class="headerlink" href="#cfg_EnableAutocompleteForTablesAndColumns" title="Permalink to this definition">¶</a></dt>
  4249. <dd><dl class="field-list simple">
  4250. <dt class="field-odd">Type</dt>
  4251. <dd class="field-odd"><p>boolean</p>
  4252. </dd>
  4253. <dt class="field-even">Default value</dt>
  4254. <dd class="field-even"><p>true</p>
  4255. </dd>
  4256. </dl>
  4257. <p>Whether to enable autocomplete for table and column names in any
  4258. SQL query box.</p>
  4259. </dd></dl>
  4260. </div>
  4261. <div class="section" id="sql-query-box-settings">
  4262. <h2>SQL query box settings<a class="headerlink" href="#sql-query-box-settings" title="Permalink to this headline">¶</a></h2>
  4263. <dl class="config option">
  4264. <dt id="cfg_SQLQuery_Edit">
  4265. <code class="sig-name descname">$cfg['SQLQuery']['Edit']</code><a class="headerlink" href="#cfg_SQLQuery_Edit" title="Permalink to this definition">¶</a></dt>
  4266. <dd><dl class="field-list simple">
  4267. <dt class="field-odd">Type</dt>
  4268. <dd class="field-odd"><p>boolean</p>
  4269. </dd>
  4270. <dt class="field-even">Default value</dt>
  4271. <dd class="field-even"><p>true</p>
  4272. </dd>
  4273. </dl>
  4274. <p>Whether to display an edit link to change a query in any SQL Query
  4275. box.</p>
  4276. </dd></dl>
  4277. <dl class="config option">
  4278. <dt id="cfg_SQLQuery_Explain">
  4279. <code class="sig-name descname">$cfg['SQLQuery']['Explain']</code><a class="headerlink" href="#cfg_SQLQuery_Explain" title="Permalink to this definition">¶</a></dt>
  4280. <dd><dl class="field-list simple">
  4281. <dt class="field-odd">Type</dt>
  4282. <dd class="field-odd"><p>boolean</p>
  4283. </dd>
  4284. <dt class="field-even">Default value</dt>
  4285. <dd class="field-even"><p>true</p>
  4286. </dd>
  4287. </dl>
  4288. <p>Whether to display a link to explain a SELECT query in any SQL Query
  4289. box.</p>
  4290. </dd></dl>
  4291. <dl class="config option">
  4292. <dt id="cfg_SQLQuery_ShowAsPHP">
  4293. <code class="sig-name descname">$cfg['SQLQuery']['ShowAsPHP']</code><a class="headerlink" href="#cfg_SQLQuery_ShowAsPHP" title="Permalink to this definition">¶</a></dt>
  4294. <dd><dl class="field-list simple">
  4295. <dt class="field-odd">Type</dt>
  4296. <dd class="field-odd"><p>boolean</p>
  4297. </dd>
  4298. <dt class="field-even">Default value</dt>
  4299. <dd class="field-even"><p>true</p>
  4300. </dd>
  4301. </dl>
  4302. <p>Whether to display a link to wrap a query in PHP code in any SQL Query
  4303. box.</p>
  4304. </dd></dl>
  4305. <dl class="config option">
  4306. <dt id="cfg_SQLQuery_Refresh">
  4307. <code class="sig-name descname">$cfg['SQLQuery']['Refresh']</code><a class="headerlink" href="#cfg_SQLQuery_Refresh" title="Permalink to this definition">¶</a></dt>
  4308. <dd><dl class="field-list simple">
  4309. <dt class="field-odd">Type</dt>
  4310. <dd class="field-odd"><p>boolean</p>
  4311. </dd>
  4312. <dt class="field-even">Default value</dt>
  4313. <dd class="field-even"><p>true</p>
  4314. </dd>
  4315. </dl>
  4316. <p>Whether to display a link to refresh a query in any SQL Query box.</p>
  4317. </dd></dl>
  4318. </div>
  4319. <div class="section" id="web-server-upload-save-import-directories">
  4320. <span id="web-dirs"></span><h2>Web server upload/save/import directories<a class="headerlink" href="#web-server-upload-save-import-directories" title="Permalink to this headline">¶</a></h2>
  4321. <p>If PHP is running in safe mode, all directories must be owned by the same user
  4322. as the owner of the phpMyAdmin scripts.</p>
  4323. <p>If the directory where phpMyAdmin is installed is subject to an
  4324. <code class="docutils literal notranslate"><span class="pre">open_basedir</span></code> restriction, you need to create a temporary directory in some
  4325. directory accessible by the PHP interpreter.</p>
  4326. <p>For security reasons, all directories should be outside the tree published by
  4327. webserver. If you cannot avoid having this directory published by webserver,
  4328. limit access to it either by web server configuration (for example using
  4329. .htaccess or web.config files) or place at least an empty <code class="file docutils literal notranslate"><span class="pre">index.html</span></code>
  4330. file there, so that directory listing is not possible. However as long as the
  4331. directory is accessible by web server, an attacker can guess filenames to download
  4332. the files.</p>
  4333. <dl class="config option">
  4334. <dt id="cfg_UploadDir">
  4335. <code class="sig-name descname">$cfg['UploadDir']</code><a class="headerlink" href="#cfg_UploadDir" title="Permalink to this definition">¶</a></dt>
  4336. <dd><dl class="field-list simple">
  4337. <dt class="field-odd">Type</dt>
  4338. <dd class="field-odd"><p>string</p>
  4339. </dd>
  4340. <dt class="field-even">Default value</dt>
  4341. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  4342. </dd>
  4343. </dl>
  4344. <p>The name of the directory where <a class="reference internal" href="glossary.html#term-SQL"><span class="xref std std-term">SQL</span></a> files have been uploaded by
  4345. other means than phpMyAdmin (for example, ftp). Those files are available
  4346. under a drop-down box when you click the database or table name, then the
  4347. Import tab.</p>
  4348. <p>If
  4349. you want different directory for each user, %u will be replaced with
  4350. username.</p>
  4351. <p>Please note that the file names must have the suffix “.sql”
  4352. (or “.sql.bz2” or “.sql.gz” if support for compressed formats is
  4353. enabled).</p>
  4354. <p>This feature is useful when your file is too big to be
  4355. uploaded via <a class="reference internal" href="glossary.html#term-HTTP"><span class="xref std std-term">HTTP</span></a>, or when file
  4356. uploads are disabled in PHP.</p>
  4357. <div class="admonition warning">
  4358. <p class="admonition-title">Warning</p>
  4359. <p>Please see top of this chapter (<a class="reference internal" href="#web-dirs"><span class="std std-ref">Web server upload/save/import directories</span></a>) for instructions how
  4360. to setup this directory and how to make its usage secure.</p>
  4361. </div>
  4362. <div class="admonition seealso">
  4363. <p class="admonition-title">See also</p>
  4364. <p>See <a class="reference internal" href="faq.html#faq1-16"><span class="std std-ref">1.16 I cannot upload big dump files (memory, HTTP or timeout problems).</span></a> for alternatives.</p>
  4365. </div>
  4366. </dd></dl>
  4367. <dl class="config option">
  4368. <dt id="cfg_SaveDir">
  4369. <code class="sig-name descname">$cfg['SaveDir']</code><a class="headerlink" href="#cfg_SaveDir" title="Permalink to this definition">¶</a></dt>
  4370. <dd><dl class="field-list simple">
  4371. <dt class="field-odd">Type</dt>
  4372. <dd class="field-odd"><p>string</p>
  4373. </dd>
  4374. <dt class="field-even">Default value</dt>
  4375. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  4376. </dd>
  4377. </dl>
  4378. <p>The name of the webserver directory where exported files can be saved.</p>
  4379. <p>If you want a different directory for each user, %u will be replaced with the
  4380. username.</p>
  4381. <p>Please note that the directory must exist and has to be writable for
  4382. the user running webserver.</p>
  4383. <div class="admonition warning">
  4384. <p class="admonition-title">Warning</p>
  4385. <p>Please see top of this chapter (<a class="reference internal" href="#web-dirs"><span class="std std-ref">Web server upload/save/import directories</span></a>) for instructions how
  4386. to setup this directory and how to make its usage secure.</p>
  4387. </div>
  4388. </dd></dl>
  4389. <dl class="config option">
  4390. <dt id="cfg_TempDir">
  4391. <code class="sig-name descname">$cfg['TempDir']</code><a class="headerlink" href="#cfg_TempDir" title="Permalink to this definition">¶</a></dt>
  4392. <dd><dl class="field-list simple">
  4393. <dt class="field-odd">Type</dt>
  4394. <dd class="field-odd"><p>string</p>
  4395. </dd>
  4396. <dt class="field-even">Default value</dt>
  4397. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'./tmp/'</span></code></p>
  4398. </dd>
  4399. </dl>
  4400. <p>The name of the directory where temporary files can be stored. It is used
  4401. for several purposes, currently:</p>
  4402. <ul class="simple">
  4403. <li><p>The templates cache which speeds up page loading.</p></li>
  4404. <li><p>ESRI Shapefiles import, see <a class="reference internal" href="faq.html#faq6-30"><span class="std std-ref">6.30 Import: How can I import ESRI Shapefiles?</span></a>.</p></li>
  4405. <li><p>To work around limitations of <code class="docutils literal notranslate"><span class="pre">open_basedir</span></code> for uploaded files, see
  4406. <a class="reference internal" href="faq.html#faq1-11"><span class="std std-ref">1.11 I get an ‘open_basedir restriction’ while uploading a file from the import tab.</span></a>.</p></li>
  4407. </ul>
  4408. <p>This directory should have as strict permissions as possible as the only
  4409. user required to access this directory is the one who runs the webserver.
  4410. If you have root privileges, simply make this user owner of this directory
  4411. and make it accessible only by it:</p>
  4412. <div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>chown www-data:www-data tmp
  4413. chmod <span class="m">700</span> tmp
  4414. </pre></div>
  4415. </div>
  4416. <p>If you cannot change owner of the directory, you can achieve a similar
  4417. setup using <a class="reference internal" href="glossary.html#term-ACL"><span class="xref std std-term">ACL</span></a>:</p>
  4418. <div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>chmod <span class="m">700</span> tmp
  4419. setfacl -m <span class="s2">&quot;g:www-data:rwx&quot;</span> tmp
  4420. setfacl -d -m <span class="s2">&quot;g:www-data:rwx&quot;</span> tmp
  4421. </pre></div>
  4422. </div>
  4423. <p>If neither of above works for you, you can still make the directory
  4424. <strong class="command">chmod 777</strong>, but it might impose risk of other users on system
  4425. reading and writing data in this directory.</p>
  4426. <div class="admonition warning">
  4427. <p class="admonition-title">Warning</p>
  4428. <p>Please see top of this chapter (<a class="reference internal" href="#web-dirs"><span class="std std-ref">Web server upload/save/import directories</span></a>) for instructions how
  4429. to setup this directory and how to make its usage secure.</p>
  4430. </div>
  4431. </dd></dl>
  4432. </div>
  4433. <div class="section" id="various-display-setting">
  4434. <h2>Various display setting<a class="headerlink" href="#various-display-setting" title="Permalink to this headline">¶</a></h2>
  4435. <dl class="config option">
  4436. <dt id="cfg_RepeatCells">
  4437. <code class="sig-name descname">$cfg['RepeatCells']</code><a class="headerlink" href="#cfg_RepeatCells" title="Permalink to this definition">¶</a></dt>
  4438. <dd><dl class="field-list simple">
  4439. <dt class="field-odd">Type</dt>
  4440. <dd class="field-odd"><p>integer</p>
  4441. </dd>
  4442. <dt class="field-even">Default value</dt>
  4443. <dd class="field-even"><p>100</p>
  4444. </dd>
  4445. </dl>
  4446. <p>Repeat the headers every X cells, or 0 to deactivate.</p>
  4447. </dd></dl>
  4448. <dl class="config option">
  4449. <dt id="cfg_QueryHistoryDB">
  4450. <code class="sig-name descname">$cfg['QueryHistoryDB']</code><a class="headerlink" href="#cfg_QueryHistoryDB" title="Permalink to this definition">¶</a></dt>
  4451. <dd><dl class="field-list simple">
  4452. <dt class="field-odd">Type</dt>
  4453. <dd class="field-odd"><p>boolean</p>
  4454. </dd>
  4455. <dt class="field-even">Default value</dt>
  4456. <dd class="field-even"><p>false</p>
  4457. </dd>
  4458. </dl>
  4459. </dd></dl>
  4460. <dl class="config option">
  4461. <dt id="cfg_QueryHistoryMax">
  4462. <code class="sig-name descname">$cfg['QueryHistoryMax']</code><a class="headerlink" href="#cfg_QueryHistoryMax" title="Permalink to this definition">¶</a></dt>
  4463. <dd><dl class="field-list simple">
  4464. <dt class="field-odd">Type</dt>
  4465. <dd class="field-odd"><p>integer</p>
  4466. </dd>
  4467. <dt class="field-even">Default value</dt>
  4468. <dd class="field-even"><p>25</p>
  4469. </dd>
  4470. </dl>
  4471. <p>If <span class="target" id="index-148"></span><a class="reference internal" href="#cfg_QueryHistoryDB"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['QueryHistoryDB']</span></code></a> is set to <code class="docutils literal notranslate"><span class="pre">true</span></code>, all your
  4472. Queries are logged to a table, which has to be created by you (see
  4473. <span class="target" id="index-149"></span><a class="reference internal" href="#cfg_Servers_history"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['history']</span></code></a>). If set to false, all your
  4474. queries will be appended to the form, but only as long as your window is
  4475. opened they remain saved.</p>
  4476. <p>When using the JavaScript based query window, it will always get updated
  4477. when you click on a new table/db to browse and will focus if you click on
  4478. <span class="guilabel">Edit SQL</span> after using a query. You can suppress updating the
  4479. query window by checking the box <span class="guilabel">Do not overwrite this query
  4480. from outside the window</span> below the query textarea. Then you can browse
  4481. tables/databases in the background without losing the contents of the
  4482. textarea, so this is especially useful when composing a query with tables
  4483. you first have to look in. The checkbox will get automatically checked
  4484. whenever you change the contents of the textarea. Please uncheck the button
  4485. whenever you definitely want the query window to get updated even though
  4486. you have made alterations.</p>
  4487. <p>If <span class="target" id="index-150"></span><a class="reference internal" href="#cfg_QueryHistoryDB"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['QueryHistoryDB']</span></code></a> is set to <code class="docutils literal notranslate"><span class="pre">true</span></code> you can
  4488. specify the amount of saved history items using
  4489. <span class="target" id="index-151"></span><a class="reference internal" href="#cfg_QueryHistoryMax"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['QueryHistoryMax']</span></code></a>.</p>
  4490. </dd></dl>
  4491. <dl class="config option">
  4492. <dt id="cfg_BrowseMIME">
  4493. <code class="sig-name descname">$cfg['BrowseMIME']</code><a class="headerlink" href="#cfg_BrowseMIME" title="Permalink to this definition">¶</a></dt>
  4494. <dd><dl class="field-list simple">
  4495. <dt class="field-odd">Type</dt>
  4496. <dd class="field-odd"><p>boolean</p>
  4497. </dd>
  4498. <dt class="field-even">Default value</dt>
  4499. <dd class="field-even"><p>true</p>
  4500. </dd>
  4501. </dl>
  4502. <p>Enable <a class="reference internal" href="transformations.html#transformations"><span class="std std-ref">Transformations</span></a>.</p>
  4503. </dd></dl>
  4504. <dl class="config option">
  4505. <dt id="cfg_MaxExactCount">
  4506. <code class="sig-name descname">$cfg['MaxExactCount']</code><a class="headerlink" href="#cfg_MaxExactCount" title="Permalink to this definition">¶</a></dt>
  4507. <dd><dl class="field-list simple">
  4508. <dt class="field-odd">Type</dt>
  4509. <dd class="field-odd"><p>integer</p>
  4510. </dd>
  4511. <dt class="field-even">Default value</dt>
  4512. <dd class="field-even"><p>50000</p>
  4513. </dd>
  4514. </dl>
  4515. <p>For InnoDB tables, determines for how large tables phpMyAdmin should
  4516. get the exact row count using <code class="docutils literal notranslate"><span class="pre">SELECT</span> <span class="pre">COUNT</span></code>. If the approximate row
  4517. count as returned by <code class="docutils literal notranslate"><span class="pre">SHOW</span> <span class="pre">TABLE</span> <span class="pre">STATUS</span></code> is smaller than this value,
  4518. <code class="docutils literal notranslate"><span class="pre">SELECT</span> <span class="pre">COUNT</span></code> will be used, otherwise the approximate count will be
  4519. used.</p>
  4520. <div class="versionchanged">
  4521. <p><span class="versionmodified changed">Changed in version 4.8.0: </span>The default value was lowered to 50000 for performance reasons.</p>
  4522. </div>
  4523. <div class="versionchanged">
  4524. <p><span class="versionmodified changed">Changed in version 4.2.6: </span>The default value was changed to 500000.</p>
  4525. </div>
  4526. <div class="admonition seealso">
  4527. <p class="admonition-title">See also</p>
  4528. <p><a class="reference internal" href="faq.html#faq3-11"><span class="std std-ref">3.11 The number of rows for InnoDB tables is not correct.</span></a></p>
  4529. </div>
  4530. </dd></dl>
  4531. <dl class="config option">
  4532. <dt id="cfg_MaxExactCountViews">
  4533. <code class="sig-name descname">$cfg['MaxExactCountViews']</code><a class="headerlink" href="#cfg_MaxExactCountViews" title="Permalink to this definition">¶</a></dt>
  4534. <dd><dl class="field-list simple">
  4535. <dt class="field-odd">Type</dt>
  4536. <dd class="field-odd"><p>integer</p>
  4537. </dd>
  4538. <dt class="field-even">Default value</dt>
  4539. <dd class="field-even"><p>0</p>
  4540. </dd>
  4541. </dl>
  4542. <p>For VIEWs, since obtaining the exact count could have an impact on
  4543. performance, this value is the maximum to be displayed, using a
  4544. <code class="docutils literal notranslate"><span class="pre">SELECT</span> <span class="pre">COUNT</span> <span class="pre">...</span> <span class="pre">LIMIT</span></code>. Setting this to 0 bypasses any row
  4545. counting.</p>
  4546. </dd></dl>
  4547. <dl class="config option">
  4548. <dt id="cfg_NaturalOrder">
  4549. <code class="sig-name descname">$cfg['NaturalOrder']</code><a class="headerlink" href="#cfg_NaturalOrder" title="Permalink to this definition">¶</a></dt>
  4550. <dd><dl class="field-list simple">
  4551. <dt class="field-odd">Type</dt>
  4552. <dd class="field-odd"><p>boolean</p>
  4553. </dd>
  4554. <dt class="field-even">Default value</dt>
  4555. <dd class="field-even"><p>true</p>
  4556. </dd>
  4557. </dl>
  4558. <p>Sorts database and table names according to natural order (for
  4559. example, t1, t2, t10). Currently implemented in the navigation panel
  4560. and in Database view, for the table list.</p>
  4561. </dd></dl>
  4562. <dl class="config option">
  4563. <dt id="cfg_InitialSlidersState">
  4564. <code class="sig-name descname">$cfg['InitialSlidersState']</code><a class="headerlink" href="#cfg_InitialSlidersState" title="Permalink to this definition">¶</a></dt>
  4565. <dd><dl class="field-list simple">
  4566. <dt class="field-odd">Type</dt>
  4567. <dd class="field-odd"><p>string</p>
  4568. </dd>
  4569. <dt class="field-even">Default value</dt>
  4570. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'closed'</span></code></p>
  4571. </dd>
  4572. </dl>
  4573. <p>If set to <code class="docutils literal notranslate"><span class="pre">'closed'</span></code>, the visual sliders are initially in a closed
  4574. state. A value of <code class="docutils literal notranslate"><span class="pre">'open'</span></code> does the reverse. To completely disable
  4575. all visual sliders, use <code class="docutils literal notranslate"><span class="pre">'disabled'</span></code>.</p>
  4576. </dd></dl>
  4577. <dl class="config option">
  4578. <dt id="cfg_UserprefsDisallow">
  4579. <code class="sig-name descname">$cfg['UserprefsDisallow']</code><a class="headerlink" href="#cfg_UserprefsDisallow" title="Permalink to this definition">¶</a></dt>
  4580. <dd><dl class="field-list simple">
  4581. <dt class="field-odd">Type</dt>
  4582. <dd class="field-odd"><p>array</p>
  4583. </dd>
  4584. <dt class="field-even">Default value</dt>
  4585. <dd class="field-even"><p>array()</p>
  4586. </dd>
  4587. </dl>
  4588. <p>Contains names of configuration options (keys in <code class="docutils literal notranslate"><span class="pre">$cfg</span></code> array) that
  4589. users can’t set through user preferences. For possible values, refer
  4590. to clases under <code class="file docutils literal notranslate"><span class="pre">libraries/classes/Config/Forms/User/</span></code>.</p>
  4591. </dd></dl>
  4592. <dl class="config option">
  4593. <dt id="cfg_UserprefsDeveloperTab">
  4594. <code class="sig-name descname">$cfg['UserprefsDeveloperTab']</code><a class="headerlink" href="#cfg_UserprefsDeveloperTab" title="Permalink to this definition">¶</a></dt>
  4595. <dd><dl class="field-list simple">
  4596. <dt class="field-odd">Type</dt>
  4597. <dd class="field-odd"><p>boolean</p>
  4598. </dd>
  4599. <dt class="field-even">Default value</dt>
  4600. <dd class="field-even"><p>false</p>
  4601. </dd>
  4602. </dl>
  4603. <p>Activates in the user preferences a tab containing options for
  4604. developers of phpMyAdmin.</p>
  4605. </dd></dl>
  4606. </div>
  4607. <div class="section" id="page-titles">
  4608. <h2>Page titles<a class="headerlink" href="#page-titles" title="Permalink to this headline">¶</a></h2>
  4609. <dl class="config option">
  4610. <dt id="cfg_TitleTable">
  4611. <code class="sig-name descname">$cfg['TitleTable']</code><a class="headerlink" href="#cfg_TitleTable" title="Permalink to this definition">¶</a></dt>
  4612. <dd><dl class="field-list simple">
  4613. <dt class="field-odd">Type</dt>
  4614. <dd class="field-odd"><p>string</p>
  4615. </dd>
  4616. <dt class="field-even">Default value</dt>
  4617. <dd class="field-even"><p><code class="docutils literal notranslate"><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></code></p>
  4618. </dd>
  4619. </dl>
  4620. </dd></dl>
  4621. <dl class="config option">
  4622. <dt id="cfg_TitleDatabase">
  4623. <code class="sig-name descname">$cfg['TitleDatabase']</code><a class="headerlink" href="#cfg_TitleDatabase" title="Permalink to this definition">¶</a></dt>
  4624. <dd><dl class="field-list simple">
  4625. <dt class="field-odd">Type</dt>
  4626. <dd class="field-odd"><p>string</p>
  4627. </dd>
  4628. <dt class="field-even">Default value</dt>
  4629. <dd class="field-even"><p><code class="docutils literal notranslate"><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></code></p>
  4630. </dd>
  4631. </dl>
  4632. </dd></dl>
  4633. <dl class="config option">
  4634. <dt id="cfg_TitleServer">
  4635. <code class="sig-name descname">$cfg['TitleServer']</code><a class="headerlink" href="#cfg_TitleServer" title="Permalink to this definition">¶</a></dt>
  4636. <dd><dl class="field-list simple">
  4637. <dt class="field-odd">Type</dt>
  4638. <dd class="field-odd"><p>string</p>
  4639. </dd>
  4640. <dt class="field-even">Default value</dt>
  4641. <dd class="field-even"><p><code class="docutils literal notranslate"><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></code></p>
  4642. </dd>
  4643. </dl>
  4644. </dd></dl>
  4645. <dl class="config option">
  4646. <dt id="cfg_TitleDefault">
  4647. <code class="sig-name descname">$cfg['TitleDefault']</code><a class="headerlink" href="#cfg_TitleDefault" title="Permalink to this definition">¶</a></dt>
  4648. <dd><dl class="field-list simple">
  4649. <dt class="field-odd">Type</dt>
  4650. <dd class="field-odd"><p>string</p>
  4651. </dd>
  4652. <dt class="field-even">Default value</dt>
  4653. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'&#64;HTTP_HOST&#64;</span> <span class="pre">|</span> <span class="pre">&#64;PHPMYADMIN&#64;'</span></code></p>
  4654. </dd>
  4655. </dl>
  4656. <p>Allows you to specify window’s title bar. You can use <a class="reference internal" href="faq.html#faq6-27"><span class="std std-ref">6.27 What format strings can I use?</span></a>.</p>
  4657. </dd></dl>
  4658. </div>
  4659. <div class="section" id="theme-manager-settings">
  4660. <h2>Theme manager settings<a class="headerlink" href="#theme-manager-settings" title="Permalink to this headline">¶</a></h2>
  4661. <dl class="config option">
  4662. <dt id="cfg_ThemeManager">
  4663. <code class="sig-name descname">$cfg['ThemeManager']</code><a class="headerlink" href="#cfg_ThemeManager" title="Permalink to this definition">¶</a></dt>
  4664. <dd><dl class="field-list simple">
  4665. <dt class="field-odd">Type</dt>
  4666. <dd class="field-odd"><p>boolean</p>
  4667. </dd>
  4668. <dt class="field-even">Default value</dt>
  4669. <dd class="field-even"><p>true</p>
  4670. </dd>
  4671. </dl>
  4672. <p>Enables user-selectable themes. See <a class="reference internal" href="faq.html#faqthemes"><span class="std std-ref">2.7 Using and creating themes</span></a>.</p>
  4673. </dd></dl>
  4674. <dl class="config option">
  4675. <dt id="cfg_ThemeDefault">
  4676. <code class="sig-name descname">$cfg['ThemeDefault']</code><a class="headerlink" href="#cfg_ThemeDefault" title="Permalink to this definition">¶</a></dt>
  4677. <dd><dl class="field-list simple">
  4678. <dt class="field-odd">Type</dt>
  4679. <dd class="field-odd"><p>string</p>
  4680. </dd>
  4681. <dt class="field-even">Default value</dt>
  4682. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'pmahomme'</span></code></p>
  4683. </dd>
  4684. </dl>
  4685. <p>The default theme (a subdirectory under <code class="file docutils literal notranslate"><span class="pre">./themes/</span></code>).</p>
  4686. </dd></dl>
  4687. <dl class="config option">
  4688. <dt id="cfg_ThemePerServer">
  4689. <code class="sig-name descname">$cfg['ThemePerServer']</code><a class="headerlink" href="#cfg_ThemePerServer" title="Permalink to this definition">¶</a></dt>
  4690. <dd><dl class="field-list simple">
  4691. <dt class="field-odd">Type</dt>
  4692. <dd class="field-odd"><p>boolean</p>
  4693. </dd>
  4694. <dt class="field-even">Default value</dt>
  4695. <dd class="field-even"><p>false</p>
  4696. </dd>
  4697. </dl>
  4698. <p>Whether to allow different theme for each server.</p>
  4699. </dd></dl>
  4700. <dl class="config option">
  4701. <dt id="cfg_FontSize">
  4702. <code class="sig-name descname">$cfg['FontSize']</code><a class="headerlink" href="#cfg_FontSize" title="Permalink to this definition">¶</a></dt>
  4703. <dd><dl class="field-list simple">
  4704. <dt class="field-odd">Type</dt>
  4705. <dd class="field-odd"><p>string</p>
  4706. </dd>
  4707. <dt class="field-even">Default value</dt>
  4708. <dd class="field-even"><p>‘82%’</p>
  4709. </dd>
  4710. </dl>
  4711. <p>Font size to use, is applied in CSS.</p>
  4712. </dd></dl>
  4713. </div>
  4714. <div class="section" id="default-queries">
  4715. <h2>Default queries<a class="headerlink" href="#default-queries" title="Permalink to this headline">¶</a></h2>
  4716. <dl class="config option">
  4717. <dt id="cfg_DefaultQueryTable">
  4718. <code class="sig-name descname">$cfg['DefaultQueryTable']</code><a class="headerlink" href="#cfg_DefaultQueryTable" title="Permalink to this definition">¶</a></dt>
  4719. <dd><dl class="field-list simple">
  4720. <dt class="field-odd">Type</dt>
  4721. <dd class="field-odd"><p>string</p>
  4722. </dd>
  4723. <dt class="field-even">Default value</dt>
  4724. <dd class="field-even"><p><code class="docutils literal notranslate"><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></code></p>
  4725. </dd>
  4726. </dl>
  4727. </dd></dl>
  4728. <dl class="config option">
  4729. <dt id="cfg_DefaultQueryDatabase">
  4730. <code class="sig-name descname">$cfg['DefaultQueryDatabase']</code><a class="headerlink" href="#cfg_DefaultQueryDatabase" title="Permalink to this definition">¶</a></dt>
  4731. <dd><dl class="field-list simple">
  4732. <dt class="field-odd">Type</dt>
  4733. <dd class="field-odd"><p>string</p>
  4734. </dd>
  4735. <dt class="field-even">Default value</dt>
  4736. <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
  4737. </dd>
  4738. </dl>
  4739. <p>Default queries that will be displayed in query boxes when user didn’t
  4740. specify any. You can use standard <a class="reference internal" href="faq.html#faq6-27"><span class="std std-ref">6.27 What format strings can I use?</span></a>.</p>
  4741. </dd></dl>
  4742. </div>
  4743. <div class="section" id="mysql-settings">
  4744. <h2>MySQL settings<a class="headerlink" href="#mysql-settings" title="Permalink to this headline">¶</a></h2>
  4745. <dl class="config option">
  4746. <dt id="cfg_DefaultFunctions">
  4747. <code class="sig-name descname">$cfg['DefaultFunctions']</code><a class="headerlink" href="#cfg_DefaultFunctions" title="Permalink to this definition">¶</a></dt>
  4748. <dd><dl class="field-list simple">
  4749. <dt class="field-odd">Type</dt>
  4750. <dd class="field-odd"><p>array</p>
  4751. </dd>
  4752. <dt class="field-even">Default value</dt>
  4753. <dd class="field-even"><p>array(…)</p>
  4754. </dd>
  4755. </dl>
  4756. <p>Functions selected by default when inserting/changing row, Functions
  4757. are defined for meta types as (FUNC_NUMBER, FUNC_DATE, FUNC_CHAR,
  4758. FUNC_SPATIAL, FUNC_UUID) and for <code class="docutils literal notranslate"><span class="pre">first_timestamp</span></code>, which is used
  4759. for first timestamp column in table.</p>
  4760. </dd></dl>
  4761. </div>
  4762. <div class="section" id="default-options-for-transformations">
  4763. <h2>Default options for Transformations<a class="headerlink" href="#default-options-for-transformations" title="Permalink to this headline">¶</a></h2>
  4764. <dl class="config option">
  4765. <dt id="cfg_DefaultTransformations">
  4766. <code class="sig-name descname">$cfg['DefaultTransformations']</code><a class="headerlink" href="#cfg_DefaultTransformations" title="Permalink to this definition">¶</a></dt>
  4767. <dd><dl class="field-list simple">
  4768. <dt class="field-odd">Type</dt>
  4769. <dd class="field-odd"><p>array</p>
  4770. </dd>
  4771. <dt class="field-even">Default value</dt>
  4772. <dd class="field-even"><p>An array with below listed key-values</p>
  4773. </dd>
  4774. </dl>
  4775. </dd></dl>
  4776. <dl class="config option">
  4777. <dt id="cfg_DefaultTransformations_Substring">
  4778. <code class="sig-name descname">$cfg['DefaultTransformations']['Substring']</code><a class="headerlink" href="#cfg_DefaultTransformations_Substring" title="Permalink to this definition">¶</a></dt>
  4779. <dd><dl class="field-list simple">
  4780. <dt class="field-odd">Type</dt>
  4781. <dd class="field-odd"><p>array</p>
  4782. </dd>
  4783. <dt class="field-even">Default value</dt>
  4784. <dd class="field-even"><p>array(0, ‘all’, ‘…’)</p>
  4785. </dd>
  4786. </dl>
  4787. </dd></dl>
  4788. <dl class="config option">
  4789. <dt id="cfg_DefaultTransformations_Bool2Text">
  4790. <code class="sig-name descname">$cfg['DefaultTransformations']['Bool2Text']</code><a class="headerlink" href="#cfg_DefaultTransformations_Bool2Text" title="Permalink to this definition">¶</a></dt>
  4791. <dd><dl class="field-list simple">
  4792. <dt class="field-odd">Type</dt>
  4793. <dd class="field-odd"><p>array</p>
  4794. </dd>
  4795. <dt class="field-even">Default value</dt>
  4796. <dd class="field-even"><p>array(‘T’, ‘F’)</p>
  4797. </dd>
  4798. </dl>
  4799. </dd></dl>
  4800. <dl class="config option">
  4801. <dt id="cfg_DefaultTransformations_External">
  4802. <code class="sig-name descname">$cfg['DefaultTransformations']['External']</code><a class="headerlink" href="#cfg_DefaultTransformations_External" title="Permalink to this definition">¶</a></dt>
  4803. <dd><dl class="field-list simple">
  4804. <dt class="field-odd">Type</dt>
  4805. <dd class="field-odd"><p>array</p>
  4806. </dd>
  4807. <dt class="field-even">Default value</dt>
  4808. <dd class="field-even"><p>array(0, ‘-f /dev/null -i -wrap -q’, 1, 1)</p>
  4809. </dd>
  4810. </dl>
  4811. </dd></dl>
  4812. <dl class="config option">
  4813. <dt id="cfg_DefaultTransformations_PreApPend">
  4814. <code class="sig-name descname">$cfg['DefaultTransformations']['PreApPend']</code><a class="headerlink" href="#cfg_DefaultTransformations_PreApPend" title="Permalink to this definition">¶</a></dt>
  4815. <dd><dl class="field-list simple">
  4816. <dt class="field-odd">Type</dt>
  4817. <dd class="field-odd"><p>array</p>
  4818. </dd>
  4819. <dt class="field-even">Default value</dt>
  4820. <dd class="field-even"><p>array(‘’, ‘’)</p>
  4821. </dd>
  4822. </dl>
  4823. </dd></dl>
  4824. <dl class="config option">
  4825. <dt id="cfg_DefaultTransformations_Hex">
  4826. <code class="sig-name descname">$cfg['DefaultTransformations']['Hex']</code><a class="headerlink" href="#cfg_DefaultTransformations_Hex" title="Permalink to this definition">¶</a></dt>
  4827. <dd><dl class="field-list simple">
  4828. <dt class="field-odd">Type</dt>
  4829. <dd class="field-odd"><p>array</p>
  4830. </dd>
  4831. <dt class="field-even">Default value</dt>
  4832. <dd class="field-even"><p>array(‘2’)</p>
  4833. </dd>
  4834. </dl>
  4835. </dd></dl>
  4836. <dl class="config option">
  4837. <dt id="cfg_DefaultTransformations_DateFormat">
  4838. <code class="sig-name descname">$cfg['DefaultTransformations']['DateFormat']</code><a class="headerlink" href="#cfg_DefaultTransformations_DateFormat" title="Permalink to this definition">¶</a></dt>
  4839. <dd><dl class="field-list simple">
  4840. <dt class="field-odd">Type</dt>
  4841. <dd class="field-odd"><p>array</p>
  4842. </dd>
  4843. <dt class="field-even">Default value</dt>
  4844. <dd class="field-even"><p>array(0, ‘’, ‘local’)</p>
  4845. </dd>
  4846. </dl>
  4847. </dd></dl>
  4848. <dl class="config option">
  4849. <dt id="cfg_DefaultTransformations_Inline">
  4850. <code class="sig-name descname">$cfg['DefaultTransformations']['Inline']</code><a class="headerlink" href="#cfg_DefaultTransformations_Inline" title="Permalink to this definition">¶</a></dt>
  4851. <dd><dl class="field-list simple">
  4852. <dt class="field-odd">Type</dt>
  4853. <dd class="field-odd"><p>array</p>
  4854. </dd>
  4855. <dt class="field-even">Default value</dt>
  4856. <dd class="field-even"><p>array(‘100’, 100)</p>
  4857. </dd>
  4858. </dl>
  4859. </dd></dl>
  4860. <dl class="config option">
  4861. <dt id="cfg_DefaultTransformations_TextImageLink">
  4862. <code class="sig-name descname">$cfg['DefaultTransformations']['TextImageLink']</code><a class="headerlink" href="#cfg_DefaultTransformations_TextImageLink" title="Permalink to this definition">¶</a></dt>
  4863. <dd><dl class="field-list simple">
  4864. <dt class="field-odd">Type</dt>
  4865. <dd class="field-odd"><p>array</p>
  4866. </dd>
  4867. <dt class="field-even">Default value</dt>
  4868. <dd class="field-even"><p>array(‘’, 100, 50)</p>
  4869. </dd>
  4870. </dl>
  4871. </dd></dl>
  4872. <dl class="config option">
  4873. <dt id="cfg_DefaultTransformations_TextLink">
  4874. <code class="sig-name descname">$cfg['DefaultTransformations']['TextLink']</code><a class="headerlink" href="#cfg_DefaultTransformations_TextLink" title="Permalink to this definition">¶</a></dt>
  4875. <dd><dl class="field-list simple">
  4876. <dt class="field-odd">Type</dt>
  4877. <dd class="field-odd"><p>array</p>
  4878. </dd>
  4879. <dt class="field-even">Default value</dt>
  4880. <dd class="field-even"><p>array(‘’, ‘’, ‘’)</p>
  4881. </dd>
  4882. </dl>
  4883. </dd></dl>
  4884. </div>
  4885. <div class="section" id="console-settings">
  4886. <h2>Console settings<a class="headerlink" href="#console-settings" title="Permalink to this headline">¶</a></h2>
  4887. <div class="admonition note">
  4888. <p class="admonition-title">Note</p>
  4889. <p>These settings are mostly meant to be changed by user.</p>
  4890. </div>
  4891. <dl class="config option">
  4892. <dt id="cfg_Console_StartHistory">
  4893. <code class="sig-name descname">$cfg['Console']['StartHistory']</code><a class="headerlink" href="#cfg_Console_StartHistory" title="Permalink to this definition">¶</a></dt>
  4894. <dd><dl class="field-list simple">
  4895. <dt class="field-odd">Type</dt>
  4896. <dd class="field-odd"><p>boolean</p>
  4897. </dd>
  4898. <dt class="field-even">Default value</dt>
  4899. <dd class="field-even"><p>false</p>
  4900. </dd>
  4901. </dl>
  4902. <p>Show query history at start</p>
  4903. </dd></dl>
  4904. <dl class="config option">
  4905. <dt id="cfg_Console_AlwaysExpand">
  4906. <code class="sig-name descname">$cfg['Console']['AlwaysExpand']</code><a class="headerlink" href="#cfg_Console_AlwaysExpand" title="Permalink to this definition">¶</a></dt>
  4907. <dd><dl class="field-list simple">
  4908. <dt class="field-odd">Type</dt>
  4909. <dd class="field-odd"><p>boolean</p>
  4910. </dd>
  4911. <dt class="field-even">Default value</dt>
  4912. <dd class="field-even"><p>false</p>
  4913. </dd>
  4914. </dl>
  4915. <p>Always expand query messages</p>
  4916. </dd></dl>
  4917. <dl class="config option">
  4918. <dt id="cfg_Console_CurrentQuery">
  4919. <code class="sig-name descname">$cfg['Console']['CurrentQuery']</code><a class="headerlink" href="#cfg_Console_CurrentQuery" title="Permalink to this definition">¶</a></dt>
  4920. <dd><dl class="field-list simple">
  4921. <dt class="field-odd">Type</dt>
  4922. <dd class="field-odd"><p>boolean</p>
  4923. </dd>
  4924. <dt class="field-even">Default value</dt>
  4925. <dd class="field-even"><p>true</p>
  4926. </dd>
  4927. </dl>
  4928. <p>Show current browsing query</p>
  4929. </dd></dl>
  4930. <dl class="config option">
  4931. <dt id="cfg_Console_EnterExecutes">
  4932. <code class="sig-name descname">$cfg['Console']['EnterExecutes']</code><a class="headerlink" href="#cfg_Console_EnterExecutes" title="Permalink to this definition">¶</a></dt>
  4933. <dd><dl class="field-list simple">
  4934. <dt class="field-odd">Type</dt>
  4935. <dd class="field-odd"><p>boolean</p>
  4936. </dd>
  4937. <dt class="field-even">Default value</dt>
  4938. <dd class="field-even"><p>false</p>
  4939. </dd>
  4940. </dl>
  4941. <p>Execute queries on Enter and insert new line with Shift + Enter</p>
  4942. </dd></dl>
  4943. <dl class="config option">
  4944. <dt id="cfg_Console_DarkTheme">
  4945. <code class="sig-name descname">$cfg['Console']['DarkTheme']</code><a class="headerlink" href="#cfg_Console_DarkTheme" title="Permalink to this definition">¶</a></dt>
  4946. <dd><dl class="field-list simple">
  4947. <dt class="field-odd">Type</dt>
  4948. <dd class="field-odd"><p>boolean</p>
  4949. </dd>
  4950. <dt class="field-even">Default value</dt>
  4951. <dd class="field-even"><p>false</p>
  4952. </dd>
  4953. </dl>
  4954. <p>Switch to dark theme</p>
  4955. </dd></dl>
  4956. <dl class="config option">
  4957. <dt id="cfg_Console_Mode">
  4958. <code class="sig-name descname">$cfg['Console']['Mode']</code><a class="headerlink" href="#cfg_Console_Mode" title="Permalink to this definition">¶</a></dt>
  4959. <dd><dl class="field-list simple">
  4960. <dt class="field-odd">Type</dt>
  4961. <dd class="field-odd"><p>string</p>
  4962. </dd>
  4963. <dt class="field-even">Default value</dt>
  4964. <dd class="field-even"><p>‘info’</p>
  4965. </dd>
  4966. </dl>
  4967. <p>Console mode</p>
  4968. </dd></dl>
  4969. <dl class="config option">
  4970. <dt id="cfg_Console_Height">
  4971. <code class="sig-name descname">$cfg['Console']['Height']</code><a class="headerlink" href="#cfg_Console_Height" title="Permalink to this definition">¶</a></dt>
  4972. <dd><dl class="field-list simple">
  4973. <dt class="field-odd">Type</dt>
  4974. <dd class="field-odd"><p>integer</p>
  4975. </dd>
  4976. <dt class="field-even">Default value</dt>
  4977. <dd class="field-even"><p>92</p>
  4978. </dd>
  4979. </dl>
  4980. <p>Console height</p>
  4981. </dd></dl>
  4982. </div>
  4983. <div class="section" id="developer">
  4984. <h2>Developer<a class="headerlink" href="#developer" title="Permalink to this headline">¶</a></h2>
  4985. <div class="admonition warning">
  4986. <p class="admonition-title">Warning</p>
  4987. <p>These settings might have huge effect on performance or security.</p>
  4988. </div>
  4989. <dl class="config option">
  4990. <dt id="cfg_DBG">
  4991. <code class="sig-name descname">$cfg['DBG']</code><a class="headerlink" href="#cfg_DBG" title="Permalink to this definition">¶</a></dt>
  4992. <dd><dl class="field-list simple">
  4993. <dt class="field-odd">Type</dt>
  4994. <dd class="field-odd"><p>array</p>
  4995. </dd>
  4996. <dt class="field-even">Default value</dt>
  4997. <dd class="field-even"><p>array(…)</p>
  4998. </dd>
  4999. </dl>
  5000. </dd></dl>
  5001. <dl class="config option">
  5002. <dt id="cfg_DBG_sql">
  5003. <code class="sig-name descname">$cfg['DBG']['sql']</code><a class="headerlink" href="#cfg_DBG_sql" title="Permalink to this definition">¶</a></dt>
  5004. <dd><dl class="field-list simple">
  5005. <dt class="field-odd">Type</dt>
  5006. <dd class="field-odd"><p>boolean</p>
  5007. </dd>
  5008. <dt class="field-even">Default value</dt>
  5009. <dd class="field-even"><p>false</p>
  5010. </dd>
  5011. </dl>
  5012. <p>Enable logging queries and execution times to be
  5013. displayed in the console’s Debug SQL tab.</p>
  5014. </dd></dl>
  5015. <dl class="config option">
  5016. <dt id="cfg_DBG_sqllog">
  5017. <code class="sig-name descname">$cfg['DBG']['sqllog']</code><a class="headerlink" href="#cfg_DBG_sqllog" title="Permalink to this definition">¶</a></dt>
  5018. <dd><dl class="field-list simple">
  5019. <dt class="field-odd">Type</dt>
  5020. <dd class="field-odd"><p>boolean</p>
  5021. </dd>
  5022. <dt class="field-even">Default value</dt>
  5023. <dd class="field-even"><p>false</p>
  5024. </dd>
  5025. </dl>
  5026. <p>Enable logging of queries and execution times to the syslog.
  5027. Requires <span class="target" id="index-152"></span><a class="reference internal" href="#cfg_DBG_sql"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['DBG']['sql']</span></code></a> to be enabled.</p>
  5028. </dd></dl>
  5029. <dl class="config option">
  5030. <dt id="cfg_DBG_demo">
  5031. <code class="sig-name descname">$cfg['DBG']['demo']</code><a class="headerlink" href="#cfg_DBG_demo" title="Permalink to this definition">¶</a></dt>
  5032. <dd><dl class="field-list simple">
  5033. <dt class="field-odd">Type</dt>
  5034. <dd class="field-odd"><p>boolean</p>
  5035. </dd>
  5036. <dt class="field-even">Default value</dt>
  5037. <dd class="field-even"><p>false</p>
  5038. </dd>
  5039. </dl>
  5040. <p>Enable to let server present itself as demo server.
  5041. This is used for <a class="reference external" href="https://www.phpmyadmin.net/try/">phpMyAdmin demo server</a>.</p>
  5042. <p>It currently changes following behavior:</p>
  5043. <ul class="simple">
  5044. <li><p>There is welcome message on the main page.</p></li>
  5045. <li><p>There is footer information about demo server and used git revision.</p></li>
  5046. <li><p>The setup script is enabled even with existing configuration.</p></li>
  5047. <li><p>The setup does not try to connect to the MySQL server.</p></li>
  5048. </ul>
  5049. </dd></dl>
  5050. <dl class="config option">
  5051. <dt id="cfg_DBG_simple2fa">
  5052. <code class="sig-name descname">$cfg['DBG']['simple2fa']</code><a class="headerlink" href="#cfg_DBG_simple2fa" title="Permalink to this definition">¶</a></dt>
  5053. <dd><dl class="field-list simple">
  5054. <dt class="field-odd">Type</dt>
  5055. <dd class="field-odd"><p>boolean</p>
  5056. </dd>
  5057. <dt class="field-even">Default value</dt>
  5058. <dd class="field-even"><p>false</p>
  5059. </dd>
  5060. </dl>
  5061. <p>Can be used for testing two-factor authentication using <a class="reference internal" href="two_factor.html#simple2fa"><span class="std std-ref">Simple two-factor authentication</span></a>.</p>
  5062. </dd></dl>
  5063. </div>
  5064. <div class="section" id="examples">
  5065. <span id="config-examples"></span><h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h2>
  5066. <p>See following configuration snippets for typical setups of phpMyAdmin.</p>
  5067. <div class="section" id="basic-example">
  5068. <h3>Basic example<a class="headerlink" href="#basic-example" title="Permalink to this headline">¶</a></h3>
  5069. <p>Example configuration file, which can be copied to <code class="file docutils literal notranslate"><span class="pre">config.inc.php</span></code> to
  5070. get some core configuration layout; it is distributed with phpMyAdmin as
  5071. <code class="file docutils literal notranslate"><span class="pre">config.sample.inc.php</span></code>. Please note that it does not contain all
  5072. configuration options, only the most frequently used ones.</p>
  5073. <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="o">&lt;?</span><span class="nx">php</span>
  5074. <span class="cm">/* vim: set expandtab sw=4 ts=4 sts=4: */</span>
  5075. <span class="sd">/**</span>
  5076. <span class="sd"> * phpMyAdmin sample configuration, you can use it as base for</span>
  5077. <span class="sd"> * manual configuration. For easier setup you can use setup/</span>
  5078. <span class="sd"> *</span>
  5079. <span class="sd"> * All directives are explained in documentation in the doc/ folder</span>
  5080. <span class="sd"> * or at &lt;https://docs.phpmyadmin.net/&gt;.</span>
  5081. <span class="sd"> *</span>
  5082. <span class="sd"> * @package PhpMyAdmin</span>
  5083. <span class="sd"> */</span>
  5084. <span class="sd">/**</span>
  5085. <span class="sd"> * This is needed for cookie based authentication to encrypt password in</span>
  5086. <span class="sd"> * cookie. Needs to be 32 chars long.</span>
  5087. <span class="sd"> */</span>
  5088. <span class="nv">$cfg</span><span class="p">[</span><span class="s1">&#39;blowfish_secret&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&#39;</span><span class="p">;</span> <span class="cm">/* YOU MUST FILL IN THIS FOR COOKIE AUTH! */</span>
  5089. <span class="sd">/**</span>
  5090. <span class="sd"> * Servers configuration</span>
  5091. <span class="sd"> */</span>
  5092. <span class="nv">$i</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span>
  5093. <span class="sd">/**</span>
  5094. <span class="sd"> * First server</span>
  5095. <span class="sd"> */</span>
  5096. <span class="nv">$i</span><span class="o">++</span><span class="p">;</span>
  5097. <span class="cm">/* Authentication type */</span>
  5098. <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;auth_type&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;cookie&#39;</span><span class="p">;</span>
  5099. <span class="cm">/* Server parameters */</span>
  5100. <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;host&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;localhost&#39;</span><span class="p">;</span>
  5101. <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;compress&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="k">false</span><span class="p">;</span>
  5102. <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;AllowNoPassword&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="k">false</span><span class="p">;</span>
  5103. <span class="sd">/**</span>
  5104. <span class="sd"> * phpMyAdmin configuration storage settings.</span>
  5105. <span class="sd"> */</span>
  5106. <span class="cm">/* User used to manipulate with storage */</span>
  5107. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;controlhost&#39;] = &#39;&#39;;</span>
  5108. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;controlport&#39;] = &#39;&#39;;</span>
  5109. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;controluser&#39;] = &#39;pma&#39;;</span>
  5110. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;controlpass&#39;] = &#39;pmapass&#39;;</span>
  5111. <span class="cm">/* Storage database and tables */</span>
  5112. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;pmadb&#39;] = &#39;phpmyadmin&#39;;</span>
  5113. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;bookmarktable&#39;] = &#39;pma__bookmark&#39;;</span>
  5114. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;relation&#39;] = &#39;pma__relation&#39;;</span>
  5115. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;table_info&#39;] = &#39;pma__table_info&#39;;</span>
  5116. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;table_coords&#39;] = &#39;pma__table_coords&#39;;</span>
  5117. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;pdf_pages&#39;] = &#39;pma__pdf_pages&#39;;</span>
  5118. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;column_info&#39;] = &#39;pma__column_info&#39;;</span>
  5119. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;history&#39;] = &#39;pma__history&#39;;</span>
  5120. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;table_uiprefs&#39;] = &#39;pma__table_uiprefs&#39;;</span>
  5121. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;tracking&#39;] = &#39;pma__tracking&#39;;</span>
  5122. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;userconfig&#39;] = &#39;pma__userconfig&#39;;</span>
  5123. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;recent&#39;] = &#39;pma__recent&#39;;</span>
  5124. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;favorite&#39;] = &#39;pma__favorite&#39;;</span>
  5125. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;users&#39;] = &#39;pma__users&#39;;</span>
  5126. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;usergroups&#39;] = &#39;pma__usergroups&#39;;</span>
  5127. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;navigationhiding&#39;] = &#39;pma__navigationhiding&#39;;</span>
  5128. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;savedsearches&#39;] = &#39;pma__savedsearches&#39;;</span>
  5129. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;central_columns&#39;] = &#39;pma__central_columns&#39;;</span>
  5130. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;designer_settings&#39;] = &#39;pma__designer_settings&#39;;</span>
  5131. <span class="c1">// $cfg[&#39;Servers&#39;][$i][&#39;export_templates&#39;] = &#39;pma__export_templates&#39;;</span>
  5132. <span class="sd">/**</span>
  5133. <span class="sd"> * End of servers configuration</span>
  5134. <span class="sd"> */</span>
  5135. <span class="sd">/**</span>
  5136. <span class="sd"> * Directories for saving/loading files from server</span>
  5137. <span class="sd"> */</span>
  5138. <span class="nv">$cfg</span><span class="p">[</span><span class="s1">&#39;UploadDir&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&#39;</span><span class="p">;</span>
  5139. <span class="nv">$cfg</span><span class="p">[</span><span class="s1">&#39;SaveDir&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;&#39;</span><span class="p">;</span>
  5140. <span class="sd">/**</span>
  5141. <span class="sd"> * Whether to display icons or text or both icons and text in table row</span>
  5142. <span class="sd"> * action segment. Value can be either of &#39;icons&#39;, &#39;text&#39; or &#39;both&#39;.</span>
  5143. <span class="sd"> * default = &#39;both&#39;</span>
  5144. <span class="sd"> */</span>
  5145. <span class="c1">//$cfg[&#39;RowActionType&#39;] = &#39;icons&#39;;</span>
  5146. <span class="sd">/**</span>
  5147. <span class="sd"> * Defines whether a user should be displayed a &quot;show all (records)&quot;</span>
  5148. <span class="sd"> * button in browse mode or not.</span>
  5149. <span class="sd"> * default = false</span>
  5150. <span class="sd"> */</span>
  5151. <span class="c1">//$cfg[&#39;ShowAll&#39;] = true;</span>
  5152. <span class="sd">/**</span>
  5153. <span class="sd"> * Number of rows displayed when browsing a result set. If the result</span>
  5154. <span class="sd"> * set contains more rows, &quot;Previous&quot; and &quot;Next&quot;.</span>
  5155. <span class="sd"> * Possible values: 25, 50, 100, 250, 500</span>
  5156. <span class="sd"> * default = 25</span>
  5157. <span class="sd"> */</span>
  5158. <span class="c1">//$cfg[&#39;MaxRows&#39;] = 50;</span>
  5159. <span class="sd">/**</span>
  5160. <span class="sd"> * Disallow editing of binary fields</span>
  5161. <span class="sd"> * valid values are:</span>
  5162. <span class="sd"> * false allow editing</span>
  5163. <span class="sd"> * &#39;blob&#39; allow editing except for BLOB fields</span>
  5164. <span class="sd"> * &#39;noblob&#39; disallow editing except for BLOB fields</span>
  5165. <span class="sd"> * &#39;all&#39; disallow editing</span>
  5166. <span class="sd"> * default = &#39;blob&#39;</span>
  5167. <span class="sd"> */</span>
  5168. <span class="c1">//$cfg[&#39;ProtectBinary&#39;] = false;</span>
  5169. <span class="sd">/**</span>
  5170. <span class="sd"> * Default language to use, if not browser-defined or user-defined</span>
  5171. <span class="sd"> * (you find all languages in the locale folder)</span>
  5172. <span class="sd"> * uncomment the desired line:</span>
  5173. <span class="sd"> * default = &#39;en&#39;</span>
  5174. <span class="sd"> */</span>
  5175. <span class="c1">//$cfg[&#39;DefaultLang&#39;] = &#39;en&#39;;</span>
  5176. <span class="c1">//$cfg[&#39;DefaultLang&#39;] = &#39;de&#39;;</span>
  5177. <span class="sd">/**</span>
  5178. <span class="sd"> * How many columns should be used for table display of a database?</span>
  5179. <span class="sd"> * (a value larger than 1 results in some information being hidden)</span>
  5180. <span class="sd"> * default = 1</span>
  5181. <span class="sd"> */</span>
  5182. <span class="c1">//$cfg[&#39;PropertiesNumColumns&#39;] = 2;</span>
  5183. <span class="sd">/**</span>
  5184. <span class="sd"> * Set to true if you want DB-based query history.If false, this utilizes</span>
  5185. <span class="sd"> * JS-routines to display query history (lost by window close)</span>
  5186. <span class="sd"> *</span>
  5187. <span class="sd"> * This requires configuration storage enabled, see above.</span>
  5188. <span class="sd"> * default = false</span>
  5189. <span class="sd"> */</span>
  5190. <span class="c1">//$cfg[&#39;QueryHistoryDB&#39;] = true;</span>
  5191. <span class="sd">/**</span>
  5192. <span class="sd"> * When using DB-based query history, how many entries should be kept?</span>
  5193. <span class="sd"> * default = 25</span>
  5194. <span class="sd"> */</span>
  5195. <span class="c1">//$cfg[&#39;QueryHistoryMax&#39;] = 100;</span>
  5196. <span class="sd">/**</span>
  5197. <span class="sd"> * Whether or not to query the user before sending the error report to</span>
  5198. <span class="sd"> * the phpMyAdmin team when a JavaScript error occurs</span>
  5199. <span class="sd"> *</span>
  5200. <span class="sd"> * Available options</span>
  5201. <span class="sd"> * (&#39;ask&#39; | &#39;always&#39; | &#39;never&#39;)</span>
  5202. <span class="sd"> * default = &#39;ask&#39;</span>
  5203. <span class="sd"> */</span>
  5204. <span class="c1">//$cfg[&#39;SendErrorReports&#39;] = &#39;always&#39;;</span>
  5205. <span class="sd">/**</span>
  5206. <span class="sd"> * &#39;URLQueryEncryption&#39; defines whether phpMyAdmin will encrypt sensitive data from the URL query string.</span>
  5207. <span class="sd"> * &#39;URLQueryEncryptionSecretKey&#39; is a 32 bytes long secret key used to encrypt/decrypt the URL query string.</span>
  5208. <span class="sd"> */</span>
  5209. <span class="c1">//$cfg[&#39;URLQueryEncryption&#39;] = true;</span>
  5210. <span class="c1">//$cfg[&#39;URLQueryEncryptionSecretKey&#39;] = &#39;&#39;;</span>
  5211. <span class="sd">/**</span>
  5212. <span class="sd"> * You can find more configuration options in the documentation</span>
  5213. <span class="sd"> * in the doc/ folder or at &lt;https://docs.phpmyadmin.net/&gt;.</span>
  5214. <span class="sd"> */</span>
  5215. </pre></div>
  5216. </div>
  5217. <div class="admonition warning">
  5218. <p class="admonition-title">Warning</p>
  5219. <p>Don’t use the controluser ‘pma’ if it does not yet exist and don’t use ‘pmapass’
  5220. as password.</p>
  5221. </div>
  5222. </div>
  5223. <div class="section" id="example-for-signon-authentication">
  5224. <span id="example-signon"></span><h3>Example for signon authentication<a class="headerlink" href="#example-for-signon-authentication" title="Permalink to this headline">¶</a></h3>
  5225. <p>This example uses <code class="file docutils literal notranslate"><span class="pre">examples/signon.php</span></code> to demonstrate usage of <a class="reference internal" href="setup.html#auth-signon"><span class="std std-ref">Signon authentication mode</span></a>:</p>
  5226. <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="o">&lt;?</span><span class="nx">php</span>
  5227. <span class="nv">$i</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span>
  5228. <span class="nv">$i</span><span class="o">++</span><span class="p">;</span>
  5229. <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;extension&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;mysqli&#39;</span><span class="p">;</span>
  5230. <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;auth_type&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;signon&#39;</span><span class="p">;</span>
  5231. <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;SignonSession&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;SignonSession&#39;</span><span class="p">;</span>
  5232. <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;SignonURL&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;examples/signon.php&#39;</span><span class="p">;</span>
  5233. <span class="cp">?&gt;</span><span class="x">`</span>
  5234. </pre></div>
  5235. </div>
  5236. </div>
  5237. <div class="section" id="example-for-ip-address-limited-autologin">
  5238. <h3>Example for IP address limited autologin<a class="headerlink" href="#example-for-ip-address-limited-autologin" title="Permalink to this headline">¶</a></h3>
  5239. <p>If you want to automatically login when accessing phpMyAdmin locally while asking
  5240. for a password when accessing remotely, you can achieve it using following snippet:</p>
  5241. <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="k">if</span> <span class="p">(</span><span class="nv">$_SERVER</span><span class="p">[</span><span class="s2">&quot;REMOTE_ADDR&quot;</span><span class="p">]</span> <span class="o">==</span> <span class="s2">&quot;127.0.0.1&quot;</span><span class="p">)</span> <span class="p">{</span>
  5242. <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;auth_type&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;config&#39;</span><span class="p">;</span>
  5243. <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;user&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;root&#39;</span><span class="p">;</span>
  5244. <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;password&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;yourpassword&#39;</span><span class="p">;</span>
  5245. <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
  5246. <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;auth_type&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;cookie&#39;</span><span class="p">;</span>
  5247. <span class="p">}</span>
  5248. </pre></div>
  5249. </div>
  5250. <div class="admonition note">
  5251. <p class="admonition-title">Note</p>
  5252. <p>Filtering based on IP addresses isn’t reliable over the internet, use it
  5253. only for local address.</p>
  5254. </div>
  5255. </div>
  5256. <div class="section" id="example-for-using-multiple-mysql-servers">
  5257. <h3>Example for using multiple MySQL servers<a class="headerlink" href="#example-for-using-multiple-mysql-servers" title="Permalink to this headline">¶</a></h3>
  5258. <p>You can configure any number of servers using <span class="target" id="index-153"></span><a class="reference internal" href="#cfg_Servers"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers']</span></code></a>,
  5259. following example shows two of them:</p>
  5260. <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="o">&lt;?</span><span class="nx">php</span>
  5261. <span class="nv">$cfg</span><span class="p">[</span><span class="s1">&#39;blowfish_secret&#39;</span><span class="p">]</span><span class="o">=</span><span class="s1">&#39;multiServerExample70518&#39;</span><span class="p">;</span>
  5262. <span class="c1">//any string of your choice</span>
  5263. <span class="nv">$i</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span>
  5264. <span class="nv">$i</span><span class="o">++</span><span class="p">;</span> <span class="c1">// server 1 :</span>
  5265. <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;auth_type&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;cookie&#39;</span><span class="p">;</span>
  5266. <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;verbose&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;no1&#39;</span><span class="p">;</span>
  5267. <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;host&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;localhost&#39;</span><span class="p">;</span>
  5268. <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;extension&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;mysqli&#39;</span><span class="p">;</span>
  5269. <span class="c1">// more options for #1 ...</span>
  5270. <span class="nv">$i</span><span class="o">++</span><span class="p">;</span> <span class="c1">// server 2 :</span>
  5271. <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;auth_type&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;cookie&#39;</span><span class="p">;</span>
  5272. <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;verbose&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;no2&#39;</span><span class="p">;</span>
  5273. <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;host&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;remote.host.addr&#39;</span><span class="p">;</span><span class="c1">//or ip:&#39;10.9.8.1&#39;</span>
  5274. <span class="c1">// this server must allow remote clients, e.g., host 10.9.8.%</span>
  5275. <span class="c1">// not only in mysql.host but also in the startup configuration</span>
  5276. <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;extension&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;mysqli&#39;</span><span class="p">;</span>
  5277. <span class="c1">// more options for #2 ...</span>
  5278. <span class="c1">// end of server sections</span>
  5279. <span class="nv">$cfg</span><span class="p">[</span><span class="s1">&#39;ServerDefault&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span> <span class="c1">// to choose the server on startup</span>
  5280. <span class="c1">// further general options ...</span>
  5281. <span class="cp">?&gt;</span><span class="x"></span>
  5282. </pre></div>
  5283. </div>
  5284. </div>
  5285. <div class="section" id="google-cloud-sql-with-ssl">
  5286. <span id="example-google-ssl"></span><h3>Google Cloud SQL with SSL<a class="headerlink" href="#google-cloud-sql-with-ssl" title="Permalink to this headline">¶</a></h3>
  5287. <p>To connect to Google Could SQL, you currently need to disable certificate
  5288. verification. This is caused by the certficate being issued for CN matching
  5289. your instance name, but you connect to an IP address and PHP tries to match
  5290. these two. With verfication you end up with error message like:</p>
  5291. <div class="highlight-text notranslate"><div class="highlight"><pre><span></span>Peer certificate CN=`api-project-851612429544:pmatest&#39; did not match expected CN=`8.8.8.8&#39;
  5292. </pre></div>
  5293. </div>
  5294. <div class="admonition warning">
  5295. <p class="admonition-title">Warning</p>
  5296. <p>With disabled verification your traffic is encrypted, but you’re open to
  5297. man in the middle attacks.</p>
  5298. </div>
  5299. <p>To connect phpMyAdmin to Google Cloud SQL using SSL download the client and
  5300. server certificates and tell phpMyAdmin to use them:</p>
  5301. <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="c1">// IP address of your instance</span>
  5302. <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;host&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;8.8.8.8&#39;</span><span class="p">;</span>
  5303. <span class="c1">// Use SSL for connection</span>
  5304. <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&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="k">true</span><span class="p">;</span>
  5305. <span class="c1">// Client secret key</span>
  5306. <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;../client-key.pem&#39;</span><span class="p">;</span>
  5307. <span class="c1">// Client certificate</span>
  5308. <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_cert&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;../client-cert.pem&#39;</span><span class="p">;</span>
  5309. <span class="c1">// Server certification authority</span>
  5310. <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_ca&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;../server-ca.pem&#39;</span><span class="p">;</span>
  5311. <span class="c1">// Disable SSL verification (see above note)</span>
  5312. <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_verify&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="k">false</span><span class="p">;</span>
  5313. </pre></div>
  5314. </div>
  5315. <div class="admonition seealso">
  5316. <p class="admonition-title">See also</p>
  5317. <p><a class="reference internal" href="setup.html#ssl"><span class="std std-ref">Using SSL for connection to database server</span></a>,
  5318. <span class="target" id="index-154"></span><a class="reference internal" href="#cfg_Servers_ssl"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl']</span></code></a>,
  5319. <span class="target" id="index-155"></span><a class="reference internal" href="#cfg_Servers_ssl_key"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_key']</span></code></a>,
  5320. <span class="target" id="index-156"></span><a class="reference internal" href="#cfg_Servers_ssl_cert"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_cert']</span></code></a>,
  5321. <span class="target" id="index-157"></span><a class="reference internal" href="#cfg_Servers_ssl_ca"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_ca']</span></code></a>,
  5322. <span class="target" id="index-158"></span><a class="reference internal" href="#cfg_Servers_ssl_verify"><code class="xref config config-option docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['ssl_verify']</span></code></a>,
  5323. &lt;<a class="reference external" href="https://bugs.php.net/bug.php?id=72048">https://bugs.php.net/bug.php?id=72048</a>&gt;</p>
  5324. </div>
  5325. </div>
  5326. </div>
  5327. </div>
  5328. <div class="clearer"></div>
  5329. </div>
  5330. </div>
  5331. </div>
  5332. <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
  5333. <div class="sphinxsidebarwrapper">
  5334. <h3><a href="index.html">Table of Contents</a></h3>
  5335. <ul>
  5336. <li><a class="reference internal" href="#">Configuration</a><ul>
  5337. <li><a class="reference internal" href="#basic-settings">Basic settings</a></li>
  5338. <li><a class="reference internal" href="#server-connection-settings">Server connection settings</a></li>
  5339. <li><a class="reference internal" href="#generic-settings">Generic settings</a></li>
  5340. <li><a class="reference internal" href="#cookie-authentication-options">Cookie authentication options</a></li>
  5341. <li><a class="reference internal" href="#navigation-panel-setup">Navigation panel setup</a></li>
  5342. <li><a class="reference internal" href="#main-panel">Main panel</a></li>
  5343. <li><a class="reference internal" href="#database-structure">Database structure</a></li>
  5344. <li><a class="reference internal" href="#browse-mode">Browse mode</a></li>
  5345. <li><a class="reference internal" href="#editing-mode">Editing mode</a></li>
  5346. <li><a class="reference internal" href="#export-and-import-settings">Export and import settings</a></li>
  5347. <li><a class="reference internal" href="#tabs-display-settings">Tabs display settings</a></li>
  5348. <li><a class="reference internal" href="#pdf-options">PDF Options</a></li>
  5349. <li><a class="reference internal" href="#languages">Languages</a></li>
  5350. <li><a class="reference internal" href="#web-server-settings">Web server settings</a></li>
  5351. <li><a class="reference internal" href="#theme-settings">Theme settings</a></li>
  5352. <li><a class="reference internal" href="#design-customization">Design customization</a></li>
  5353. <li><a class="reference internal" href="#text-fields">Text fields</a></li>
  5354. <li><a class="reference internal" href="#sql-query-box-settings">SQL query box settings</a></li>
  5355. <li><a class="reference internal" href="#web-server-upload-save-import-directories">Web server upload/save/import directories</a></li>
  5356. <li><a class="reference internal" href="#various-display-setting">Various display setting</a></li>
  5357. <li><a class="reference internal" href="#page-titles">Page titles</a></li>
  5358. <li><a class="reference internal" href="#theme-manager-settings">Theme manager settings</a></li>
  5359. <li><a class="reference internal" href="#default-queries">Default queries</a></li>
  5360. <li><a class="reference internal" href="#mysql-settings">MySQL settings</a></li>
  5361. <li><a class="reference internal" href="#default-options-for-transformations">Default options for Transformations</a></li>
  5362. <li><a class="reference internal" href="#console-settings">Console settings</a></li>
  5363. <li><a class="reference internal" href="#developer">Developer</a></li>
  5364. <li><a class="reference internal" href="#examples">Examples</a><ul>
  5365. <li><a class="reference internal" href="#basic-example">Basic example</a></li>
  5366. <li><a class="reference internal" href="#example-for-signon-authentication">Example for signon authentication</a></li>
  5367. <li><a class="reference internal" href="#example-for-ip-address-limited-autologin">Example for IP address limited autologin</a></li>
  5368. <li><a class="reference internal" href="#example-for-using-multiple-mysql-servers">Example for using multiple MySQL servers</a></li>
  5369. <li><a class="reference internal" href="#google-cloud-sql-with-ssl">Google Cloud SQL with SSL</a></li>
  5370. </ul>
  5371. </li>
  5372. </ul>
  5373. </li>
  5374. </ul>
  5375. <h4>Previous topic</h4>
  5376. <p class="topless"><a href="setup.html"
  5377. title="previous chapter">Installation</a></p>
  5378. <h4>Next topic</h4>
  5379. <p class="topless"><a href="user.html"
  5380. title="next chapter">User Guide</a></p>
  5381. <div role="note" aria-label="source link">
  5382. <h3>This Page</h3>
  5383. <ul class="this-page-menu">
  5384. <li><a href="_sources/config.rst.txt"
  5385. rel="nofollow">Show Source</a></li>
  5386. </ul>
  5387. </div>
  5388. <div id="searchbox" style="display: none" role="search">
  5389. <h3 id="searchlabel">Quick search</h3>
  5390. <div class="searchformwrapper">
  5391. <form class="search" action="search.html" method="get">
  5392. <input type="text" name="q" aria-labelledby="searchlabel" />
  5393. <input type="submit" value="Go" />
  5394. </form>
  5395. </div>
  5396. </div>
  5397. <script>$('#searchbox').show(0);</script>
  5398. </div>
  5399. </div>
  5400. <div class="clearer"></div>
  5401. </div>
  5402. <div class="related" role="navigation" aria-label="related navigation">
  5403. <h3>Navigation</h3>
  5404. <ul>
  5405. <li class="right" style="margin-right: 10px">
  5406. <a href="genindex.html" title="General Index"
  5407. >index</a></li>
  5408. <li class="right" >
  5409. <a href="user.html" title="User Guide"
  5410. >next</a> |</li>
  5411. <li class="right" >
  5412. <a href="setup.html" title="Installation"
  5413. >previous</a> |</li>
  5414. <li class="nav-item nav-item-0"><a href="index.html">phpMyAdmin 4.9.10 documentation</a> &#187;</li>
  5415. <li class="nav-item nav-item-this"><a href="">Configuration</a></li>
  5416. </ul>
  5417. </div>
  5418. <div class="footer" role="contentinfo">
  5419. &#169; <a href="copyright.html">Copyright</a> 2012 - 2018, The phpMyAdmin devel team.
  5420. Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 3.4.3.
  5421. </div>
  5422. </body>
  5423. </html>