1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>Configuration — phpMyAdmin 4.9.10 documentation</title>
- <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
- <link rel="stylesheet" href="_static/classic.css" type="text/css" />
-
- <script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
- <script src="_static/jquery.js"></script>
- <script src="_static/underscore.js"></script>
- <script src="_static/doctools.js"></script>
-
- <link rel="index" title="Index" href="genindex.html" />
- <link rel="search" title="Search" href="search.html" />
- <link rel="copyright" title="Copyright" href="copyright.html" />
- <link rel="next" title="User Guide" href="user.html" />
- <link rel="prev" title="Installation" href="setup.html" />
- </head><body>
- <div class="related" role="navigation" aria-label="related navigation">
- <h3>Navigation</h3>
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="genindex.html" title="General Index"
- accesskey="I">index</a></li>
- <li class="right" >
- <a href="user.html" title="User Guide"
- accesskey="N">next</a> |</li>
- <li class="right" >
- <a href="setup.html" title="Installation"
- accesskey="P">previous</a> |</li>
- <li class="nav-item nav-item-0"><a href="index.html">phpMyAdmin 4.9.10 documentation</a> »</li>
- <li class="nav-item nav-item-this"><a href="">Configuration</a></li>
- </ul>
- </div>
- <div class="document">
- <div class="documentwrapper">
- <div class="bodywrapper">
- <div class="body" role="main">
-
- <div class="section" id="configuration">
- <span id="config"></span><span id="index-0"></span><h1>Configuration<a class="headerlink" href="#configuration" title="Permalink to this headline">¶</a></h1>
- <p>All configurable data is placed in <code class="file docutils literal notranslate"><span class="pre">config.inc.php</span></code> in phpMyAdmin’s
- toplevel directory. If this file does not exist, please refer to the
- <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
- parameters you want to change from their corresponding default value in
- <code class="file docutils literal notranslate"><span class="pre">libraries/config.default.php</span></code> (this file is not inteded for changes).</p>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <p><a class="reference internal" href="#config-examples"><span class="std std-ref">Examples</span></a> for examples of configurations</p>
- </div>
- <p>If a directive is missing from your file, you can just add another line with
- the file. This file is for over-writing the defaults; if you wish to use the
- default value there’s no need to add a line here.</p>
- <p>The parameters which relate to design (like colors) are placed in
- <code class="file docutils literal notranslate"><span class="pre">themes/themename/layout.inc.php</span></code>. You might also want to create
- <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
- your site specific code to be included on start and end of each page.</p>
- <div class="admonition note">
- <p class="admonition-title">Note</p>
- <p>Some distributions (eg. Debian or Ubuntu) store <code class="file docutils literal notranslate"><span class="pre">config.inc.php</span></code> in
- <code class="docutils literal notranslate"><span class="pre">/etc/phpmyadmin</span></code> instead of within phpMyAdmin sources.</p>
- </div>
- <div class="admonition warning">
- <p class="admonition-title">Warning</p>
- <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
- <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
- 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
- ensure you choose the option that allows to use the *nix end of line
- character (<code class="docutils literal notranslate"><span class="pre">\n</span></code>) in your text editor before saving a script you have
- modified.</p>
- </div>
- <div class="section" id="basic-settings">
- <h2>Basic settings<a class="headerlink" href="#basic-settings" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_PmaAbsoluteUri">
- <code class="sig-name descname">$cfg['PmaAbsoluteUri']</code><a class="headerlink" href="#cfg_PmaAbsoluteUri" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <div class="versionchanged">
- <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>
- </div>
- <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
- installation’s directory. E.g.
- <code class="docutils literal notranslate"><span class="pre">https://www.example.net/path_to_your_phpMyAdmin_directory/</span></code>. Note also
- 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
- Windows). Don’t forget the trailing slash at the end.</p>
- <p>Starting with version 2.3.0, it is advisable to try leaving this blank. In
- most cases phpMyAdmin automatically detects the proper setting. Users of
- port forwarding or complex reverse proxy setup might need to set this.</p>
- <p>A good test is to browse a table, edit a row and save it. There should be
- an error message if phpMyAdmin is having trouble auto–detecting the correct
- value. If you get an error that this must be set or if the autodetect code
- fails to detect your path, please post a bug report on our bug tracker so
- we can improve the code.</p>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <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>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_PmaNoRelation_DisableWarning">
- <code class="sig-name descname">$cfg['PmaNoRelation_DisableWarning']</code><a class="headerlink" href="#cfg_PmaNoRelation_DisableWarning" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Starting with version 2.3.0 phpMyAdmin offers a lot of features to
- 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>
- <p>If you tried to set this
- up and it does not work for you, have a look on the <span class="guilabel">Structure</span> page
- of one database where you would like to use it. You will find a link
- that will analyze why those features have been disabled.</p>
- <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
- stop this message from appearing.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_AuthLog">
- <code class="sig-name descname">$cfg['AuthLog']</code><a class="headerlink" href="#cfg_AuthLog" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'auto'</span></code></p>
- </dd>
- </dl>
- <div class="versionadded">
- <p><span class="versionmodified added">New in version 4.8.0: </span>This is supported since phpMyAdmin 4.8.0.</p>
- </div>
- <p>Configure authentication logging destination. Failed (or all, depending on
- <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
- logged according to this directive:</p>
- <dl class="simple">
- <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>
- </dd>
- <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
- in <code class="file docutils literal notranslate"><span class="pre">/var/log/auth.log</span></code>.</p>
- </dd>
- <dt><code class="docutils literal notranslate"><span class="pre">php</span></code></dt><dd><p>Log into PHP error log.</p>
- </dd>
- <dt><code class="docutils literal notranslate"><span class="pre">sapi</span></code></dt><dd><p>Log into PHP SAPI logging.</p>
- </dd>
- <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>
- </dd>
- </dl>
- <div class="admonition note">
- <p class="admonition-title">Note</p>
- <p>When logging to a file, make sure its permissions are correctly set
- for a web server user, the setup should closely match instructions
- 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>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_AuthLogSuccess">
- <code class="sig-name descname">$cfg['AuthLogSuccess']</code><a class="headerlink" href="#cfg_AuthLogSuccess" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <div class="versionadded">
- <p><span class="versionmodified added">New in version 4.8.0: </span>This is supported since phpMyAdmin 4.8.0.</p>
- </div>
- <p>Whether to log successful authentication attempts into
- <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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_SuhosinDisableWarning">
- <code class="sig-name descname">$cfg['SuhosinDisableWarning']</code><a class="headerlink" href="#cfg_SuhosinDisableWarning" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>A warning is displayed on the main page if Suhosin is detected.</p>
- <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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_LoginCookieValidityDisableWarning">
- <code class="sig-name descname">$cfg['LoginCookieValidityDisableWarning']</code><a class="headerlink" href="#cfg_LoginCookieValidityDisableWarning" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>A warning is displayed on the main page if the PHP parameter
- session.gc_maxlifetime is lower than cookie validity configured in phpMyAdmin.</p>
- <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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ServerLibraryDifference_DisableWarning">
- <code class="sig-name descname">$cfg['ServerLibraryDifference_DisableWarning']</code><a class="headerlink" href="#cfg_ServerLibraryDifference_DisableWarning" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <div class="deprecated">
- <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>
- </div>
- <p>A warning is displayed on the main page if there is a difference
- between the MySQL library and server version.</p>
- <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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ReservedWordDisableWarning">
- <code class="sig-name descname">$cfg['ReservedWordDisableWarning']</code><a class="headerlink" href="#cfg_ReservedWordDisableWarning" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>This warning is displayed on the Structure page of a table if one or more
- column names match with words which are MySQL reserved.</p>
- <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
- warning will no longer be displayed.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_TranslationWarningThreshold">
- <code class="sig-name descname">$cfg['TranslationWarningThreshold']</code><a class="headerlink" href="#cfg_TranslationWarningThreshold" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>80</p>
- </dd>
- </dl>
- <p>Show warning about incomplete translations on certain threshold.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_SendErrorReports">
- <code class="sig-name descname">$cfg['SendErrorReports']</code><a class="headerlink" href="#cfg_SendErrorReports" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'ask'</span></code></p>
- </dd>
- </dl>
- <p>Sets the default behavior for JavaScript error reporting.</p>
- <p>Whenever an error is detected in the JavaScript execution, an error report
- may be sent to the phpMyAdmin team if the user agrees.</p>
- <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
- error report. However you can set this parameter to <code class="docutils literal notranslate"><span class="pre">'always'</span></code> to send error
- reports without asking for confirmation or you can set it to <code class="docutils literal notranslate"><span class="pre">'never'</span></code> to
- never send error reports.</p>
- <p>This directive is available both in the configuration file and in users
- preferences. If the person in charge of a multi-user installation prefers
- to disable this feature for all users, a value of <code class="docutils literal notranslate"><span class="pre">'never'</span></code> should be
- 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
- contain <code class="docutils literal notranslate"><span class="pre">'SendErrorReports'</span></code> in one of its array values.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ConsoleEnterExecutes">
- <code class="sig-name descname">$cfg['ConsoleEnterExecutes']</code><a class="headerlink" href="#cfg_ConsoleEnterExecutes" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Setting this to <code class="docutils literal notranslate"><span class="pre">true</span></code> allows the user to execute queries by pressing Enter
- instead of Ctrl+Enter. A new line can be inserted by pressing Shift + Enter.</p>
- <p>The behaviour of the console can be temporarily changed using console’s
- settings interface.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_AllowThirdPartyFraming">
- <code class="sig-name descname">$cfg['AllowThirdPartyFraming']</code><a class="headerlink" href="#cfg_AllowThirdPartyFraming" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Setting this to <code class="docutils literal notranslate"><span class="pre">true</span></code> allows phpMyAdmin to be included inside a frame,
- and is a potential security hole allowing cross-frame scripting attacks or
- clickjacking.</p>
- </dd></dl>
- </div>
- <div class="section" id="server-connection-settings">
- <h2>Server connection settings<a class="headerlink" href="#server-connection-settings" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_Servers">
- <code class="sig-name descname">$cfg['Servers']</code><a class="headerlink" href="#cfg_Servers" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>one server array with settings listed below</p>
- </dd>
- </dl>
- <p>Since version 1.4.2, phpMyAdmin supports the administration of multiple
- 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
- added which contains the login information for the different servers. The
- 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
- 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>
- the hostname of the second server, etc. In
- <code class="file docutils literal notranslate"><span class="pre">libraries/config.default.php</span></code>, there is only one section for server
- definition, however you can put as many as you need in
- <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
- define all settings, just those you need to change).</p>
- <div class="admonition note">
- <p class="admonition-title">Note</p>
- <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
- $cfg[‘Servers’][1]. Do not use $cfg[‘Servers’][0]. If you want more
- than one server, just copy following section (including $i
- incrementation) serveral times. There is no need to define full server
- array, just define values you need to change.</p>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_host">
- <code class="sig-name descname">$cfg['Servers'][$i]['host']</code><a class="headerlink" href="#cfg_Servers_host" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'localhost'</span></code></p>
- </dd>
- </dl>
- <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.
- <code class="docutils literal notranslate"><span class="pre">localhost</span></code>.</p>
- <p>Possible values are:</p>
- <ul class="simple">
- <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>
- <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>
- <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>
- <li><p>dot - <code class="docutils literal notranslate"><span class="pre">'.'</span></code>, i.e., use named pipes on windows systems</p></li>
- <li><p>empty - <code class="docutils literal notranslate"><span class="pre">''</span></code>, disables this server</p></li>
- </ul>
- <div class="admonition note">
- <p class="admonition-title">Note</p>
- <p>The hostname <code class="docutils literal notranslate"><span class="pre">localhost</span></code> is handled specially by MySQL and it uses
- the socket based connection protocol. To use TCP/IP networking, use an
- 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
- can configure the path to the socket with
- <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>
- </div>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <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>,
- <<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>></p>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_port">
- <code class="sig-name descname">$cfg['Servers'][$i]['port']</code><a class="headerlink" href="#cfg_Servers_port" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>The port-number of your $i-th MySQL-server. Default is 3306 (leave
- blank).</p>
- <div class="admonition note">
- <p class="admonition-title">Note</p>
- <p>If you use <code class="docutils literal notranslate"><span class="pre">localhost</span></code> as the hostname, MySQL ignores this port number
- and connects with the socket, so if you want to connect to a port
- different from the default port, use <code class="docutils literal notranslate"><span class="pre">127.0.0.1</span></code> or the real hostname
- 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>
- </div>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <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>,
- <<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>></p>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_socket">
- <code class="sig-name descname">$cfg['Servers'][$i]['socket']</code><a class="headerlink" href="#cfg_Servers_socket" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>The path to the socket to use. Leave blank for default. To determine
- the correct socket, check your MySQL configuration or, using the
- <strong class="command">mysql</strong> command–line client, issue the <code class="docutils literal notranslate"><span class="pre">status</span></code> command. Among the
- resulting information displayed will be the socket used.</p>
- <div class="admonition note">
- <p class="admonition-title">Note</p>
- <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
- to <code class="docutils literal notranslate"><span class="pre">localhost</span></code>.</p>
- </div>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <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>,
- <<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>></p>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_ssl">
- <code class="sig-name descname">$cfg['Servers'][$i]['ssl']</code><a class="headerlink" href="#cfg_Servers_ssl" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Whether to enable SSL for the connection between phpMyAdmin and the MySQL
- server to secure the connection.</p>
- <p>When using the <code class="docutils literal notranslate"><span class="pre">'mysql'</span></code> extension,
- none of the remaining <code class="docutils literal notranslate"><span class="pre">'ssl...'</span></code> configuration options apply.</p>
- <p>We strongly recommend the <code class="docutils literal notranslate"><span class="pre">'mysqli'</span></code> extension when using this option.</p>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <p><a class="reference internal" href="setup.html#ssl"><span class="std std-ref">Using SSL for connection to database server</span></a>,
- <a class="reference internal" href="#example-google-ssl"><span class="std std-ref">Google Cloud SQL with SSL</span></a>,
- <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>,
- <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>,
- <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>,
- <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>,
- <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>,
- <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>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_ssl_key">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>NULL</p>
- </dd>
- </dl>
- <p>Path to the client key file when using SSL for connecting to the MySQL
- server. This is used to authenticate the client to the server.</p>
- <p>For example:</p>
- <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'ssl_key'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'/etc/mysql/server-key.pem'</span><span class="p">;</span>
- </pre></div>
- </div>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <p><a class="reference internal" href="setup.html#ssl"><span class="std std-ref">Using SSL for connection to database server</span></a>,
- <a class="reference internal" href="#example-google-ssl"><span class="std std-ref">Google Cloud SQL with SSL</span></a>,
- <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>,
- <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>,
- <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>,
- <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>,
- <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>,
- <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>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_ssl_cert">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>NULL</p>
- </dd>
- </dl>
- <p>Path to the client certificate file when using SSL for connecting to the
- MySQL server. This is used to authenticate the client to the server.</p>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <p><a class="reference internal" href="setup.html#ssl"><span class="std std-ref">Using SSL for connection to database server</span></a>,
- <a class="reference internal" href="#example-google-ssl"><span class="std std-ref">Google Cloud SQL with SSL</span></a>,
- <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>,
- <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>,
- <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>,
- <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>,
- <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>,
- <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>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_ssl_ca">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>NULL</p>
- </dd>
- </dl>
- <p>Path to the CA file when using SSL for connecting to the MySQL server.</p>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <p><a class="reference internal" href="setup.html#ssl"><span class="std std-ref">Using SSL for connection to database server</span></a>,
- <a class="reference internal" href="#example-google-ssl"><span class="std std-ref">Google Cloud SQL with SSL</span></a>,
- <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>,
- <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>,
- <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>,
- <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>,
- <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>,
- <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>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_ssl_ca_path">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>NULL</p>
- </dd>
- </dl>
- <p>Directory containing trusted SSL CA certificates in PEM format.</p>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <p><a class="reference internal" href="setup.html#ssl"><span class="std std-ref">Using SSL for connection to database server</span></a>,
- <a class="reference internal" href="#example-google-ssl"><span class="std std-ref">Google Cloud SQL with SSL</span></a>,
- <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>,
- <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>,
- <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>,
- <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>,
- <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>,
- <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>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_ssl_ciphers">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>NULL</p>
- </dd>
- </dl>
- <p>List of allowable ciphers for SSL connections to the MySQL server.</p>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <p><a class="reference internal" href="setup.html#ssl"><span class="std std-ref">Using SSL for connection to database server</span></a>,
- <a class="reference internal" href="#example-google-ssl"><span class="std std-ref">Google Cloud SQL with SSL</span></a>,
- <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>,
- <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>,
- <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>,
- <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>,
- <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>,
- <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>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_ssl_verify">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <div class="versionadded">
- <p><span class="versionmodified added">New in version 4.6.0: </span>This is supported since phpMyAdmin 4.6.0.</p>
- </div>
- <p>If your PHP install uses the MySQL Native Driver (mysqlnd), your
- MySQL server is 5.6 or later, and your SSL certificate is self-signed,
- there is a chance your SSL connection will fail due to validation.
- Setting this to <code class="docutils literal notranslate"><span class="pre">false</span></code> will disable the validation check.</p>
- <p>Since PHP 5.6.0 it also verifies whether server name matches CN of its
- certificate. There is currently no way to disable just this check without
- disabling complete SSL verification.</p>
- <div class="admonition warning">
- <p class="admonition-title">Warning</p>
- <p>Disabling the certificate verification defeats purpose of using SSL.
- This will make the connection vulnerable to man in the middle attacks.</p>
- </div>
- <div class="admonition note">
- <p class="admonition-title">Note</p>
- <p>This flag only works with PHP 5.6.16 or later.</p>
- </div>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <p><a class="reference internal" href="setup.html#ssl"><span class="std std-ref">Using SSL for connection to database server</span></a>,
- <a class="reference internal" href="#example-google-ssl"><span class="std std-ref">Google Cloud SQL with SSL</span></a>,
- <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>,
- <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>,
- <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>,
- <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>,
- <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>,
- <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>,
- <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>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_connect_type">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'tcp'</span></code></p>
- </dd>
- </dl>
- <div class="deprecated">
- <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
- connection type based on host, so it could lead to unexpected results.
- 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
- instead.</p>
- </div>
- <p>What type connection to use with the MySQL server. Your options are
- <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
- to be available on all MySQL servers, while sockets are not supported on
- some platforms. To use the socket mode, your MySQL server must be on the
- same machine as the Web server.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_compress">
- <code class="sig-name descname">$cfg['Servers'][$i]['compress']</code><a class="headerlink" href="#cfg_Servers_compress" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Whether to use a compressed protocol for the MySQL server connection
- or not (experimental).</p>
- </dd></dl>
- <span class="target" id="controlhost"></span><dl class="config option">
- <dt id="cfg_Servers_controlhost">
- <code class="sig-name descname">$cfg['Servers'][$i]['controlhost']</code><a class="headerlink" href="#cfg_Servers_controlhost" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Permits to use an alternate host to hold the configuration storage
- data.</p>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <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>
- </div>
- </dd></dl>
- <span class="target" id="controlport"></span><dl class="config option">
- <dt id="cfg_Servers_controlport">
- <code class="sig-name descname">$cfg['Servers'][$i]['controlport']</code><a class="headerlink" href="#cfg_Servers_controlport" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Permits to use an alternate port to connect to the host that
- holds the configuration storage.</p>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <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>
- </div>
- </dd></dl>
- <span class="target" id="controluser"></span><dl class="config option">
- <dt id="cfg_Servers_controluser">
- <code class="sig-name descname">$cfg['Servers'][$i]['controluser']</code><a class="headerlink" href="#cfg_Servers_controluser" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_controlpass">
- <code class="sig-name descname">$cfg['Servers'][$i]['controlpass']</code><a class="headerlink" href="#cfg_Servers_controlpass" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <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>.
- You don’t need it in single user case, but if phpMyAdmin is shared it
- 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
- and configure phpMyAdmin to use it. All users will then be able to use
- 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>
- <div class="versionchanged">
- <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>
- </div>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <p><a class="reference internal" href="setup.html#setup"><span class="std std-ref">Installation</span></a>,
- <a class="reference internal" href="setup.html#authentication-modes"><span class="std std-ref">Using authentication modes</span></a>,
- <a class="reference internal" href="setup.html#linked-tables"><span class="std std-ref">phpMyAdmin configuration storage</span></a>,
- <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>,
- <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>,
- <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>,
- <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>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_control_*">
- <code class="sig-name descname">$cfg['Servers'][$i]['control_*']</code><a class="headerlink" href="#cfg_Servers_control_*" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>mixed</p>
- </dd>
- </dl>
- <div class="versionadded">
- <p><span class="versionmodified added">New in version 4.7.0.</span></p>
- </div>
- <p>You can change any MySQL connection setting for control link (used to
- 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>
- <p>This can be used to change any aspect of the control connection, which by
- default uses same parameters as the user one.</p>
- <p>For example you can configure SSL for the control connection:</p>
- <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="c1">// Enable SSL</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'control_ssl'</span><span class="p">]</span> <span class="o">=</span> <span class="k">true</span><span class="p">;</span>
- <span class="c1">// Client secret key</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'control_ssl_key'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'../client-key.pem'</span><span class="p">;</span>
- <span class="c1">// Client certificate</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'control_ssl_cert'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'../client-cert.pem'</span><span class="p">;</span>
- <span class="c1">// Server certification authority</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'control_ssl_ca'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'../server-ca.pem'</span><span class="p">;</span>
- </pre></div>
- </div>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <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>,
- <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>,
- <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>,
- <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>,
- <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>,
- <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>,
- <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>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_auth_type">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'cookie'</span></code></p>
- </dd>
- </dl>
- <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
- used for this server.</p>
- <ul class="simple">
- <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
- way: username and password are stored in <code class="file docutils literal notranslate"><span class="pre">config.inc.php</span></code>.</p></li>
- <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
- log in as any valid MySQL user with the help of cookies.</p></li>
- <li><p>‘http’ authentication allows you to log in as any
- valid MySQL user via HTTP-Auth.</p></li>
- <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
- log in from prepared PHP session data or using supplied PHP script.</p></li>
- </ul>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <p><a class="reference internal" href="setup.html#authentication-modes"><span class="std std-ref">Using authentication modes</span></a></p>
- </div>
- </dd></dl>
- <span class="target" id="servers-auth-http-realm"></span><dl class="config option">
- <dt id="cfg_Servers_auth_http_realm">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>When using auth_type = <code class="docutils literal notranslate"><span class="pre">http</span></code>, this field allows to define a custom
- <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
- explicitly specified in your configuration, a string combined of
- “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
- <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>
- </dd></dl>
- <span class="target" id="servers-user"></span><dl class="config option">
- <dt id="cfg_Servers_user">
- <code class="sig-name descname">$cfg['Servers'][$i]['user']</code><a class="headerlink" href="#cfg_Servers_user" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'root'</span></code></p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_password">
- <code class="sig-name descname">$cfg['Servers'][$i]['password']</code><a class="headerlink" href="#cfg_Servers_password" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <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
- ‘config’, this is the user/password-pair which phpMyAdmin will use to
- connect to the MySQL server. This user/password pair is not needed when
- <a class="reference internal" href="glossary.html#term-HTTP"><span class="xref std std-term">HTTP</span></a> or cookie authentication is used
- and should be empty.</p>
- </dd></dl>
- <span class="target" id="servers-nopassword"></span><dl class="config option">
- <dt id="cfg_Servers_nopassword">
- <code class="sig-name descname">$cfg['Servers'][$i]['nopassword']</code><a class="headerlink" href="#cfg_Servers_nopassword" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <div class="deprecated">
- <p><span class="versionmodified deprecated">Deprecated since version 4.7.0: </span>This setting was removed as it can produce unexpected results.</p>
- </div>
- <p>Allow attempt to log in without password when a login with password
- fails. This can be used together with http authentication, when
- authentication is done some other way and phpMyAdmin gets user name
- from auth and uses empty password for connecting to MySQL. Password
- login is still tried first, but as fallback, no password method is
- tried.</p>
- </dd></dl>
- <span class="target" id="servers-only-db"></span><dl class="config option">
- <dt id="cfg_Servers_only_db">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>If set to a (an array of) database name(s), only this (these)
- database(s) will be shown to the user. Since phpMyAdmin 2.2.1,
- this/these database(s) name(s) may contain MySQL wildcards characters
- (“_” and “%”): if you want to use literal instances of these
- 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>
- <p>This setting is an efficient way to lower the server load since the
- latter does not need to send MySQL requests to build the available
- database list. But <strong>it does not replace the privileges rules of the
- MySQL database server</strong>. If set, it just means only these databases
- will be displayed but <strong>not that all other databases can’t be used.</strong></p>
- <p>An example of using more that one database:</p>
- <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'only_db'</span><span class="p">]</span> <span class="o">=</span> <span class="k">array</span><span class="p">(</span><span class="s1">'db1'</span><span class="p">,</span> <span class="s1">'db2'</span><span class="p">);</span>
- </pre></div>
- </div>
- <div class="versionchanged">
- <p><span class="versionmodified changed">Changed in version 4.0.0: </span>Previous versions permitted to specify the display order of
- the database names via this directive.</p>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_hide_db">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Regular expression for hiding some databases from unprivileged users.
- This only hides them from listing, but a user is still able to access
- them (using, for example, the SQL query area). To limit access, use
- the MySQL privilege system. For example, to hide all databases
- starting with the letter “a”, use</p>
- <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'hide_db'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'^a'</span><span class="p">;</span>
- </pre></div>
- </div>
- <p>and to hide both “db1” and “db2” use</p>
- <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'hide_db'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'^(db1|db2)$'</span><span class="p">;</span>
- </pre></div>
- </div>
- <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
- pattern syntax</a> portion
- of the PHP reference manual.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_verbose">
- <code class="sig-name descname">$cfg['Servers'][$i]['verbose']</code><a class="headerlink" href="#cfg_Servers_verbose" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Only useful when using phpMyAdmin with multiple server entries. If
- set, this string will be displayed instead of the hostname in the
- pull-down menu on the main page. This can be useful if you want to
- show only certain databases on your system, for example. For HTTP
- auth, all non-US-ASCII characters will be stripped.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_extension">
- <code class="sig-name descname">$cfg['Servers'][$i]['extension']</code><a class="headerlink" href="#cfg_Servers_extension" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'mysqli'</span></code></p>
- </dd>
- </dl>
- <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>
- <p>It is recommended to use <code class="docutils literal notranslate"><span class="pre">mysqli</span></code> in all installations.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_pmadb">
- <code class="sig-name descname">$cfg['Servers'][$i]['pmadb']</code><a class="headerlink" href="#cfg_Servers_pmadb" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>The name of the database containing the phpMyAdmin configuration
- storage.</p>
- <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
- this feature, and for a quick way of creating this database and the needed
- tables.</p>
- <p>If you are the only user of this phpMyAdmin installation, you can use your
- current database to store those special tables; in this case, just put your
- 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
- multi-user installation, set this parameter to the name of your central
- database containing the phpMyAdmin configuration storage.</p>
- </dd></dl>
- <span class="target" id="bookmark"></span><dl class="config option">
- <dt id="cfg_Servers_bookmarktable">
- <code class="sig-name descname">$cfg['Servers'][$i]['bookmarktable']</code><a class="headerlink" href="#cfg_Servers_bookmarktable" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or false</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Since release 2.2.0 phpMyAdmin allows users to bookmark queries. This
- can be useful for queries you often run. To allow the usage of this
- functionality:</p>
- <ul class="simple">
- <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>
- <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>
- </ul>
- <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
- </dd></dl>
- <span class="target" id="relation"></span><dl class="config option">
- <dt id="cfg_Servers_relation">
- <code class="sig-name descname">$cfg['Servers'][$i]['relation']</code><a class="headerlink" href="#cfg_Servers_relation" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or false</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Since release 2.2.4 you can describe, in a special ‘relation’ table,
- which column is a key in another table (a foreign key). phpMyAdmin
- currently uses this to:</p>
- <ul class="simple">
- <li><p>make clickable, when you browse the master table, the data values that
- point to the foreign table;</p></li>
- <li><p>display in an optional tool-tip the “display column” when browsing the
- master table, if you move the mouse to a column containing a foreign
- 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>
- <li><p>in edit/insert mode, display a drop-down list of possible foreign keys
- (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>
- <li><p>display links on the table properties page, to check referential
- integrity (display missing foreign keys) for each described key;</p></li>
- <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>
- <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
- your database (also uses the table_coords table).</p></li>
- </ul>
- <p>The keys can be numeric or character.</p>
- <p>To allow the usage of this functionality:</p>
- <ul class="simple">
- <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>
- <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>
- <li><p>now as normal user open phpMyAdmin and for each one of your tables
- where you want to use this feature, click <span class="guilabel">Structure/Relation view/</span>
- and choose foreign columns.</p></li>
- </ul>
- <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
- <div class="admonition note">
- <p class="admonition-title">Note</p>
- <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>.
- Those columns have been put in future development of the cross-db
- relations.</p>
- </div>
- </dd></dl>
- <span class="target" id="table-info"></span><dl class="config option">
- <dt id="cfg_Servers_table_info">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or false</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Since release 2.3.0 you can describe, in a special ‘table_info’
- table, which column is to be displayed as a tool-tip when moving the
- cursor over the corresponding key. This configuration variable will
- hold the name of this special table. To allow the usage of this
- functionality:</p>
- <ul class="simple">
- <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>
- <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.
- <code class="docutils literal notranslate"><span class="pre">pma__table_info</span></code>)</p></li>
- <li><p>then for each table where you want to use this feature, click
- “Structure/Relation view/Choose column to display” to choose the
- column.</p></li>
- </ul>
- <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <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>
- </div>
- </dd></dl>
- <span class="target" id="table-coords"></span><dl class="config option">
- <dt id="cfg_Servers_table_coords">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or false</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>The designer feature can save your page layout; by pressing the “Save page” or “Save page as”
- button in the expanding designer menu, you can customize the layout and have it loaded the next
- time you use the designer. That layout is stored in this table. Furthermore, this table is also
- required for using the PDF relation export feature, see
- <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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_pdf_pages">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or false</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <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
- showing the relations between your tables. Further, the designer interface
- permits visually managing the relations. To do this it needs two tables
- “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)
- and “table_coords” (storing coordinates where each table will be placed on
- 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>
- <p>To allow the usage of this functionality:</p>
- <ul class="simple">
- <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>
- <li><p>put the correct table names in
- <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
- <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>
- </ul>
- <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>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <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>
- </div>
- </dd></dl>
- <span class="target" id="col-com"></span><dl class="config option">
- <dt id="cfg_Servers_column_info">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or false</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>This part requires a content update! Since release 2.3.0 you can
- store comments to describe each column for each table. These will then
- be shown on the “printview”.</p>
- <p>Starting with release 2.5.0, comments are consequently used on the table
- property pages and table browse view, showing up as tool-tips above the
- column name (properties page) or embedded within the header of table in
- browse view. They can also be shown in a table dump. Please see the
- relevant configuration directives later on.</p>
- <p>Also new in release 2.5.0 is a MIME- transformation system which is also
- based on the following table structure. See <a class="reference internal" href="transformations.html#transformations"><span class="std std-ref">Transformations</span></a> for
- further information. To use the MIME- transformation system, your
- column_info table has to have the three new columns ‘mimetype’,
- ‘transformation’, ‘transformation_options’.</p>
- <p>Starting with release 4.3.0, a new input-oriented transformation system
- has been introduced. Also, backward compatibility code used in the old
- transformations system was removed. As a result, an update to column_info
- table is necessary for previous transformations and the new input-oriented
- transformation system to work. phpMyAdmin will upgrade it automatically
- for you by analyzing your current column_info table structure.
- However, if something goes wrong with the auto-upgrade then you can
- use the SQL script found in <code class="docutils literal notranslate"><span class="pre">./sql/upgrade_column_info_4_3_0+.sql</span></code>
- to upgrade it manually.</p>
- <p>To allow the usage of this functionality:</p>
- <ul>
- <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>
- <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.
- <code class="docutils literal notranslate"><span class="pre">pma__column_info</span></code>)</p></li>
- <li><p>to update your PRE-2.5.0 Column_comments table use this: and
- remember that the Variable in <code class="file docutils literal notranslate"><span class="pre">config.inc.php</span></code> has been renamed from
- <code class="samp docutils literal notranslate"><span class="pre">$cfg['Servers'][$i]['column_comments']</span></code> to
- <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>
- <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>
- <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>
- <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>
- <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>
- </pre></div>
- </div>
- </li>
- <li><p>to update your PRE-4.3.0 Column_info table manually use this
- <code class="docutils literal notranslate"><span class="pre">./sql/upgrade_column_info_4_3_0+.sql</span></code> SQL script.</p></li>
- </ul>
- <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
- <div class="admonition note">
- <p class="admonition-title">Note</p>
- <p>For auto-upgrade functionality to work, your
- <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
- <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
- <code class="docutils literal notranslate"><span class="pre">GRANT</span></code> privileges to a user.</p>
- </div>
- </dd></dl>
- <span class="target" id="history"></span><dl class="config option">
- <dt id="cfg_Servers_history">
- <code class="sig-name descname">$cfg['Servers'][$i]['history']</code><a class="headerlink" href="#cfg_Servers_history" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or false</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <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
- queries you entered manually into the phpMyAdmin interface. If you don’t
- want to use a table-based history, you can use the JavaScript-based
- history.</p>
- <p>Using that, all your history items are deleted when closing the window.
- 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
- history items you want to have on hold. On every login, this list gets cut
- to the maximum amount.</p>
- <p>The query history is only available if JavaScript is enabled in
- your browser.</p>
- <p>To allow the usage of this functionality:</p>
- <ul class="simple">
- <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>
- <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.
- <code class="docutils literal notranslate"><span class="pre">pma__history</span></code>)</p></li>
- </ul>
- <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
- </dd></dl>
- <span class="target" id="recent"></span><dl class="config option">
- <dt id="cfg_Servers_recent">
- <code class="sig-name descname">$cfg['Servers'][$i]['recent']</code><a class="headerlink" href="#cfg_Servers_recent" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or false</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Since release 3.5.0 you can show recently used tables in the
- navigation panel. It helps you to jump across table directly, without
- the need to select the database, and then select the table. Using
- <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
- of recent tables shown. When you select a table from the list, it will jump to
- 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>
- <p>Without configuring the storage, you can still access the recently used tables,
- but it will disappear after you logout.</p>
- <p>To allow the usage of this functionality persistently:</p>
- <ul class="simple">
- <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>
- <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.
- <code class="docutils literal notranslate"><span class="pre">pma__recent</span></code>)</p></li>
- </ul>
- <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
- </dd></dl>
- <span class="target" id="favorite"></span><dl class="config option">
- <dt id="cfg_Servers_favorite">
- <code class="sig-name descname">$cfg['Servers'][$i]['favorite']</code><a class="headerlink" href="#cfg_Servers_favorite" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or false</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Since release 4.2.0 you can show a list of selected tables in the
- navigation panel. It helps you to jump to the table directly, without
- the need to select the database, and then select the table. When you
- select a table from the list, it will jump to the page specified in
- <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>
- <p>You can add tables to this list or remove tables from it in database
- structure page by clicking on the star icons next to table names. Using
- <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
- number of favorite tables shown.</p>
- <p>Without configuring the storage, you can still access the favorite tables,
- but it will disappear after you logout.</p>
- <p>To allow the usage of this functionality persistently:</p>
- <ul class="simple">
- <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>
- <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.
- <code class="docutils literal notranslate"><span class="pre">pma__favorite</span></code>)</p></li>
- </ul>
- <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
- </dd></dl>
- <span class="target" id="table-uiprefs"></span><dl class="config option">
- <dt id="cfg_Servers_table_uiprefs">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or false</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Since release 3.5.0 phpMyAdmin can be configured to remember several
- 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,
- and column visibility from a database table) for browsing tables. Without
- configuring the storage, these features still can be used, but the values will
- disappear after you logout.</p>
- <p>To allow the usage of these functionality persistently:</p>
- <ul class="simple">
- <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>
- <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.
- <code class="docutils literal notranslate"><span class="pre">pma__table_uiprefs</span></code>)</p></li>
- </ul>
- <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_users">
- <code class="sig-name descname">$cfg['Servers'][$i]['users']</code><a class="headerlink" href="#cfg_Servers_users" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or false</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_usergroups">
- <code class="sig-name descname">$cfg['Servers'][$i]['usergroups']</code><a class="headerlink" href="#cfg_Servers_usergroups" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or false</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Since release 4.1.0 you can create different user groups with menu items
- attached to them. Users can be assigned to these groups and the logged in
- user would only see menu items configured to the usergroup he is assigned to.
- To do this it needs two tables “usergroups” (storing allowed menu items for each
- user group) and “users” (storing users and their assignments to user groups).</p>
- <p>To allow the usage of this functionality:</p>
- <ul class="simple">
- <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>
- <li><p>put the correct table names in
- <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
- <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>
- </ul>
- <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>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <p><a class="reference internal" href="privileges.html#configurablemenus"><span class="std std-ref">Configurable menus and user groups</span></a></p>
- </div>
- </dd></dl>
- <span class="target" id="navigationhiding"></span><dl class="config option">
- <dt id="cfg_Servers_navigationhiding">
- <code class="sig-name descname">$cfg['Servers'][$i]['navigationhiding']</code><a class="headerlink" href="#cfg_Servers_navigationhiding" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or false</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Since release 4.1.0 you can hide/show items in the navigation tree.</p>
- <p>To allow the usage of this functionality:</p>
- <ul class="simple">
- <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>
- <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.
- <code class="docutils literal notranslate"><span class="pre">pma__navigationhiding</span></code>)</p></li>
- </ul>
- <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
- </dd></dl>
- <span class="target" id="central-columns"></span><dl class="config option">
- <dt id="cfg_Servers_central_columns">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or false</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Since release 4.3.0 you can have a central list of columns per database.
- You can add/remove columns to the list as per your requirement. These columns
- in the central list will be available to use while you create a new column for
- a table or create a table itself. You can select a column from central list
- while creating a new column, it will save you from writing the same column definition
- over again or from writing different names for similar column.</p>
- <p>To allow the usage of this functionality:</p>
- <ul class="simple">
- <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>
- <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.
- <code class="docutils literal notranslate"><span class="pre">pma__central_columns</span></code>)</p></li>
- </ul>
- <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
- </dd></dl>
- <span class="target" id="designer-settings"></span><dl class="config option">
- <dt id="cfg_Servers_designer_settings">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or false</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Since release 4.5.0 your designer settings can be remembered.
- Your choice regarding ‘Angular/Direct Links’, ‘Snap to Grid’, ‘Toggle Relation Lines’,
- ‘Small/Big All’, ‘Move Menu’ and ‘Pin Text’ can be remembered persistently.</p>
- <p>To allow the usage of this functionality:</p>
- <ul class="simple">
- <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>
- <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.
- <code class="docutils literal notranslate"><span class="pre">pma__designer_settings</span></code>)</p></li>
- </ul>
- <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
- </dd></dl>
- <span class="target" id="savedsearches"></span><dl class="config option">
- <dt id="cfg_Servers_savedsearches">
- <code class="sig-name descname">$cfg['Servers'][$i]['savedsearches']</code><a class="headerlink" href="#cfg_Servers_savedsearches" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or false</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Since release 4.2.0 you can save and load query-by-example searches from the Database > Query panel.</p>
- <p>To allow the usage of this functionality:</p>
- <ul class="simple">
- <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>
- <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.
- <code class="docutils literal notranslate"><span class="pre">pma__savedsearches</span></code>)</p></li>
- </ul>
- <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
- </dd></dl>
- <span class="target" id="export-templates"></span><dl class="config option">
- <dt id="cfg_Servers_export_templates">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or false</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Since release 4.5.0 you can save and load export templates.</p>
- <p>To allow the usage of this functionality:</p>
- <ul class="simple">
- <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>
- <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.
- <code class="docutils literal notranslate"><span class="pre">pma__export_templates</span></code>)</p></li>
- </ul>
- <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
- </dd></dl>
- <span class="target" id="tracking"></span><dl class="config option">
- <dt id="cfg_Servers_tracking">
- <code class="sig-name descname">$cfg['Servers'][$i]['tracking']</code><a class="headerlink" href="#cfg_Servers_tracking" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or false</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Since release 3.3.x a tracking mechanism is available. It helps you to
- track every <a class="reference internal" href="glossary.html#term-SQL"><span class="xref std std-term">SQL</span></a> command which is
- executed by phpMyAdmin. The mechanism supports logging of data
- manipulation and data definition statements. After enabling it you can
- create versions of tables.</p>
- <p>The creation of a version has two effects:</p>
- <ul class="simple">
- <li><p>phpMyAdmin saves a snapshot of the table, including structure and
- indexes.</p></li>
- <li><p>phpMyAdmin logs all commands which change the structure and/or data of
- the table and links these commands with the version number.</p></li>
- </ul>
- <p>Of course you can view the tracked changes. On the <span class="guilabel">Tracking</span>
- page a complete report is available for every version. For the report you
- can use filters, for example you can get a list of statements within a date
- range. When you want to filter usernames you can enter * for all names or
- you enter a list of names separated by ‘,’. In addition you can export the
- (filtered) report to a file or to a temporary database.</p>
- <p>To allow the usage of this functionality:</p>
- <ul class="simple">
- <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>
- <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.
- <code class="docutils literal notranslate"><span class="pre">pma__tracking</span></code>)</p></li>
- </ul>
- <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
- </dd></dl>
- <span class="target" id="tracking2"></span><dl class="config option">
- <dt id="cfg_Servers_tracking_version_auto_create">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Whether the tracking mechanism creates versions for tables and views
- automatically.</p>
- <p>If this is set to true and you create a table or view with</p>
- <ul class="simple">
- <li><p>CREATE TABLE …</p></li>
- <li><p>CREATE VIEW …</p></li>
- </ul>
- <p>and no version exists for it, the mechanism will create a version for
- you automatically.</p>
- </dd></dl>
- <span class="target" id="tracking3"></span><dl class="config option">
- <dt id="cfg_Servers_tracking_default_statements">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <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>
- </dd>
- </dl>
- <p>Defines the list of statements the auto-creation uses for new
- versions.</p>
- </dd></dl>
- <span class="target" id="tracking4"></span><dl class="config option">
- <dt id="cfg_Servers_tracking_add_drop_view">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Whether a DROP VIEW IF EXISTS statement will be added as first line to
- the log when creating a view.</p>
- </dd></dl>
- <span class="target" id="tracking5"></span><dl class="config option">
- <dt id="cfg_Servers_tracking_add_drop_table">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Whether a DROP TABLE IF EXISTS statement will be added as first line
- to the log when creating a table.</p>
- </dd></dl>
- <span class="target" id="tracking6"></span><dl class="config option">
- <dt id="cfg_Servers_tracking_add_drop_database">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Whether a DROP DATABASE IF EXISTS statement will be added as first
- line to the log when creating a database.</p>
- </dd></dl>
- <span class="target" id="userconfig"></span><dl class="config option">
- <dt id="cfg_Servers_userconfig">
- <code class="sig-name descname">$cfg['Servers'][$i]['userconfig']</code><a class="headerlink" href="#cfg_Servers_userconfig" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or false</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Since release 3.4.x phpMyAdmin allows users to set most preferences by
- themselves and store them in the database.</p>
- <p>If you don’t allow for storing preferences in
- <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
- phpMyAdmin, but settings will be saved in browser’s local storage, or, it
- is is unavailable, until the end of session.</p>
- <p>To allow the usage of this functionality:</p>
- <ul class="simple">
- <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>
- <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>
- </ul>
- <p>This feature can be disabled by setting the configuration to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_MaxTableUiprefs">
- <code class="sig-name descname">$cfg['Servers'][$i]['MaxTableUiprefs']</code><a class="headerlink" href="#cfg_Servers_MaxTableUiprefs" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>100</p>
- </dd>
- </dl>
- <p>Maximum number of rows saved in
- <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>
- <p>When tables are dropped or renamed,
- <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
- (referring to tables which no longer exist). We only keep this number of newest
- 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
- delete older rows.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_SessionTimeZone">
- <code class="sig-name descname">$cfg['Servers'][$i]['SessionTimeZone']</code><a class="headerlink" href="#cfg_Servers_SessionTimeZone" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Sets the time zone used by phpMyAdmin. Leave blank to use the time zone of your
- database server. Possible values are explained at
- <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>
- <p>This is useful when your database server uses a time zone which is different from the
- time zone you want to use in phpMyAdmin.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_AllowRoot">
- <code class="sig-name descname">$cfg['Servers'][$i]['AllowRoot']</code><a class="headerlink" href="#cfg_Servers_AllowRoot" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Whether to allow root access. This is just a shortcut for the
- <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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_AllowNoPassword">
- <code class="sig-name descname">$cfg['Servers'][$i]['AllowNoPassword']</code><a class="headerlink" href="#cfg_Servers_AllowNoPassword" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Whether to allow logins without a password. The default value of
- <code class="docutils literal notranslate"><span class="pre">false</span></code> for this parameter prevents unintended access to a MySQL
- server with was left with an empty password for root or on which an
- anonymous (blank) user is defined.</p>
- </dd></dl>
- <span class="target" id="servers-allowdeny-order"></span><dl class="config option">
- <dt id="cfg_Servers_AllowDeny_order">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <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>
- authorization is disabled.</p>
- <p>If your rule order is set to
- <code class="docutils literal notranslate"><span class="pre">'deny,allow'</span></code> then the system applies all deny rules followed by
- allow rules. Access is allowed by default. Any client which does not
- match a Deny command or does match an Allow command will be allowed
- access to the server.</p>
- <p>If your rule order is set to <code class="docutils literal notranslate"><span class="pre">'allow,deny'</span></code>
- then the system applies all allow rules followed by deny rules. Access
- is denied by default. Any client which does not match an Allow
- directive or does match a Deny directive will be denied access to the
- server.</p>
- <p>If your rule order is set to <code class="docutils literal notranslate"><span class="pre">'explicit'</span></code>, authorization is
- performed in a similar fashion to rule order ‘deny,allow’, with the
- added restriction that your host/username combination <strong>must</strong> be
- listed in the <em>allow</em> rules, and not listed in the <em>deny</em> rules. This
- is the <strong>most</strong> secure means of using Allow/Deny rules, and was
- available in Apache by specifying allow and deny rules without setting
- any order.</p>
- <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
- detecting IP address behind proxies.</p>
- </dd></dl>
- <span class="target" id="servers-allowdeny-rules"></span><dl class="config option">
- <dt id="cfg_Servers_AllowDeny_rules">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array of strings</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>array()</p>
- </dd>
- </dl>
- <p>The general format for the rules is as such:</p>
- <div class="highlight-none notranslate"><div class="highlight"><pre><span></span><'allow' | 'deny'> <username> [from] <ipmask>
- </pre></div>
- </div>
- <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
- wildcard in the <em>username</em> field.</p>
- <p>There are a few shortcuts you can
- use in the <em>ipmask</em> field as well (please note that those containing
- SERVER_ADDRESS might not be available on all webservers):</p>
- <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>'all' -> 0.0.0.0/0
- 'localhost' -> 127.0.0.1/8
- 'localnetA' -> SERVER_ADDRESS/8
- 'localnetB' -> SERVER_ADDRESS/16
- 'localnetC' -> SERVER_ADDRESS/24
- </pre></div>
- </div>
- <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>
- <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>
- <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
- <code class="docutils literal notranslate"><span class="pre">'explicit'</span></code>.</p>
- <p>For the <a class="reference internal" href="glossary.html#term-IP-Address"><span class="xref std std-term">IP address</span></a> matching
- system, the following work:</p>
- <ul class="simple">
- <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>
- <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>
- <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>
- </ul>
- <p>But the following does not work:</p>
- <ul class="simple">
- <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>
- </ul>
- <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>
- <ul class="simple">
- <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>
- <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>
- <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>
- </ul>
- <p>But the following does not work:</p>
- <ul class="simple">
- <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>
- </ul>
- <p>Examples:</p>
- <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>$cfg['Servers'][$i]['AllowDeny']['order'] = 'allow,deny';
- $cfg['Servers'][$i]['AllowDeny']['rules'] = array('allow bob from all');
- // Allow only 'bob' to connect from any host
- $cfg['Servers'][$i]['AllowDeny']['order'] = 'allow,deny';
- $cfg['Servers'][$i]['AllowDeny']['rules'] = array('allow mary from 192.168.100.[50-100]');
- // Allow only 'mary' to connect from host 192.168.100.50 through 192.168.100.100
- $cfg['Servers'][$i]['AllowDeny']['order'] = 'allow,deny';
- $cfg['Servers'][$i]['AllowDeny']['rules'] = array('allow % from 192.168.[5-6].10');
- // Allow any user to connect from host 192.168.5.10 or 192.168.6.10
- $cfg['Servers'][$i]['AllowDeny']['order'] = 'allow,deny';
- $cfg['Servers'][$i]['AllowDeny']['rules'] = array('allow root from 192.168.5.50','allow % from 192.168.6.10');
- // Allow any user to connect from 192.168.6.10, and additionally allow root to connect from 192.168.5.50
- </pre></div>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_DisableIS">
- <code class="sig-name descname">$cfg['Servers'][$i]['DisableIS']</code><a class="headerlink" href="#cfg_Servers_DisableIS" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Disable using <code class="docutils literal notranslate"><span class="pre">INFORMATION_SCHEMA</span></code> to retrieve information (use
- <code class="docutils literal notranslate"><span class="pre">SHOW</span></code> commands instead), because of speed issues when many
- databases are present.</p>
- <div class="admonition note">
- <p class="admonition-title">Note</p>
- <p>Enabling this option might give you a big performance boost on older
- MySQL servers.</p>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_SignonScript">
- <code class="sig-name descname">$cfg['Servers'][$i]['SignonScript']</code><a class="headerlink" href="#cfg_Servers_SignonScript" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <div class="versionadded">
- <p><span class="versionmodified added">New in version 3.5.0.</span></p>
- </div>
- <p>Name of PHP script to be sourced and executed to obtain login
- credentials. This is alternative approach to session based single
- signon. The script has to provide a function called
- <code class="docutils literal notranslate"><span class="pre">get_login_credentials</span></code> which returns list of username and
- password, accepting single parameter of existing username (can be
- empty). See <code class="file docutils literal notranslate"><span class="pre">examples/signon-script.php</span></code> for an example:</p>
- <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="o"><?</span><span class="nx">php</span>
- <span class="cm">/* vim: set expandtab sw=4 ts=4 sts=4: */</span>
- <span class="sd">/**</span>
- <span class="sd"> * Single signon for phpMyAdmin</span>
- <span class="sd"> *</span>
- <span class="sd"> * This is just example how to use script based single signon with</span>
- <span class="sd"> * phpMyAdmin, it is not intended to be perfect code and look, only</span>
- <span class="sd"> * shows how you can integrate this functionality in your application.</span>
- <span class="sd"> *</span>
- <span class="sd"> * @package PhpMyAdmin</span>
- <span class="sd"> * @subpackage Example</span>
- <span class="sd"> */</span>
- <span class="sd">/**</span>
- <span class="sd"> * This function returns username and password.</span>
- <span class="sd"> *</span>
- <span class="sd"> * It can optionally use configured username as parameter.</span>
- <span class="sd"> *</span>
- <span class="sd"> * @param string $user User name</span>
- <span class="sd"> *</span>
- <span class="sd"> * @return array</span>
- <span class="sd"> */</span>
- <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>
- <span class="p">{</span>
- <span class="cm">/* Optionally we can use passed username */</span>
- <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>
- <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">'password'</span><span class="p">);</span>
- <span class="p">}</span>
- <span class="cm">/* Here we would retrieve the credentials */</span>
- <span class="nv">$credentials</span> <span class="o">=</span> <span class="k">array</span><span class="p">(</span><span class="s1">'root'</span><span class="p">,</span> <span class="s1">''</span><span class="p">);</span>
- <span class="k">return</span> <span class="nv">$credentials</span><span class="p">;</span>
- <span class="p">}</span>
- </pre></div>
- </div>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <p><a class="reference internal" href="setup.html#auth-signon"><span class="std std-ref">Signon authentication mode</span></a></p>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_SignonSession">
- <code class="sig-name descname">$cfg['Servers'][$i]['SignonSession']</code><a class="headerlink" href="#cfg_Servers_SignonSession" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Name of session which will be used for signon authentication method.
- You should use something different than <code class="docutils literal notranslate"><span class="pre">phpMyAdmin</span></code>, because this
- is session which phpMyAdmin uses internally. Takes effect only if
- <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>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <p><a class="reference internal" href="setup.html#auth-signon"><span class="std std-ref">Signon authentication mode</span></a></p>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_SignonCookieParams">
- <code class="sig-name descname">$cfg['Servers'][$i]['SignonCookieParams']</code><a class="headerlink" href="#cfg_Servers_SignonCookieParams" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">array()</span></code></p>
- </dd>
- </dl>
- <div class="versionadded">
- <p><span class="versionmodified added">New in version 4.7.0.</span></p>
- </div>
- <p>An associative array of session cookie parameters of other authentication system.
- It is not needed if the other system doesn’t use session_set_cookie_params().
- Keys should include ‘lifetime’, ‘path’, ‘domain’, ‘secure’ or ‘httponly’.
- 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
- other application uses. Takes effect only if
- <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>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <p><a class="reference internal" href="setup.html#auth-signon"><span class="std std-ref">Signon authentication mode</span></a></p>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_SignonURL">
- <code class="sig-name descname">$cfg['Servers'][$i]['SignonURL']</code><a class="headerlink" href="#cfg_Servers_SignonURL" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p><a class="reference internal" href="glossary.html#term-URL"><span class="xref std std-term">URL</span></a> where user will be redirected
- to log in for signon authentication method. Should be absolute
- including protocol.</p>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <p><a class="reference internal" href="setup.html#auth-signon"><span class="std std-ref">Signon authentication mode</span></a></p>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_LogoutURL">
- <code class="sig-name descname">$cfg['Servers'][$i]['LogoutURL']</code><a class="headerlink" href="#cfg_Servers_LogoutURL" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p><a class="reference internal" href="glossary.html#term-URL"><span class="xref std std-term">URL</span></a> where user will be redirected
- after logout (doesn’t affect config authentication method). Should be
- absolute including protocol.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Servers_hide_connection_errors">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <div class="versionadded">
- <p><span class="versionmodified added">New in version 4.9.8.</span></p>
- </div>
- <p>Whether to show or hide detailed MySQL/MariaDB connection errors on the login page.</p>
- <div class="admonition note">
- <p class="admonition-title">Note</p>
- <p>This error message can contain the target database server hostname or IP address,
- which may reveal information about your network to an attacker.</p>
- </div>
- </dd></dl>
- </div>
- <div class="section" id="generic-settings">
- <h2>Generic settings<a class="headerlink" href="#generic-settings" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_DisableShortcutKeys">
- <code class="sig-name descname">$cfg['DisableShortcutKeys']</code><a class="headerlink" href="#cfg_DisableShortcutKeys" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ServerDefault">
- <code class="sig-name descname">$cfg['ServerDefault']</code><a class="headerlink" href="#cfg_ServerDefault" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>1</p>
- </dd>
- </dl>
- <p>If you have more than one server configured, you can set
- <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
- server when phpMyAdmin is started, or set it to 0 to be given a list
- of servers without logging in.</p>
- <p>If you have only one server configured,
- <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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_VersionCheck">
- <code class="sig-name descname">$cfg['VersionCheck']</code><a class="headerlink" href="#cfg_VersionCheck" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Enables check for latest versions using JavaScript on the main phpMyAdmin
- page or by directly accessing <code class="file docutils literal notranslate"><span class="pre">version_check.php</span></code>.</p>
- <div class="admonition note">
- <p class="admonition-title">Note</p>
- <p>This setting can be adjusted by your vendor.</p>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ProxyUrl">
- <code class="sig-name descname">$cfg['ProxyUrl']</code><a class="headerlink" href="#cfg_ProxyUrl" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><p>””</p>
- </p>
- </dd>
- </dl>
- <p>The url of the proxy to be used when phpmyadmin needs to access the outside
- internet such as when retrieving the latest version info or submitting error
- reports. You need this if the server where phpMyAdmin is installed does not
- have direct access to the internet.
- The format is: “hostname:portnumber”</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ProxyUser">
- <code class="sig-name descname">$cfg['ProxyUser']</code><a class="headerlink" href="#cfg_ProxyUser" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><p>””</p>
- </p>
- </dd>
- </dl>
- <p>The username for authenticating with the proxy. By default, no
- authentication is performed. If a username is supplied, Basic
- Authentication will be performed. No other types of authentication
- are currently supported.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ProxyPass">
- <code class="sig-name descname">$cfg['ProxyPass']</code><a class="headerlink" href="#cfg_ProxyPass" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><p>””</p>
- </p>
- </dd>
- </dl>
- <p>The password for authenticating with the proxy.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_MaxDbList">
- <code class="sig-name descname">$cfg['MaxDbList']</code><a class="headerlink" href="#cfg_MaxDbList" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>100</p>
- </dd>
- </dl>
- <p>The maximum number of database names to be displayed in the main panel’s
- database list.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_MaxTableList">
- <code class="sig-name descname">$cfg['MaxTableList']</code><a class="headerlink" href="#cfg_MaxTableList" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>250</p>
- </dd>
- </dl>
- <p>The maximum number of table names to be displayed in the main panel’s
- list (except on the Export page).</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ShowHint">
- <code class="sig-name descname">$cfg['ShowHint']</code><a class="headerlink" href="#cfg_ShowHint" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Whether or not to show hints (for example, hints when hovering over
- table headers).</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_MaxCharactersInDisplayedSQL">
- <code class="sig-name descname">$cfg['MaxCharactersInDisplayedSQL']</code><a class="headerlink" href="#cfg_MaxCharactersInDisplayedSQL" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>1000</p>
- </dd>
- </dl>
- <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
- default limit of 1000 should be correct to avoid the display of tons of
- hexadecimal codes that represent BLOBs, but some users have real
- <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
- query’s length exceeds this limit, this query is not saved in the history.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_PersistentConnections">
- <code class="sig-name descname">$cfg['PersistentConnections']</code><a class="headerlink" href="#cfg_PersistentConnections" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <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
- following extensions:</p>
- <ul class="simple">
- <li><p>mysql (<a class="reference external" href="https://www.php.net/manual/en/function.mysql-pconnect.php">mysql_pconnect</a>),</p></li>
- <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>
- </ul>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ForceSSL">
- <code class="sig-name descname">$cfg['ForceSSL']</code><a class="headerlink" href="#cfg_ForceSSL" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <div class="deprecated">
- <p><span class="versionmodified deprecated">Deprecated since version 4.6.0: </span>This setting is no longer available since phpMyAdmin 4.6.0. Please
- adjust your webserver instead.</p>
- </div>
- <p>Whether to force using https while accessing phpMyAdmin. In a reverse
- proxy setup, setting this to <code class="docutils literal notranslate"><span class="pre">true</span></code> is not supported.</p>
- <div class="admonition note">
- <p class="admonition-title">Note</p>
- <p>In some setups (like separate SSL proxy or load balancer) you might
- 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
- redirection.</p>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ExecTimeLimit">
- <code class="sig-name descname">$cfg['ExecTimeLimit']</code><a class="headerlink" href="#cfg_ExecTimeLimit" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer [number of seconds]</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>300</p>
- </dd>
- </dl>
- <p>Set the number of seconds a script is allowed to run. If seconds is
- set to zero, no time limit is imposed. This setting is used while
- importing/exporting dump files but has
- no effect when PHP is running in safe mode.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_SessionSavePath">
- <code class="sig-name descname">$cfg['SessionSavePath']</code><a class="headerlink" href="#cfg_SessionSavePath" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <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>
- <div class="admonition warning">
- <p class="admonition-title">Warning</p>
- <p>This folder should not be publicly accessible through the webserver,
- otherwise you risk leaking private data from your session.</p>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_MemoryLimit">
- <code class="sig-name descname">$cfg['MemoryLimit']</code><a class="headerlink" href="#cfg_MemoryLimit" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string [number of bytes]</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'-1'</span></code></p>
- </dd>
- </dl>
- <p>Set the number of bytes a script is allowed to allocate. If set to
- <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
- 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
- used.</p>
- <p>This setting is used while importing/exporting dump files
- so you definitely don’t want to put here a too low
- value. It has no effect when PHP is running in safe mode.</p>
- <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
- don’t omit the suffix (16 means 16 bytes!)</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_SkipLockedTables">
- <code class="sig-name descname">$cfg['SkipLockedTables']</code><a class="headerlink" href="#cfg_SkipLockedTables" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Mark used tables and make it possible to show databases with locked
- tables (since MySQL 3.23.30).</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ShowSQL">
- <code class="sig-name descname">$cfg['ShowSQL']</code><a class="headerlink" href="#cfg_ShowSQL" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Defines whether <a class="reference internal" href="glossary.html#term-SQL"><span class="xref std std-term">SQL</span></a> queries
- generated by phpMyAdmin should be displayed or not.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_RetainQueryBox">
- <code class="sig-name descname">$cfg['RetainQueryBox']</code><a class="headerlink" href="#cfg_RetainQueryBox" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Defines whether the <a class="reference internal" href="glossary.html#term-SQL"><span class="xref std std-term">SQL</span></a> query box
- should be kept displayed after its submission.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_CodemirrorEnable">
- <code class="sig-name descname">$cfg['CodemirrorEnable']</code><a class="headerlink" href="#cfg_CodemirrorEnable" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Defines whether to use a Javascript code editor for SQL query boxes.
- CodeMirror provides syntax highlighting and line numbers. However,
- middle-clicking for pasting the clipboard contents in some Linux
- distributions (such as Ubuntu) is not supported by all browsers.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DefaultForeignKeyChecks">
- <code class="sig-name descname">$cfg['DefaultForeignKeyChecks']</code><a class="headerlink" href="#cfg_DefaultForeignKeyChecks" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'default'</span></code></p>
- </dd>
- </dl>
- <p>Default value of the checkbox for foreign key checks, to disable/enable
- foreign key checks for certain queries. The possible values are <code class="docutils literal notranslate"><span class="pre">'default'</span></code>,
- <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
- MySQL variable <code class="docutils literal notranslate"><span class="pre">FOREIGN_KEY_CHECKS</span></code> is used.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_AllowUserDropDatabase">
- <code class="sig-name descname">$cfg['AllowUserDropDatabase']</code><a class="headerlink" href="#cfg_AllowUserDropDatabase" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <div class="admonition warning">
- <p class="admonition-title">Warning</p>
- <p>This is not a security measure as there will be always ways to
- circumvent this. If you want to prohibit users from dropping databases,
- revoke their corresponding DROP privilege.</p>
- </div>
- <p>Defines whether normal users (non-administrator) are allowed to delete
- their own database or not. If set as false, the link <span class="guilabel">Drop
- 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
- 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>
- <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
- 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
- quite complicated. So this choice should be viewed as help to avoid
- accidental dropping rather than strict privilege limitation.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Confirm">
- <code class="sig-name descname">$cfg['Confirm']</code><a class="headerlink" href="#cfg_Confirm" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Whether a warning (“Are your really sure…”) should be displayed when
- you’re about to lose data.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_UseDbSearch">
- <code class="sig-name descname">$cfg['UseDbSearch']</code><a class="headerlink" href="#cfg_UseDbSearch" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Define whether the “search string inside database” is enabled or not.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_IgnoreMultiSubmitErrors">
- <code class="sig-name descname">$cfg['IgnoreMultiSubmitErrors']</code><a class="headerlink" href="#cfg_IgnoreMultiSubmitErrors" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Define whether phpMyAdmin will continue executing a multi-query
- statement if one of the queries fails. Default is to abort execution.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_URLQueryEncryption">
- <code class="sig-name descname">$cfg['URLQueryEncryption']</code><a class="headerlink" href="#cfg_URLQueryEncryption" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <div class="versionadded">
- <p><span class="versionmodified added">New in version 4.9.8.</span></p>
- </div>
- <p>Define whether phpMyAdmin will encrypt sensitive data (like database name
- and table name) from the URL query string. Default is to not encrypt the URL
- query string.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_URLQueryEncryptionSecretKey">
- <code class="sig-name descname">$cfg['URLQueryEncryptionSecretKey']</code><a class="headerlink" href="#cfg_URLQueryEncryptionSecretKey" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <div class="versionadded">
- <p><span class="versionmodified added">New in version 4.9.8.</span></p>
- </div>
- <p>A secret key used to encrypt/decrypt the URL query string.
- Should be 32 bytes long.</p>
- </dd></dl>
- </div>
- <div class="section" id="cookie-authentication-options">
- <h2>Cookie authentication options<a class="headerlink" href="#cookie-authentication-options" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_blowfish_secret">
- <code class="sig-name descname">$cfg['blowfish_secret']</code><a class="headerlink" href="#cfg_blowfish_secret" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>The “cookie” auth_type uses AES algorithm to encrypt the password. If you
- are using the “cookie” auth_type, enter here a random passphrase of your
- choice. It will be used internally by the AES algorithm: you won’t be
- prompted for this passphrase.</p>
- <p>The secret should be 32 characters long. Using shorter will lead to weaker security
- of encrypted cookies, using longer will cause no harm.</p>
- <div class="admonition note">
- <p class="admonition-title">Note</p>
- <p>The configuration is called blowfish_secret for historical reasons as
- Blowfish algorithm was originally used to do the encryption.</p>
- </div>
- <div class="versionchanged">
- <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
- makes a bit weaker security as this generated secret is stored in
- session and furthermore it makes impossible to recall user name from
- cookie.</p>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_LoginCookieRecall">
- <code class="sig-name descname">$cfg['LoginCookieRecall']</code><a class="headerlink" href="#cfg_LoginCookieRecall" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Define whether the previous login should be recalled or not in cookie
- authentication mode.</p>
- <p>This is automatically disabled if you do not have
- 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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_LoginCookieValidity">
- <code class="sig-name descname">$cfg['LoginCookieValidity']</code><a class="headerlink" href="#cfg_LoginCookieValidity" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer [number of seconds]</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>1440</p>
- </dd>
- </dl>
- <p>Define how long a login cookie is valid. Please note that php
- 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,
- the login cookie is also invalidated. So it is a good idea to set
- <code class="docutils literal notranslate"><span class="pre">session.gc_maxlifetime</span></code> at least to the same value of
- <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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_LoginCookieStore">
- <code class="sig-name descname">$cfg['LoginCookieStore']</code><a class="headerlink" href="#cfg_LoginCookieStore" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer [number of seconds]</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>0</p>
- </dd>
- </dl>
- <p>Define how long login cookie should be stored in browser. Default 0
- means that it will be kept for existing session. This is recommended
- for not trusted environments.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_LoginCookieDeleteAll">
- <code class="sig-name descname">$cfg['LoginCookieDeleteAll']</code><a class="headerlink" href="#cfg_LoginCookieDeleteAll" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>If enabled (default), logout deletes cookies for all servers,
- otherwise only for current one. Setting this to false makes it easy to
- forget to log out from other server, when you are using more of them.</p>
- </dd></dl>
- <span class="target" id="allowarbitraryserver"></span><dl class="config option">
- <dt id="cfg_AllowArbitraryServer">
- <code class="sig-name descname">$cfg['AllowArbitraryServer']</code><a class="headerlink" href="#cfg_AllowArbitraryServer" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>If enabled, allows you to log in to arbitrary servers using cookie
- authentication.</p>
- <div class="admonition note">
- <p class="admonition-title">Note</p>
- <p>Please use this carefully, as this may allow users access to MySQL servers
- 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.
- 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>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ArbitraryServerRegexp">
- <code class="sig-name descname">$cfg['ArbitraryServerRegexp']</code><a class="headerlink" href="#cfg_ArbitraryServerRegexp" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Restricts the MySQL servers to which the user can log in when
- <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
- 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
- to the given regular expression. The regular expression must be enclosed
- with a delimiter character.</p>
- <p>It is recommended to include start and end symbols in the regullar
- expression, so that you can avoid partial matches on the string.</p>
- <p><strong>Examples:</strong></p>
- <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="c1">// Allow connection to three listed servers:</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'ArbitraryServerRegexp'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'/^(server|another|yetdifferent)$/'</span><span class="p">;</span>
- <span class="c1">// Allow connection to range of IP addresses:</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'ArbitraryServerRegexp'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'@^192\.168\.0\.[0-9]{1,}$@'</span><span class="p">;</span>
- <span class="c1">// Allow connection to server name ending with -mysql:</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'ArbitraryServerRegexp'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'@^[^:]\-mysql$@'</span><span class="p">;</span>
- </pre></div>
- </div>
- <div class="admonition note">
- <p class="admonition-title">Note</p>
- <p>The whole server name is matched, it can include port as well. Due to
- way MySQL is permissive in connection parameters, it is possible to use
- connection strings as <code class="docutils literal notranslate"><span class="pre">`server:3306-mysql`</span></code>. This can be used to
- bypass regullar expression by the suffix, while connecting to another
- server.</p>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_CaptchaLoginPublicKey">
- <code class="sig-name descname">$cfg['CaptchaLoginPublicKey']</code><a class="headerlink" href="#cfg_CaptchaLoginPublicKey" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>The public key for the reCaptcha service that can be obtained from
- <a class="reference external" href="https://www.google.com/recaptcha/intro/v3.html">https://www.google.com/recaptcha/intro/v3.html</a>.</p>
- <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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_CaptchaLoginPrivateKey">
- <code class="sig-name descname">$cfg['CaptchaLoginPrivateKey']</code><a class="headerlink" href="#cfg_CaptchaLoginPrivateKey" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>The private key for the reCaptcha service that can be obtain from
- <a class="reference external" href="https://www.google.com/recaptcha/intro/v3.html">https://www.google.com/recaptcha/intro/v3.html</a>.</p>
- <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>
- </dd></dl>
- </div>
- <div class="section" id="navigation-panel-setup">
- <h2>Navigation panel setup<a class="headerlink" href="#navigation-panel-setup" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_ShowDatabasesNavigationAsTree">
- <code class="sig-name descname">$cfg['ShowDatabasesNavigationAsTree']</code><a class="headerlink" href="#cfg_ShowDatabasesNavigationAsTree" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>In the navigation panel, replaces the database tree with a selector</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_FirstLevelNavigationItems">
- <code class="sig-name descname">$cfg['FirstLevelNavigationItems']</code><a class="headerlink" href="#cfg_FirstLevelNavigationItems" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>100</p>
- </dd>
- </dl>
- <p>The number of first level databases that can be displayed on each page
- of navigation tree.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_MaxNavigationItems">
- <code class="sig-name descname">$cfg['MaxNavigationItems']</code><a class="headerlink" href="#cfg_MaxNavigationItems" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>50</p>
- </dd>
- </dl>
- <p>The number of items (tables, columns, indexes) that can be displayed on each
- page of the navigation tree.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NavigationTreeEnableGrouping">
- <code class="sig-name descname">$cfg['NavigationTreeEnableGrouping']</code><a class="headerlink" href="#cfg_NavigationTreeEnableGrouping" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Defines whether to group the databases based on a common prefix
- 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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NavigationTreeDbSeparator">
- <code class="sig-name descname">$cfg['NavigationTreeDbSeparator']</code><a class="headerlink" href="#cfg_NavigationTreeDbSeparator" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'_'</span></code></p>
- </dd>
- </dl>
- <p>The string used to separate the parts of the database name when
- showing them in a tree.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NavigationTreeTableSeparator">
- <code class="sig-name descname">$cfg['NavigationTreeTableSeparator']</code><a class="headerlink" href="#cfg_NavigationTreeTableSeparator" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string or array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'__'</span></code></p>
- </dd>
- </dl>
- <p>Defines a string to be used to nest table spaces. This means if you have
- tables like <code class="docutils literal notranslate"><span class="pre">first__second__third</span></code> this will be shown as a three-level
- hierarchy like: first > second > third. If set to false or empty, the
- feature is disabled. NOTE: You should not use this separator at the
- beginning or end of a table name or multiple times after another without
- any other characters in between.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NavigationTreeTableLevel">
- <code class="sig-name descname">$cfg['NavigationTreeTableLevel']</code><a class="headerlink" href="#cfg_NavigationTreeTableLevel" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>1</p>
- </dd>
- </dl>
- <p>Defines how many sublevels should be displayed when splitting up
- tables by the above separator.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NumRecentTables">
- <code class="sig-name descname">$cfg['NumRecentTables']</code><a class="headerlink" href="#cfg_NumRecentTables" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>10</p>
- </dd>
- </dl>
- <p>The maximum number of recently used tables shown in the navigation
- panel. Set this to 0 (zero) to disable the listing of recent tables.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NumFavoriteTables">
- <code class="sig-name descname">$cfg['NumFavoriteTables']</code><a class="headerlink" href="#cfg_NumFavoriteTables" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>10</p>
- </dd>
- </dl>
- <p>The maximum number of favorite tables shown in the navigation
- panel. Set this to 0 (zero) to disable the listing of favorite tables.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ZeroConf">
- <code class="sig-name descname">$cfg['ZeroConf']</code><a class="headerlink" href="#cfg_ZeroConf" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Enables Zero Configuration mode in which the user will be offered a choice to
- create phpMyAdmin configuration storage in the current database
- or use the existing one, if already present.</p>
- <p>This setting has no effect if the phpMyAdmin configuration storage database
- is properly created and the related configuration directives (such as
- <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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NavigationLinkWithMainPanel">
- <code class="sig-name descname">$cfg['NavigationLinkWithMainPanel']</code><a class="headerlink" href="#cfg_NavigationLinkWithMainPanel" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Defines whether or not to link with main panel by highlighting
- the current database or table.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NavigationDisplayLogo">
- <code class="sig-name descname">$cfg['NavigationDisplayLogo']</code><a class="headerlink" href="#cfg_NavigationDisplayLogo" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Defines whether or not to display the phpMyAdmin logo at the top of
- the navigation panel.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NavigationLogoLink">
- <code class="sig-name descname">$cfg['NavigationLogoLink']</code><a class="headerlink" href="#cfg_NavigationLogoLink" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'index.php'</span></code></p>
- </dd>
- </dl>
- <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.
- For use especially with self made theme which changes this.
- 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>.
- 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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NavigationLogoLinkWindow">
- <code class="sig-name descname">$cfg['NavigationLogoLinkWindow']</code><a class="headerlink" href="#cfg_NavigationLogoLinkWindow" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'main'</span></code></p>
- </dd>
- </dl>
- <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
- 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
- <code class="docutils literal notranslate"><span class="pre">phpmyadmin.net</span></code>.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NavigationTreeDisplayItemFilterMinimum">
- <code class="sig-name descname">$cfg['NavigationTreeDisplayItemFilterMinimum']</code><a class="headerlink" href="#cfg_NavigationTreeDisplayItemFilterMinimum" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>30</p>
- </dd>
- </dl>
- <p>Defines the minimum number of items (tables, views, routines and
- events) to display a JavaScript filter box above the list of items in
- the navigation tree.</p>
- <p>To disable the filter completely some high number can be used (e.g. 9999)</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NavigationTreeDisplayDbFilterMinimum">
- <code class="sig-name descname">$cfg['NavigationTreeDisplayDbFilterMinimum']</code><a class="headerlink" href="#cfg_NavigationTreeDisplayDbFilterMinimum" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>30</p>
- </dd>
- </dl>
- <p>Defines the minimum number of databases to display a JavaScript filter
- box above the list of databases in the navigation tree.</p>
- <p>To disable the filter completely some high number can be used
- (e.g. 9999)</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NavigationDisplayServers">
- <code class="sig-name descname">$cfg['NavigationDisplayServers']</code><a class="headerlink" href="#cfg_NavigationDisplayServers" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Defines whether or not to display a server choice at the top of the
- navigation panel.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DisplayServersList">
- <code class="sig-name descname">$cfg['DisplayServersList']</code><a class="headerlink" href="#cfg_DisplayServersList" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Defines whether to display this server choice as links instead of in a
- drop-down.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NavigationTreeDefaultTabTable">
- <code class="sig-name descname">$cfg['NavigationTreeDefaultTabTable']</code><a class="headerlink" href="#cfg_NavigationTreeDefaultTabTable" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'structure'</span></code></p>
- </dd>
- </dl>
- <p>Defines the tab displayed by default when clicking the small icon next
- to each table name in the navigation panel. The possible values are the
- localized equivalent of:</p>
- <ul class="simple">
- <li><p><code class="docutils literal notranslate"><span class="pre">structure</span></code></p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">sql</span></code></p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">search</span></code></p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">insert</span></code></p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">browse</span></code></p></li>
- </ul>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NavigationTreeDefaultTabTable2">
- <code class="sig-name descname">$cfg['NavigationTreeDefaultTabTable2']</code><a class="headerlink" href="#cfg_NavigationTreeDefaultTabTable2" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>null</p>
- </dd>
- </dl>
- <p>Defines the tab displayed by default when clicking the second small icon next
- to each table name in the navigation panel. The possible values are the
- localized equivalent of:</p>
- <ul class="simple">
- <li><p><code class="docutils literal notranslate"><span class="pre">(empty)</span></code></p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">structure</span></code></p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">sql</span></code></p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">search</span></code></p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">insert</span></code></p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">browse</span></code></p></li>
- </ul>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NavigationTreeEnableExpansion">
- <code class="sig-name descname">$cfg['NavigationTreeEnableExpansion']</code><a class="headerlink" href="#cfg_NavigationTreeEnableExpansion" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Whether to offer the possibility of tree expansion in the navigation panel.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NavigationTreeShowTables">
- <code class="sig-name descname">$cfg['NavigationTreeShowTables']</code><a class="headerlink" href="#cfg_NavigationTreeShowTables" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Whether to show tables under database in the navigation panel.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NavigationTreeShowViews">
- <code class="sig-name descname">$cfg['NavigationTreeShowViews']</code><a class="headerlink" href="#cfg_NavigationTreeShowViews" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Whether to show views under database in the navigation panel.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NavigationTreeShowFunctions">
- <code class="sig-name descname">$cfg['NavigationTreeShowFunctions']</code><a class="headerlink" href="#cfg_NavigationTreeShowFunctions" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Whether to show functions under database in the navigation panel.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NavigationTreeShowProcedures">
- <code class="sig-name descname">$cfg['NavigationTreeShowProcedures']</code><a class="headerlink" href="#cfg_NavigationTreeShowProcedures" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Whether to show procedures under database in the navigation panel.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NavigationTreeShowEvents">
- <code class="sig-name descname">$cfg['NavigationTreeShowEvents']</code><a class="headerlink" href="#cfg_NavigationTreeShowEvents" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Whether to show events under database in the navigation panel.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NavigationWidth">
- <code class="sig-name descname">$cfg['NavigationWidth']</code><a class="headerlink" href="#cfg_NavigationWidth" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>240</p>
- </dd>
- </dl>
- <p>Navigation panel width, set to 0 to collapse it by default.</p>
- </dd></dl>
- </div>
- <div class="section" id="main-panel">
- <h2>Main panel<a class="headerlink" href="#main-panel" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_ShowStats">
- <code class="sig-name descname">$cfg['ShowStats']</code><a class="headerlink" href="#cfg_ShowStats" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Defines whether or not to display space usage and statistics about
- databases and tables. Note that statistics requires at least MySQL
- 3.23.3 and that, at this date, MySQL doesn’t return such information
- for Berkeley DB tables.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ShowServerInfo">
- <code class="sig-name descname">$cfg['ShowServerInfo']</code><a class="headerlink" href="#cfg_ShowServerInfo" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Defines whether to display detailed server information on main page.
- You can additionally hide more information by using
- <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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ShowPhpInfo">
- <code class="sig-name descname">$cfg['ShowPhpInfo']</code><a class="headerlink" href="#cfg_ShowPhpInfo" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Defines whether to display the <span class="guilabel">PHP information</span> or not at
- the starting main (right) frame.</p>
- <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
- put this in your <code class="file docutils literal notranslate"><span class="pre">php.ini</span></code>:</p>
- <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>
- </pre></div>
- </div>
- <div class="admonition warning">
- <p class="admonition-title">Warning</p>
- <p>Enabling phpinfo page will leak quite a lot of information about server
- setup. Is it not recommended to enable this on shared installations.</p>
- <p>This might also make easier some remote attacks on your installations,
- so enable this only when needed.</p>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ShowChgPassword">
- <code class="sig-name descname">$cfg['ShowChgPassword']</code><a class="headerlink" href="#cfg_ShowChgPassword" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Defines whether to display the <span class="guilabel">Change password</span> link or not at
- the starting main (right) frame. This setting does not check MySQL commands
- entered directly.</p>
- <p>Please note that enabling the <span class="guilabel">Change password</span> link has no effect
- with config authentication mode: because of the hard coded password value
- in the configuration file, end users can’t be allowed to change their
- passwords.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ShowCreateDb">
- <code class="sig-name descname">$cfg['ShowCreateDb']</code><a class="headerlink" href="#cfg_ShowCreateDb" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Defines whether to display the form for creating database or not at the
- starting main (right) frame. This setting does not check MySQL commands
- entered directly.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ShowGitRevision">
- <code class="sig-name descname">$cfg['ShowGitRevision']</code><a class="headerlink" href="#cfg_ShowGitRevision" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Defines whether to display informations about the current Git revision (if
- applicable) on the main panel.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_MysqlMinVersion">
- <code class="sig-name descname">$cfg['MysqlMinVersion']</code><a class="headerlink" href="#cfg_MysqlMinVersion" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- </dl>
- <p>Defines the minimum supported MySQL version. The default is chosen
- by the phpMyAdmin team; however this directive was asked by a developer
- of the Plesk control panel to ease integration with older MySQL servers
- (where most of the phpMyAdmin features work).</p>
- </dd></dl>
- </div>
- <div class="section" id="database-structure">
- <h2>Database structure<a class="headerlink" href="#database-structure" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_ShowDbStructureCreation">
- <code class="sig-name descname">$cfg['ShowDbStructureCreation']</code><a class="headerlink" href="#cfg_ShowDbStructureCreation" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Defines whether the database structure page (tables list) has a
- “Creation” column that displays when each table was created.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ShowDbStructureLastUpdate">
- <code class="sig-name descname">$cfg['ShowDbStructureLastUpdate']</code><a class="headerlink" href="#cfg_ShowDbStructureLastUpdate" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Defines whether the database structure page (tables list) has a “Last
- update” column that displays when each table was last updated.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ShowDbStructureLastCheck">
- <code class="sig-name descname">$cfg['ShowDbStructureLastCheck']</code><a class="headerlink" href="#cfg_ShowDbStructureLastCheck" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Defines whether the database structure page (tables list) has a “Last
- check” column that displays when each table was last checked.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_HideStructureActions">
- <code class="sig-name descname">$cfg['HideStructureActions']</code><a class="headerlink" href="#cfg_HideStructureActions" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Defines whether the table structure actions are hidden under a “More”
- drop-down.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ShowColumnComments">
- <code class="sig-name descname">$cfg['ShowColumnComments']</code><a class="headerlink" href="#cfg_ShowColumnComments" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Defines whether to show column comments as a column in the table structure view.</p>
- </dd></dl>
- </div>
- <div class="section" id="browse-mode">
- <h2>Browse mode<a class="headerlink" href="#browse-mode" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_TableNavigationLinksMode">
- <code class="sig-name descname">$cfg['TableNavigationLinksMode']</code><a class="headerlink" href="#cfg_TableNavigationLinksMode" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'icons'</span></code></p>
- </dd>
- </dl>
- <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>
- or <code class="docutils literal notranslate"><span class="pre">'both'</span></code>.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ActionLinksMode">
- <code class="sig-name descname">$cfg['ActionLinksMode']</code><a class="headerlink" href="#cfg_ActionLinksMode" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'both'</span></code></p>
- </dd>
- </dl>
- <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
- properties links (like <span class="guilabel">Browse</span>, <span class="guilabel">Select</span>,
- <span class="guilabel">Insert</span>, …). Can be set to <code class="docutils literal notranslate"><span class="pre">'both'</span></code>
- 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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_RowActionType">
- <code class="sig-name descname">$cfg['RowActionType']</code><a class="headerlink" href="#cfg_RowActionType" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'both'</span></code></p>
- </dd>
- </dl>
- <p>Whether to display icons or text or both icons and text in table row action
- 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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ShowAll">
- <code class="sig-name descname">$cfg['ShowAll']</code><a class="headerlink" href="#cfg_ShowAll" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Defines whether a user should be displayed a “Show all” button in browse
- mode or not in all cases. By default it is shown only on small tables (less
- than 500 rows) to avoid performance issues while getting too many rows.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_MaxRows">
- <code class="sig-name descname">$cfg['MaxRows']</code><a class="headerlink" href="#cfg_MaxRows" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>25</p>
- </dd>
- </dl>
- <p>Number of rows displayed when browsing a result set and no LIMIT
- clause is used. If the result set contains more rows, “Previous” and
- “Next” links will be shown. Possible values: 25,50,100,250,500.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Order">
- <code class="sig-name descname">$cfg['Order']</code><a class="headerlink" href="#cfg_Order" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'SMART'</span></code></p>
- </dd>
- </dl>
- <p>Defines whether columns are displayed in ascending (<code class="docutils literal notranslate"><span class="pre">ASC</span></code>) order, in
- 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.
- descending order for columns of type TIME, DATE, DATETIME and
- TIMESTAMP, ascending order else- by default.</p>
- <div class="versionchanged">
- <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>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_GridEditing">
- <code class="sig-name descname">$cfg['GridEditing']</code><a class="headerlink" href="#cfg_GridEditing" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'double-click'</span></code></p>
- </dd>
- </dl>
- <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
- editing. Can be deactivated with the <code class="docutils literal notranslate"><span class="pre">disabled</span></code> value.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_RelationalDisplay">
- <code class="sig-name descname">$cfg['RelationalDisplay']</code><a class="headerlink" href="#cfg_RelationalDisplay" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'K'</span></code></p>
- </dd>
- </dl>
- <p>Defines the initial behavior for Options > Relational. <code class="docutils literal notranslate"><span class="pre">K</span></code>, which
- is the default, displays the key while <code class="docutils literal notranslate"><span class="pre">D</span></code> shows the display column.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_SaveCellsAtOnce">
- <code class="sig-name descname">$cfg['SaveCellsAtOnce']</code><a class="headerlink" href="#cfg_SaveCellsAtOnce" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Defines whether or not to save all edited cells at once for grid
- editing.</p>
- </dd></dl>
- </div>
- <div class="section" id="editing-mode">
- <h2>Editing mode<a class="headerlink" href="#editing-mode" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_ProtectBinary">
- <code class="sig-name descname">$cfg['ProtectBinary']</code><a class="headerlink" href="#cfg_ProtectBinary" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean or string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'blob'</span></code></p>
- </dd>
- </dl>
- <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
- editing when browsing a table’s content. Valid values are:</p>
- <ul class="simple">
- <li><p><code class="docutils literal notranslate"><span class="pre">false</span></code> to allow editing of all columns;</p></li>
- <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>
- <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
- opposite of <code class="docutils literal notranslate"><span class="pre">'blob'</span></code>);</p></li>
- <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>
- </ul>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ShowFunctionFields">
- <code class="sig-name descname">$cfg['ShowFunctionFields']</code><a class="headerlink" href="#cfg_ShowFunctionFields" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Defines whether or not MySQL functions fields should be initially
- displayed in edit/insert mode. Since version 2.10, the user can toggle
- this setting from the interface.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ShowFieldTypesInDataEditView">
- <code class="sig-name descname">$cfg['ShowFieldTypesInDataEditView']</code><a class="headerlink" href="#cfg_ShowFieldTypesInDataEditView" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Defines whether or not type fields should be initially displayed in
- edit/insert mode. The user can toggle this setting from the interface.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_InsertRows">
- <code class="sig-name descname">$cfg['InsertRows']</code><a class="headerlink" href="#cfg_InsertRows" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>2</p>
- </dd>
- </dl>
- <p>Defines the default number of rows to be entered from the Insert page.
- Users can manually change this from the bottom of that page to add or remove
- blank rows.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ForeignKeyMaxLimit">
- <code class="sig-name descname">$cfg['ForeignKeyMaxLimit']</code><a class="headerlink" href="#cfg_ForeignKeyMaxLimit" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>100</p>
- </dd>
- </dl>
- <p>If there are fewer items than this in the set of foreign keys, then a
- drop-down box of foreign keys is presented, in the style described by
- 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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ForeignKeyDropdownOrder">
- <code class="sig-name descname">$cfg['ForeignKeyDropdownOrder']</code><a class="headerlink" href="#cfg_ForeignKeyDropdownOrder" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>array(‘content-id’, ‘id-content’)</p>
- </dd>
- </dl>
- <p>For the foreign key drop-down fields, there are several methods of
- display, offering both the key and value data. The contents of the
- array should be one or both of the following strings: <code class="docutils literal notranslate"><span class="pre">content-id</span></code>,
- <code class="docutils literal notranslate"><span class="pre">id-content</span></code>.</p>
- </dd></dl>
- </div>
- <div class="section" id="export-and-import-settings">
- <h2>Export and import settings<a class="headerlink" href="#export-and-import-settings" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_ZipDump">
- <code class="sig-name descname">$cfg['ZipDump']</code><a class="headerlink" href="#cfg_ZipDump" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_GZipDump">
- <code class="sig-name descname">$cfg['GZipDump']</code><a class="headerlink" href="#cfg_GZipDump" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_BZipDump">
- <code class="sig-name descname">$cfg['BZipDump']</code><a class="headerlink" href="#cfg_BZipDump" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Defines whether to allow the use of zip/GZip/BZip2 compression when
- creating a dump file</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_CompressOnFly">
- <code class="sig-name descname">$cfg['CompressOnFly']</code><a class="headerlink" href="#cfg_CompressOnFly" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Defines whether to allow on the fly compression for GZip/BZip2
- compressed exports. This doesn’t affect smaller dumps and allows users
- to create larger dumps that won’t otherwise fit in memory due to php
- memory limit. Produced files contain more GZip/BZip2 headers, but all
- normal programs handle this correctly.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Export">
- <code class="sig-name descname">$cfg['Export']</code><a class="headerlink" href="#cfg_Export" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>array(…)</p>
- </dd>
- </dl>
- <p>In this array are defined default parameters for export, names of
- items are similar to texts seen on export page, so you can easily
- identify what they mean.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Export_format">
- <code class="sig-name descname">$cfg['Export']['format']</code><a class="headerlink" href="#cfg_Export_format" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'sql'</span></code></p>
- </dd>
- </dl>
- <p>Default export format.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Export_method">
- <code class="sig-name descname">$cfg['Export']['method']</code><a class="headerlink" href="#cfg_Export_method" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'quick'</span></code></p>
- </dd>
- </dl>
- <p>Defines how the export form is displayed when it loads. Valid values
- are:</p>
- <ul class="simple">
- <li><p><code class="docutils literal notranslate"><span class="pre">quick</span></code> to display the minimum number of options to configure</p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">custom</span></code> to display every available option to configure</p></li>
- <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
- of using quick export</p></li>
- </ul>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Export_charset">
- <code class="sig-name descname">$cfg['Export']['charset']</code><a class="headerlink" href="#cfg_Export_charset" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Defines charset for generated export. By default no charset conversion is
- done assuming UTF-8.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Export_file_template_table">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'@TABLE@'</span></code></p>
- </dd>
- </dl>
- <p>Default filename template for table exports.</p>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <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>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Export_file_template_database">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'@DATABASE@'</span></code></p>
- </dd>
- </dl>
- <p>Default filename template for database exports.</p>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <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>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Export_file_template_server">
- <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>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'@SERVER@'</span></code></p>
- </dd>
- </dl>
- <p>Default filename template for server exports.</p>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <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>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Import">
- <code class="sig-name descname">$cfg['Import']</code><a class="headerlink" href="#cfg_Import" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>array(…)</p>
- </dd>
- </dl>
- <p>In this array are defined default parameters for import, names of
- items are similar to texts seen on import page, so you can easily
- identify what they mean.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Import_charset">
- <code class="sig-name descname">$cfg['Import']['charset']</code><a class="headerlink" href="#cfg_Import_charset" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Defines charset for import. By default no charset conversion is done
- assuming UTF-8.</p>
- </dd></dl>
- </div>
- <div class="section" id="tabs-display-settings">
- <h2>Tabs display settings<a class="headerlink" href="#tabs-display-settings" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_TabsMode">
- <code class="sig-name descname">$cfg['TabsMode']</code><a class="headerlink" href="#cfg_TabsMode" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'both'</span></code></p>
- </dd>
- </dl>
- <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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_PropertiesNumColumns">
- <code class="sig-name descname">$cfg['PropertiesNumColumns']</code><a class="headerlink" href="#cfg_PropertiesNumColumns" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>1</p>
- </dd>
- </dl>
- <p>How many columns will be utilized to display the tables on the database
- property view? When setting this to a value larger than 1, the type of the
- database will be omitted for more display space.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DefaultTabServer">
- <code class="sig-name descname">$cfg['DefaultTabServer']</code><a class="headerlink" href="#cfg_DefaultTabServer" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'welcome'</span></code></p>
- </dd>
- </dl>
- <p>Defines the tab displayed by default on server view. The possible values
- are the localized equivalent of:</p>
- <ul class="simple">
- <li><p><code class="docutils literal notranslate"><span class="pre">welcome</span></code> (recommended for multi-user setups)</p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">databases</span></code>,</p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">status</span></code></p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">variables</span></code></p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">privileges</span></code></p></li>
- </ul>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DefaultTabDatabase">
- <code class="sig-name descname">$cfg['DefaultTabDatabase']</code><a class="headerlink" href="#cfg_DefaultTabDatabase" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'structure'</span></code></p>
- </dd>
- </dl>
- <p>Defines the tab displayed by default on database view. The possible values
- are the localized equivalent of:</p>
- <ul class="simple">
- <li><p><code class="docutils literal notranslate"><span class="pre">structure</span></code></p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">sql</span></code></p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">search</span></code></p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">operations</span></code></p></li>
- </ul>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DefaultTabTable">
- <code class="sig-name descname">$cfg['DefaultTabTable']</code><a class="headerlink" href="#cfg_DefaultTabTable" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'browse'</span></code></p>
- </dd>
- </dl>
- <p>Defines the tab displayed by default on table view. The possible values
- are the localized equivalent of:</p>
- <ul class="simple">
- <li><p><code class="docutils literal notranslate"><span class="pre">structure</span></code></p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">sql</span></code></p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">search</span></code></p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">insert</span></code></p></li>
- <li><p><code class="docutils literal notranslate"><span class="pre">browse</span></code></p></li>
- </ul>
- </dd></dl>
- </div>
- <div class="section" id="pdf-options">
- <h2>PDF Options<a class="headerlink" href="#pdf-options" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_PDFPageSizes">
- <code class="sig-name descname">$cfg['PDFPageSizes']</code><a class="headerlink" href="#cfg_PDFPageSizes" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <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>
- </dd>
- </dl>
- <p>Array of possible paper sizes for creating PDF pages.</p>
- <p>You should never need to change this.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_PDFDefaultPageSize">
- <code class="sig-name descname">$cfg['PDFDefaultPageSize']</code><a class="headerlink" href="#cfg_PDFDefaultPageSize" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'A4'</span></code></p>
- </dd>
- </dl>
- <p>Default page size to use when creating PDF pages. Valid values are any
- 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>
- </dd></dl>
- </div>
- <div class="section" id="languages">
- <h2>Languages<a class="headerlink" href="#languages" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_DefaultLang">
- <code class="sig-name descname">$cfg['DefaultLang']</code><a class="headerlink" href="#cfg_DefaultLang" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'en'</span></code></p>
- </dd>
- </dl>
- <p>Defines the default language to use, if not browser-defined or user-
- defined. The corresponding language file needs to be in
- locale/<em>code</em>/LC_MESSAGES/phpmyadmin.mo.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DefaultConnectionCollation">
- <code class="sig-name descname">$cfg['DefaultConnectionCollation']</code><a class="headerlink" href="#cfg_DefaultConnectionCollation" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'utf8mb4_general_ci'</span></code></p>
- </dd>
- </dl>
- <p>Defines the default connection collation to use, if not user-defined.
- See the <a class="reference external" href="https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html">MySQL documentation for charsets</a>
- for list of possible values.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Lang">
- <code class="sig-name descname">$cfg['Lang']</code><a class="headerlink" href="#cfg_Lang" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>not set</p>
- </dd>
- </dl>
- <p>Force language to use. The corresponding language file needs to be in
- locale/<em>code</em>/LC_MESSAGES/phpmyadmin.mo.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_FilterLanguages">
- <code class="sig-name descname">$cfg['FilterLanguages']</code><a class="headerlink" href="#cfg_FilterLanguages" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Limit list of available languages to those matching the given regular
- expression. For example if you want only Czech and English, you should
- set filter to <code class="docutils literal notranslate"><span class="pre">'^(cs|en)'</span></code>.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_RecodingEngine">
- <code class="sig-name descname">$cfg['RecodingEngine']</code><a class="headerlink" href="#cfg_RecodingEngine" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'auto'</span></code></p>
- </dd>
- </dl>
- <p>You can select here which functions will be used for character set
- conversion. Possible values are:</p>
- <ul class="simple">
- <li><p>auto - automatically use available one (first is tested iconv, then
- recode)</p></li>
- <li><p>iconv - use iconv or libiconv functions</p></li>
- <li><p>recode - use recode_string function</p></li>
- <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>
- <li><p>none - disable encoding conversion</p></li>
- </ul>
- <p>Enabled charset conversion activates a pull-down menu in the Export
- and Import pages, to choose the character set when exporting a file.
- The default value in this menu comes from
- <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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_IconvExtraParams">
- <code class="sig-name descname">$cfg['IconvExtraParams']</code><a class="headerlink" href="#cfg_IconvExtraParams" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'//TRANSLIT'</span></code></p>
- </dd>
- </dl>
- <p>Specify some parameters for iconv used in charset conversion. See
- <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
- <code class="docutils literal notranslate"><span class="pre">//TRANSLIT</span></code> is used, so that invalid characters will be
- transliterated.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_AvailableCharsets">
- <code class="sig-name descname">$cfg['AvailableCharsets']</code><a class="headerlink" href="#cfg_AvailableCharsets" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>array(…)</p>
- </dd>
- </dl>
- <p>Available character sets for MySQL conversion. You can add your own
- (any of supported by recode/iconv) or remove these which you don’t
- use. Character sets will be shown in same order as here listed, so if
- you frequently use some of these move them to the top.</p>
- </dd></dl>
- </div>
- <div class="section" id="web-server-settings">
- <h2>Web server settings<a class="headerlink" href="#web-server-settings" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_OBGzip">
- <code class="sig-name descname">$cfg['OBGzip']</code><a class="headerlink" href="#cfg_OBGzip" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string/boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'auto'</span></code></p>
- </dd>
- </dl>
- <p>Defines whether to use GZip output buffering for increased speed in
- <a class="reference internal" href="glossary.html#term-HTTP"><span class="xref std std-term">HTTP</span></a> transfers. Set to
- true/false for enabling/disabling. When set to ‘auto’ (string),
- phpMyAdmin tries to enable output buffering and will automatically
- disable it if your browser has some problems with buffering. IE6 with
- a certain patch is known to cause data corruption when having enabled
- buffering.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_TrustedProxies">
- <code class="sig-name descname">$cfg['TrustedProxies']</code><a class="headerlink" href="#cfg_TrustedProxies" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>array()</p>
- </dd>
- </dl>
- <p>Lists proxies and HTTP headers which are trusted for
- <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
- default empty, you need to fill in some trusted proxy servers if you
- want to use rules for IP addresses behind proxy.</p>
- <p>The following example specifies that phpMyAdmin should trust a
- HTTP_X_FORWARDED_FOR (<code class="docutils literal notranslate"><span class="pre">X-Forwarded-For</span></code>) header coming from the proxy
- 1.2.3.4:</p>
- <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="nv">$cfg</span><span class="p">[</span><span class="s1">'TrustedProxies'</span><span class="p">]</span> <span class="o">=</span> <span class="k">array</span><span class="p">(</span><span class="s1">'1.2.3.4'</span> <span class="o">=></span> <span class="s1">'HTTP_X_FORWARDED_FOR'</span><span class="p">);</span>
- </pre></div>
- </div>
- <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
- client’s IP address as usual.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_GD2Available">
- <code class="sig-name descname">$cfg['GD2Available']</code><a class="headerlink" href="#cfg_GD2Available" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'auto'</span></code></p>
- </dd>
- </dl>
- <p>Specifies whether GD >= 2 is available. If yes it can be used for MIME
- transformations. Possible values are:</p>
- <ul class="simple">
- <li><p>auto - automatically detect</p></li>
- <li><p>yes - GD 2 functions can be used</p></li>
- <li><p>no - GD 2 function cannot be used</p></li>
- </ul>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_CheckConfigurationPermissions">
- <code class="sig-name descname">$cfg['CheckConfigurationPermissions']</code><a class="headerlink" href="#cfg_CheckConfigurationPermissions" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>We normally check the permissions on the configuration file to ensure
- it’s not world writable. However, phpMyAdmin could be installed on a
- NTFS filesystem mounted on a non-Windows server, in which case the
- permissions seems wrong but in fact cannot be detected. In this case a
- sysadmin would set this parameter to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_LinkLengthLimit">
- <code class="sig-name descname">$cfg['LinkLengthLimit']</code><a class="headerlink" href="#cfg_LinkLengthLimit" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>1000</p>
- </dd>
- </dl>
- <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
- limit, it is replaced by form with button. This is required as some web
- 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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_CSPAllow">
- <code class="sig-name descname">$cfg['CSPAllow']</code><a class="headerlink" href="#cfg_CSPAllow" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Additional string to include in allowed script and image sources in Content
- Security Policy header.</p>
- <p>This can be useful when you want to include some external JavaScript files
- 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
- would be normally not allowed by Content Security Policy.</p>
- <p>To allow some sites, just list them within the string:</p>
- <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="nv">$cfg</span><span class="p">[</span><span class="s1">'CSPAllow'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'example.com example.net'</span><span class="p">;</span>
- </pre></div>
- </div>
- <div class="versionadded">
- <p><span class="versionmodified added">New in version 4.0.4.</span></p>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DisableMultiTableMaintenance">
- <code class="sig-name descname">$cfg['DisableMultiTableMaintenance']</code><a class="headerlink" href="#cfg_DisableMultiTableMaintenance" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>In the database Structure page, it’s possible to mark some tables then
- choose an operation like optimizing for many tables. This can slow
- down a server; therefore, setting this to <code class="docutils literal notranslate"><span class="pre">true</span></code> prevents this kind
- of multiple maintenance operation.</p>
- </dd></dl>
- </div>
- <div class="section" id="theme-settings">
- <h2>Theme settings<a class="headerlink" href="#theme-settings" title="Permalink to this headline">¶</a></h2>
- <blockquote>
- <div><p>Please directly modify <code class="file docutils literal notranslate"><span class="pre">themes/themename/layout.inc.php</span></code>, although
- your changes will be overwritten with the next update.</p>
- </div></blockquote>
- </div>
- <div class="section" id="design-customization">
- <h2>Design customization<a class="headerlink" href="#design-customization" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_NavigationTreePointerEnable">
- <code class="sig-name descname">$cfg['NavigationTreePointerEnable']</code><a class="headerlink" href="#cfg_NavigationTreePointerEnable" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>When set to true, hovering over an item in the navigation panel causes that item to be marked
- (the background is highlighted).</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_BrowsePointerEnable">
- <code class="sig-name descname">$cfg['BrowsePointerEnable']</code><a class="headerlink" href="#cfg_BrowsePointerEnable" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>When set to true, hovering over a row in the Browse page causes that row to be marked (the background
- is highlighted).</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_BrowseMarkerEnable">
- <code class="sig-name descname">$cfg['BrowseMarkerEnable']</code><a class="headerlink" href="#cfg_BrowseMarkerEnable" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>When set to true, a data row is marked (the background is highlighted) when the row is selected
- with the checkbox.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_LimitChars">
- <code class="sig-name descname">$cfg['LimitChars']</code><a class="headerlink" href="#cfg_LimitChars" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>50</p>
- </dd>
- </dl>
- <p>Maximum number of characters shown in any non-numeric field on browse
- view. Can be turned off by a toggle button on the browse page.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_RowActionLinks">
- <code class="sig-name descname">$cfg['RowActionLinks']</code><a class="headerlink" href="#cfg_RowActionLinks" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'left'</span></code></p>
- </dd>
- </dl>
- <p>Defines the place where table row links (Edit, Copy, Delete) would be
- put when tables contents are displayed (you may have them displayed at
- the left side, right side, both sides or nowhere).</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_RowActionLinksWithoutUnique">
- <code class="sig-name descname">$cfg['RowActionLinksWithoutUnique']</code><a class="headerlink" href="#cfg_RowActionLinksWithoutUnique" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Defines whether to show row links (Edit, Copy, Delete) and checkboxes
- 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>.
- Using row actions in the absence of a unique key may result in different/more
- rows being affected since there is no guaranteed way to select the exact row(s).</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_RememberSorting">
- <code class="sig-name descname">$cfg['RememberSorting']</code><a class="headerlink" href="#cfg_RememberSorting" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>If enabled, remember the sorting of each table when browsing them.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_TablePrimaryKeyOrder">
- <code class="sig-name descname">$cfg['TablePrimaryKeyOrder']</code><a class="headerlink" href="#cfg_TablePrimaryKeyOrder" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'NONE'</span></code></p>
- </dd>
- </dl>
- <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>,
- when there is no sort order defines externally.
- Acceptable values : [‘NONE’, ‘ASC’, ‘DESC’]</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ShowBrowseComments">
- <code class="sig-name descname">$cfg['ShowBrowseComments']</code><a class="headerlink" href="#cfg_ShowBrowseComments" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ShowPropertyComments">
- <code class="sig-name descname">$cfg['ShowPropertyComments']</code><a class="headerlink" href="#cfg_ShowPropertyComments" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>By setting the corresponding variable to <code class="docutils literal notranslate"><span class="pre">true</span></code> you can enable the
- display of column comments in Browse or Property display. In browse
- mode, the comments are shown inside the header. In property mode,
- comments are displayed using a CSS-formatted dashed-line below the
- name of the column. The comment is shown as a tool-tip for that
- column.</p>
- </dd></dl>
- </div>
- <div class="section" id="text-fields">
- <h2>Text fields<a class="headerlink" href="#text-fields" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_CharEditing">
- <code class="sig-name descname">$cfg['CharEditing']</code><a class="headerlink" href="#cfg_CharEditing" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'input'</span></code></p>
- </dd>
- </dl>
- <p>Defines which type of editing controls should be used for CHAR and
- VARCHAR columns. Applies to data editing and also to the default values
- in structure editing. Possible values are:</p>
- <ul class="simple">
- <li><p>input - this allows to limit size of text to size of columns in MySQL,
- but has problems with newlines in columns</p></li>
- <li><p>textarea - no problems with newlines in columns, but also no length
- limitations</p></li>
- </ul>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_MinSizeForInputField">
- <code class="sig-name descname">$cfg['MinSizeForInputField']</code><a class="headerlink" href="#cfg_MinSizeForInputField" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>4</p>
- </dd>
- </dl>
- <p>Defines the minimum size for input fields generated for CHAR and
- VARCHAR columns.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_MaxSizeForInputField">
- <code class="sig-name descname">$cfg['MaxSizeForInputField']</code><a class="headerlink" href="#cfg_MaxSizeForInputField" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>60</p>
- </dd>
- </dl>
- <p>Defines the maximum size for input fields generated for CHAR and
- VARCHAR columns.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_TextareaCols">
- <code class="sig-name descname">$cfg['TextareaCols']</code><a class="headerlink" href="#cfg_TextareaCols" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>40</p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_TextareaRows">
- <code class="sig-name descname">$cfg['TextareaRows']</code><a class="headerlink" href="#cfg_TextareaRows" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>15</p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_CharTextareaCols">
- <code class="sig-name descname">$cfg['CharTextareaCols']</code><a class="headerlink" href="#cfg_CharTextareaCols" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>40</p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_CharTextareaRows">
- <code class="sig-name descname">$cfg['CharTextareaRows']</code><a class="headerlink" href="#cfg_CharTextareaRows" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>2</p>
- </dd>
- </dl>
- <p>Number of columns and rows for the textareas. This value will be
- emphasized (*2) for <a class="reference internal" href="glossary.html#term-SQL"><span class="xref std std-term">SQL</span></a> query
- textareas and (*1.25) for <a class="reference internal" href="glossary.html#term-SQL"><span class="xref std std-term">SQL</span></a>
- textareas inside the query window.</p>
- <p>The Char* values are used for CHAR
- 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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_LongtextDoubleTextarea">
- <code class="sig-name descname">$cfg['LongtextDoubleTextarea']</code><a class="headerlink" href="#cfg_LongtextDoubleTextarea" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Defines whether textarea for LONGTEXT columns should have double size.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_TextareaAutoSelect">
- <code class="sig-name descname">$cfg['TextareaAutoSelect']</code><a class="headerlink" href="#cfg_TextareaAutoSelect" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Defines if the whole textarea of the query box will be selected on
- click.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_EnableAutocompleteForTablesAndColumns">
- <code class="sig-name descname">$cfg['EnableAutocompleteForTablesAndColumns']</code><a class="headerlink" href="#cfg_EnableAutocompleteForTablesAndColumns" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Whether to enable autocomplete for table and column names in any
- SQL query box.</p>
- </dd></dl>
- </div>
- <div class="section" id="sql-query-box-settings">
- <h2>SQL query box settings<a class="headerlink" href="#sql-query-box-settings" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_SQLQuery_Edit">
- <code class="sig-name descname">$cfg['SQLQuery']['Edit']</code><a class="headerlink" href="#cfg_SQLQuery_Edit" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Whether to display an edit link to change a query in any SQL Query
- box.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_SQLQuery_Explain">
- <code class="sig-name descname">$cfg['SQLQuery']['Explain']</code><a class="headerlink" href="#cfg_SQLQuery_Explain" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Whether to display a link to explain a SELECT query in any SQL Query
- box.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_SQLQuery_ShowAsPHP">
- <code class="sig-name descname">$cfg['SQLQuery']['ShowAsPHP']</code><a class="headerlink" href="#cfg_SQLQuery_ShowAsPHP" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Whether to display a link to wrap a query in PHP code in any SQL Query
- box.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_SQLQuery_Refresh">
- <code class="sig-name descname">$cfg['SQLQuery']['Refresh']</code><a class="headerlink" href="#cfg_SQLQuery_Refresh" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Whether to display a link to refresh a query in any SQL Query box.</p>
- </dd></dl>
- </div>
- <div class="section" id="web-server-upload-save-import-directories">
- <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>
- <p>If PHP is running in safe mode, all directories must be owned by the same user
- as the owner of the phpMyAdmin scripts.</p>
- <p>If the directory where phpMyAdmin is installed is subject to an
- <code class="docutils literal notranslate"><span class="pre">open_basedir</span></code> restriction, you need to create a temporary directory in some
- directory accessible by the PHP interpreter.</p>
- <p>For security reasons, all directories should be outside the tree published by
- webserver. If you cannot avoid having this directory published by webserver,
- limit access to it either by web server configuration (for example using
- .htaccess or web.config files) or place at least an empty <code class="file docutils literal notranslate"><span class="pre">index.html</span></code>
- file there, so that directory listing is not possible. However as long as the
- directory is accessible by web server, an attacker can guess filenames to download
- the files.</p>
- <dl class="config option">
- <dt id="cfg_UploadDir">
- <code class="sig-name descname">$cfg['UploadDir']</code><a class="headerlink" href="#cfg_UploadDir" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <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
- other means than phpMyAdmin (for example, ftp). Those files are available
- under a drop-down box when you click the database or table name, then the
- Import tab.</p>
- <p>If
- you want different directory for each user, %u will be replaced with
- username.</p>
- <p>Please note that the file names must have the suffix “.sql”
- (or “.sql.bz2” or “.sql.gz” if support for compressed formats is
- enabled).</p>
- <p>This feature is useful when your file is too big to be
- uploaded via <a class="reference internal" href="glossary.html#term-HTTP"><span class="xref std std-term">HTTP</span></a>, or when file
- uploads are disabled in PHP.</p>
- <div class="admonition warning">
- <p class="admonition-title">Warning</p>
- <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
- to setup this directory and how to make its usage secure.</p>
- </div>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <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>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_SaveDir">
- <code class="sig-name descname">$cfg['SaveDir']</code><a class="headerlink" href="#cfg_SaveDir" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>The name of the webserver directory where exported files can be saved.</p>
- <p>If you want a different directory for each user, %u will be replaced with the
- username.</p>
- <p>Please note that the directory must exist and has to be writable for
- the user running webserver.</p>
- <div class="admonition warning">
- <p class="admonition-title">Warning</p>
- <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
- to setup this directory and how to make its usage secure.</p>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_TempDir">
- <code class="sig-name descname">$cfg['TempDir']</code><a class="headerlink" href="#cfg_TempDir" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'./tmp/'</span></code></p>
- </dd>
- </dl>
- <p>The name of the directory where temporary files can be stored. It is used
- for several purposes, currently:</p>
- <ul class="simple">
- <li><p>The templates cache which speeds up page loading.</p></li>
- <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>
- <li><p>To work around limitations of <code class="docutils literal notranslate"><span class="pre">open_basedir</span></code> for uploaded files, see
- <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>
- </ul>
- <p>This directory should have as strict permissions as possible as the only
- user required to access this directory is the one who runs the webserver.
- If you have root privileges, simply make this user owner of this directory
- and make it accessible only by it:</p>
- <div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>chown www-data:www-data tmp
- chmod <span class="m">700</span> tmp
- </pre></div>
- </div>
- <p>If you cannot change owner of the directory, you can achieve a similar
- setup using <a class="reference internal" href="glossary.html#term-ACL"><span class="xref std std-term">ACL</span></a>:</p>
- <div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>chmod <span class="m">700</span> tmp
- setfacl -m <span class="s2">"g:www-data:rwx"</span> tmp
- setfacl -d -m <span class="s2">"g:www-data:rwx"</span> tmp
- </pre></div>
- </div>
- <p>If neither of above works for you, you can still make the directory
- <strong class="command">chmod 777</strong>, but it might impose risk of other users on system
- reading and writing data in this directory.</p>
- <div class="admonition warning">
- <p class="admonition-title">Warning</p>
- <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
- to setup this directory and how to make its usage secure.</p>
- </div>
- </dd></dl>
- </div>
- <div class="section" id="various-display-setting">
- <h2>Various display setting<a class="headerlink" href="#various-display-setting" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_RepeatCells">
- <code class="sig-name descname">$cfg['RepeatCells']</code><a class="headerlink" href="#cfg_RepeatCells" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>100</p>
- </dd>
- </dl>
- <p>Repeat the headers every X cells, or 0 to deactivate.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_QueryHistoryDB">
- <code class="sig-name descname">$cfg['QueryHistoryDB']</code><a class="headerlink" href="#cfg_QueryHistoryDB" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_QueryHistoryMax">
- <code class="sig-name descname">$cfg['QueryHistoryMax']</code><a class="headerlink" href="#cfg_QueryHistoryMax" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>25</p>
- </dd>
- </dl>
- <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
- Queries are logged to a table, which has to be created by you (see
- <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
- queries will be appended to the form, but only as long as your window is
- opened they remain saved.</p>
- <p>When using the JavaScript based query window, it will always get updated
- when you click on a new table/db to browse and will focus if you click on
- <span class="guilabel">Edit SQL</span> after using a query. You can suppress updating the
- query window by checking the box <span class="guilabel">Do not overwrite this query
- from outside the window</span> below the query textarea. Then you can browse
- tables/databases in the background without losing the contents of the
- textarea, so this is especially useful when composing a query with tables
- you first have to look in. The checkbox will get automatically checked
- whenever you change the contents of the textarea. Please uncheck the button
- whenever you definitely want the query window to get updated even though
- you have made alterations.</p>
- <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
- specify the amount of saved history items using
- <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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_BrowseMIME">
- <code class="sig-name descname">$cfg['BrowseMIME']</code><a class="headerlink" href="#cfg_BrowseMIME" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Enable <a class="reference internal" href="transformations.html#transformations"><span class="std std-ref">Transformations</span></a>.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_MaxExactCount">
- <code class="sig-name descname">$cfg['MaxExactCount']</code><a class="headerlink" href="#cfg_MaxExactCount" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>50000</p>
- </dd>
- </dl>
- <p>For InnoDB tables, determines for how large tables phpMyAdmin should
- 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
- 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,
- <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
- used.</p>
- <div class="versionchanged">
- <p><span class="versionmodified changed">Changed in version 4.8.0: </span>The default value was lowered to 50000 for performance reasons.</p>
- </div>
- <div class="versionchanged">
- <p><span class="versionmodified changed">Changed in version 4.2.6: </span>The default value was changed to 500000.</p>
- </div>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <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>
- </div>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_MaxExactCountViews">
- <code class="sig-name descname">$cfg['MaxExactCountViews']</code><a class="headerlink" href="#cfg_MaxExactCountViews" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>0</p>
- </dd>
- </dl>
- <p>For VIEWs, since obtaining the exact count could have an impact on
- performance, this value is the maximum to be displayed, using a
- <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
- counting.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_NaturalOrder">
- <code class="sig-name descname">$cfg['NaturalOrder']</code><a class="headerlink" href="#cfg_NaturalOrder" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Sorts database and table names according to natural order (for
- example, t1, t2, t10). Currently implemented in the navigation panel
- and in Database view, for the table list.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_InitialSlidersState">
- <code class="sig-name descname">$cfg['InitialSlidersState']</code><a class="headerlink" href="#cfg_InitialSlidersState" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'closed'</span></code></p>
- </dd>
- </dl>
- <p>If set to <code class="docutils literal notranslate"><span class="pre">'closed'</span></code>, the visual sliders are initially in a closed
- state. A value of <code class="docutils literal notranslate"><span class="pre">'open'</span></code> does the reverse. To completely disable
- all visual sliders, use <code class="docutils literal notranslate"><span class="pre">'disabled'</span></code>.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_UserprefsDisallow">
- <code class="sig-name descname">$cfg['UserprefsDisallow']</code><a class="headerlink" href="#cfg_UserprefsDisallow" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>array()</p>
- </dd>
- </dl>
- <p>Contains names of configuration options (keys in <code class="docutils literal notranslate"><span class="pre">$cfg</span></code> array) that
- users can’t set through user preferences. For possible values, refer
- to clases under <code class="file docutils literal notranslate"><span class="pre">libraries/classes/Config/Forms/User/</span></code>.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_UserprefsDeveloperTab">
- <code class="sig-name descname">$cfg['UserprefsDeveloperTab']</code><a class="headerlink" href="#cfg_UserprefsDeveloperTab" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Activates in the user preferences a tab containing options for
- developers of phpMyAdmin.</p>
- </dd></dl>
- </div>
- <div class="section" id="page-titles">
- <h2>Page titles<a class="headerlink" href="#page-titles" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_TitleTable">
- <code class="sig-name descname">$cfg['TitleTable']</code><a class="headerlink" href="#cfg_TitleTable" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'@HTTP_HOST@</span> <span class="pre">/</span> <span class="pre">@VSERVER@</span> <span class="pre">/</span> <span class="pre">@DATABASE@</span> <span class="pre">/</span> <span class="pre">@TABLE@</span> <span class="pre">|</span> <span class="pre">@PHPMYADMIN@'</span></code></p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_TitleDatabase">
- <code class="sig-name descname">$cfg['TitleDatabase']</code><a class="headerlink" href="#cfg_TitleDatabase" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'@HTTP_HOST@</span> <span class="pre">/</span> <span class="pre">@VSERVER@</span> <span class="pre">/</span> <span class="pre">@DATABASE@</span> <span class="pre">|</span> <span class="pre">@PHPMYADMIN@'</span></code></p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_TitleServer">
- <code class="sig-name descname">$cfg['TitleServer']</code><a class="headerlink" href="#cfg_TitleServer" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'@HTTP_HOST@</span> <span class="pre">/</span> <span class="pre">@VSERVER@</span> <span class="pre">|</span> <span class="pre">@PHPMYADMIN@'</span></code></p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_TitleDefault">
- <code class="sig-name descname">$cfg['TitleDefault']</code><a class="headerlink" href="#cfg_TitleDefault" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'@HTTP_HOST@</span> <span class="pre">|</span> <span class="pre">@PHPMYADMIN@'</span></code></p>
- </dd>
- </dl>
- <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>
- </dd></dl>
- </div>
- <div class="section" id="theme-manager-settings">
- <h2>Theme manager settings<a class="headerlink" href="#theme-manager-settings" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_ThemeManager">
- <code class="sig-name descname">$cfg['ThemeManager']</code><a class="headerlink" href="#cfg_ThemeManager" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ThemeDefault">
- <code class="sig-name descname">$cfg['ThemeDefault']</code><a class="headerlink" href="#cfg_ThemeDefault" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">'pmahomme'</span></code></p>
- </dd>
- </dl>
- <p>The default theme (a subdirectory under <code class="file docutils literal notranslate"><span class="pre">./themes/</span></code>).</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_ThemePerServer">
- <code class="sig-name descname">$cfg['ThemePerServer']</code><a class="headerlink" href="#cfg_ThemePerServer" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Whether to allow different theme for each server.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_FontSize">
- <code class="sig-name descname">$cfg['FontSize']</code><a class="headerlink" href="#cfg_FontSize" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>‘82%’</p>
- </dd>
- </dl>
- <p>Font size to use, is applied in CSS.</p>
- </dd></dl>
- </div>
- <div class="section" id="default-queries">
- <h2>Default queries<a class="headerlink" href="#default-queries" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_DefaultQueryTable">
- <code class="sig-name descname">$cfg['DefaultQueryTable']</code><a class="headerlink" href="#cfg_DefaultQueryTable" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <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">@TABLE@</span> <span class="pre">WHERE</span> <span class="pre">1'</span></code></p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DefaultQueryDatabase">
- <code class="sig-name descname">$cfg['DefaultQueryDatabase']</code><a class="headerlink" href="#cfg_DefaultQueryDatabase" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">''</span></code></p>
- </dd>
- </dl>
- <p>Default queries that will be displayed in query boxes when user didn’t
- 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>
- </dd></dl>
- </div>
- <div class="section" id="mysql-settings">
- <h2>MySQL settings<a class="headerlink" href="#mysql-settings" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_DefaultFunctions">
- <code class="sig-name descname">$cfg['DefaultFunctions']</code><a class="headerlink" href="#cfg_DefaultFunctions" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>array(…)</p>
- </dd>
- </dl>
- <p>Functions selected by default when inserting/changing row, Functions
- are defined for meta types as (FUNC_NUMBER, FUNC_DATE, FUNC_CHAR,
- FUNC_SPATIAL, FUNC_UUID) and for <code class="docutils literal notranslate"><span class="pre">first_timestamp</span></code>, which is used
- for first timestamp column in table.</p>
- </dd></dl>
- </div>
- <div class="section" id="default-options-for-transformations">
- <h2>Default options for Transformations<a class="headerlink" href="#default-options-for-transformations" title="Permalink to this headline">¶</a></h2>
- <dl class="config option">
- <dt id="cfg_DefaultTransformations">
- <code class="sig-name descname">$cfg['DefaultTransformations']</code><a class="headerlink" href="#cfg_DefaultTransformations" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>An array with below listed key-values</p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DefaultTransformations_Substring">
- <code class="sig-name descname">$cfg['DefaultTransformations']['Substring']</code><a class="headerlink" href="#cfg_DefaultTransformations_Substring" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>array(0, ‘all’, ‘…’)</p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DefaultTransformations_Bool2Text">
- <code class="sig-name descname">$cfg['DefaultTransformations']['Bool2Text']</code><a class="headerlink" href="#cfg_DefaultTransformations_Bool2Text" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>array(‘T’, ‘F’)</p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DefaultTransformations_External">
- <code class="sig-name descname">$cfg['DefaultTransformations']['External']</code><a class="headerlink" href="#cfg_DefaultTransformations_External" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>array(0, ‘-f /dev/null -i -wrap -q’, 1, 1)</p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DefaultTransformations_PreApPend">
- <code class="sig-name descname">$cfg['DefaultTransformations']['PreApPend']</code><a class="headerlink" href="#cfg_DefaultTransformations_PreApPend" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>array(‘’, ‘’)</p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DefaultTransformations_Hex">
- <code class="sig-name descname">$cfg['DefaultTransformations']['Hex']</code><a class="headerlink" href="#cfg_DefaultTransformations_Hex" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>array(‘2’)</p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DefaultTransformations_DateFormat">
- <code class="sig-name descname">$cfg['DefaultTransformations']['DateFormat']</code><a class="headerlink" href="#cfg_DefaultTransformations_DateFormat" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>array(0, ‘’, ‘local’)</p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DefaultTransformations_Inline">
- <code class="sig-name descname">$cfg['DefaultTransformations']['Inline']</code><a class="headerlink" href="#cfg_DefaultTransformations_Inline" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>array(‘100’, 100)</p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DefaultTransformations_TextImageLink">
- <code class="sig-name descname">$cfg['DefaultTransformations']['TextImageLink']</code><a class="headerlink" href="#cfg_DefaultTransformations_TextImageLink" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>array(‘’, 100, 50)</p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DefaultTransformations_TextLink">
- <code class="sig-name descname">$cfg['DefaultTransformations']['TextLink']</code><a class="headerlink" href="#cfg_DefaultTransformations_TextLink" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>array(‘’, ‘’, ‘’)</p>
- </dd>
- </dl>
- </dd></dl>
- </div>
- <div class="section" id="console-settings">
- <h2>Console settings<a class="headerlink" href="#console-settings" title="Permalink to this headline">¶</a></h2>
- <div class="admonition note">
- <p class="admonition-title">Note</p>
- <p>These settings are mostly meant to be changed by user.</p>
- </div>
- <dl class="config option">
- <dt id="cfg_Console_StartHistory">
- <code class="sig-name descname">$cfg['Console']['StartHistory']</code><a class="headerlink" href="#cfg_Console_StartHistory" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Show query history at start</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Console_AlwaysExpand">
- <code class="sig-name descname">$cfg['Console']['AlwaysExpand']</code><a class="headerlink" href="#cfg_Console_AlwaysExpand" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Always expand query messages</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Console_CurrentQuery">
- <code class="sig-name descname">$cfg['Console']['CurrentQuery']</code><a class="headerlink" href="#cfg_Console_CurrentQuery" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>true</p>
- </dd>
- </dl>
- <p>Show current browsing query</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Console_EnterExecutes">
- <code class="sig-name descname">$cfg['Console']['EnterExecutes']</code><a class="headerlink" href="#cfg_Console_EnterExecutes" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Execute queries on Enter and insert new line with Shift + Enter</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Console_DarkTheme">
- <code class="sig-name descname">$cfg['Console']['DarkTheme']</code><a class="headerlink" href="#cfg_Console_DarkTheme" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Switch to dark theme</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Console_Mode">
- <code class="sig-name descname">$cfg['Console']['Mode']</code><a class="headerlink" href="#cfg_Console_Mode" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>string</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>‘info’</p>
- </dd>
- </dl>
- <p>Console mode</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_Console_Height">
- <code class="sig-name descname">$cfg['Console']['Height']</code><a class="headerlink" href="#cfg_Console_Height" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>integer</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>92</p>
- </dd>
- </dl>
- <p>Console height</p>
- </dd></dl>
- </div>
- <div class="section" id="developer">
- <h2>Developer<a class="headerlink" href="#developer" title="Permalink to this headline">¶</a></h2>
- <div class="admonition warning">
- <p class="admonition-title">Warning</p>
- <p>These settings might have huge effect on performance or security.</p>
- </div>
- <dl class="config option">
- <dt id="cfg_DBG">
- <code class="sig-name descname">$cfg['DBG']</code><a class="headerlink" href="#cfg_DBG" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>array</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>array(…)</p>
- </dd>
- </dl>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DBG_sql">
- <code class="sig-name descname">$cfg['DBG']['sql']</code><a class="headerlink" href="#cfg_DBG_sql" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Enable logging queries and execution times to be
- displayed in the console’s Debug SQL tab.</p>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DBG_sqllog">
- <code class="sig-name descname">$cfg['DBG']['sqllog']</code><a class="headerlink" href="#cfg_DBG_sqllog" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Enable logging of queries and execution times to the syslog.
- 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>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DBG_demo">
- <code class="sig-name descname">$cfg['DBG']['demo']</code><a class="headerlink" href="#cfg_DBG_demo" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <p>Enable to let server present itself as demo server.
- This is used for <a class="reference external" href="https://www.phpmyadmin.net/try/">phpMyAdmin demo server</a>.</p>
- <p>It currently changes following behavior:</p>
- <ul class="simple">
- <li><p>There is welcome message on the main page.</p></li>
- <li><p>There is footer information about demo server and used git revision.</p></li>
- <li><p>The setup script is enabled even with existing configuration.</p></li>
- <li><p>The setup does not try to connect to the MySQL server.</p></li>
- </ul>
- </dd></dl>
- <dl class="config option">
- <dt id="cfg_DBG_simple2fa">
- <code class="sig-name descname">$cfg['DBG']['simple2fa']</code><a class="headerlink" href="#cfg_DBG_simple2fa" title="Permalink to this definition">¶</a></dt>
- <dd><dl class="field-list simple">
- <dt class="field-odd">Type</dt>
- <dd class="field-odd"><p>boolean</p>
- </dd>
- <dt class="field-even">Default value</dt>
- <dd class="field-even"><p>false</p>
- </dd>
- </dl>
- <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>
- </dd></dl>
- </div>
- <div class="section" id="examples">
- <span id="config-examples"></span><h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h2>
- <p>See following configuration snippets for typical setups of phpMyAdmin.</p>
- <div class="section" id="basic-example">
- <h3>Basic example<a class="headerlink" href="#basic-example" title="Permalink to this headline">¶</a></h3>
- <p>Example configuration file, which can be copied to <code class="file docutils literal notranslate"><span class="pre">config.inc.php</span></code> to
- get some core configuration layout; it is distributed with phpMyAdmin as
- <code class="file docutils literal notranslate"><span class="pre">config.sample.inc.php</span></code>. Please note that it does not contain all
- configuration options, only the most frequently used ones.</p>
- <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="o"><?</span><span class="nx">php</span>
- <span class="cm">/* vim: set expandtab sw=4 ts=4 sts=4: */</span>
- <span class="sd">/**</span>
- <span class="sd"> * phpMyAdmin sample configuration, you can use it as base for</span>
- <span class="sd"> * manual configuration. For easier setup you can use setup/</span>
- <span class="sd"> *</span>
- <span class="sd"> * All directives are explained in documentation in the doc/ folder</span>
- <span class="sd"> * or at <https://docs.phpmyadmin.net/>.</span>
- <span class="sd"> *</span>
- <span class="sd"> * @package PhpMyAdmin</span>
- <span class="sd"> */</span>
- <span class="sd">/**</span>
- <span class="sd"> * This is needed for cookie based authentication to encrypt password in</span>
- <span class="sd"> * cookie. Needs to be 32 chars long.</span>
- <span class="sd"> */</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'blowfish_secret'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">''</span><span class="p">;</span> <span class="cm">/* YOU MUST FILL IN THIS FOR COOKIE AUTH! */</span>
- <span class="sd">/**</span>
- <span class="sd"> * Servers configuration</span>
- <span class="sd"> */</span>
- <span class="nv">$i</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span>
- <span class="sd">/**</span>
- <span class="sd"> * First server</span>
- <span class="sd"> */</span>
- <span class="nv">$i</span><span class="o">++</span><span class="p">;</span>
- <span class="cm">/* Authentication type */</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'auth_type'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'cookie'</span><span class="p">;</span>
- <span class="cm">/* Server parameters */</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'host'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'localhost'</span><span class="p">;</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'compress'</span><span class="p">]</span> <span class="o">=</span> <span class="k">false</span><span class="p">;</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'AllowNoPassword'</span><span class="p">]</span> <span class="o">=</span> <span class="k">false</span><span class="p">;</span>
- <span class="sd">/**</span>
- <span class="sd"> * phpMyAdmin configuration storage settings.</span>
- <span class="sd"> */</span>
- <span class="cm">/* User used to manipulate with storage */</span>
- <span class="c1">// $cfg['Servers'][$i]['controlhost'] = '';</span>
- <span class="c1">// $cfg['Servers'][$i]['controlport'] = '';</span>
- <span class="c1">// $cfg['Servers'][$i]['controluser'] = 'pma';</span>
- <span class="c1">// $cfg['Servers'][$i]['controlpass'] = 'pmapass';</span>
- <span class="cm">/* Storage database and tables */</span>
- <span class="c1">// $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';</span>
- <span class="c1">// $cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';</span>
- <span class="c1">// $cfg['Servers'][$i]['relation'] = 'pma__relation';</span>
- <span class="c1">// $cfg['Servers'][$i]['table_info'] = 'pma__table_info';</span>
- <span class="c1">// $cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';</span>
- <span class="c1">// $cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';</span>
- <span class="c1">// $cfg['Servers'][$i]['column_info'] = 'pma__column_info';</span>
- <span class="c1">// $cfg['Servers'][$i]['history'] = 'pma__history';</span>
- <span class="c1">// $cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';</span>
- <span class="c1">// $cfg['Servers'][$i]['tracking'] = 'pma__tracking';</span>
- <span class="c1">// $cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';</span>
- <span class="c1">// $cfg['Servers'][$i]['recent'] = 'pma__recent';</span>
- <span class="c1">// $cfg['Servers'][$i]['favorite'] = 'pma__favorite';</span>
- <span class="c1">// $cfg['Servers'][$i]['users'] = 'pma__users';</span>
- <span class="c1">// $cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';</span>
- <span class="c1">// $cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';</span>
- <span class="c1">// $cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';</span>
- <span class="c1">// $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';</span>
- <span class="c1">// $cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';</span>
- <span class="c1">// $cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';</span>
- <span class="sd">/**</span>
- <span class="sd"> * End of servers configuration</span>
- <span class="sd"> */</span>
- <span class="sd">/**</span>
- <span class="sd"> * Directories for saving/loading files from server</span>
- <span class="sd"> */</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'UploadDir'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">''</span><span class="p">;</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'SaveDir'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">''</span><span class="p">;</span>
- <span class="sd">/**</span>
- <span class="sd"> * Whether to display icons or text or both icons and text in table row</span>
- <span class="sd"> * action segment. Value can be either of 'icons', 'text' or 'both'.</span>
- <span class="sd"> * default = 'both'</span>
- <span class="sd"> */</span>
- <span class="c1">//$cfg['RowActionType'] = 'icons';</span>
- <span class="sd">/**</span>
- <span class="sd"> * Defines whether a user should be displayed a "show all (records)"</span>
- <span class="sd"> * button in browse mode or not.</span>
- <span class="sd"> * default = false</span>
- <span class="sd"> */</span>
- <span class="c1">//$cfg['ShowAll'] = true;</span>
- <span class="sd">/**</span>
- <span class="sd"> * Number of rows displayed when browsing a result set. If the result</span>
- <span class="sd"> * set contains more rows, "Previous" and "Next".</span>
- <span class="sd"> * Possible values: 25, 50, 100, 250, 500</span>
- <span class="sd"> * default = 25</span>
- <span class="sd"> */</span>
- <span class="c1">//$cfg['MaxRows'] = 50;</span>
- <span class="sd">/**</span>
- <span class="sd"> * Disallow editing of binary fields</span>
- <span class="sd"> * valid values are:</span>
- <span class="sd"> * false allow editing</span>
- <span class="sd"> * 'blob' allow editing except for BLOB fields</span>
- <span class="sd"> * 'noblob' disallow editing except for BLOB fields</span>
- <span class="sd"> * 'all' disallow editing</span>
- <span class="sd"> * default = 'blob'</span>
- <span class="sd"> */</span>
- <span class="c1">//$cfg['ProtectBinary'] = false;</span>
- <span class="sd">/**</span>
- <span class="sd"> * Default language to use, if not browser-defined or user-defined</span>
- <span class="sd"> * (you find all languages in the locale folder)</span>
- <span class="sd"> * uncomment the desired line:</span>
- <span class="sd"> * default = 'en'</span>
- <span class="sd"> */</span>
- <span class="c1">//$cfg['DefaultLang'] = 'en';</span>
- <span class="c1">//$cfg['DefaultLang'] = 'de';</span>
- <span class="sd">/**</span>
- <span class="sd"> * How many columns should be used for table display of a database?</span>
- <span class="sd"> * (a value larger than 1 results in some information being hidden)</span>
- <span class="sd"> * default = 1</span>
- <span class="sd"> */</span>
- <span class="c1">//$cfg['PropertiesNumColumns'] = 2;</span>
- <span class="sd">/**</span>
- <span class="sd"> * Set to true if you want DB-based query history.If false, this utilizes</span>
- <span class="sd"> * JS-routines to display query history (lost by window close)</span>
- <span class="sd"> *</span>
- <span class="sd"> * This requires configuration storage enabled, see above.</span>
- <span class="sd"> * default = false</span>
- <span class="sd"> */</span>
- <span class="c1">//$cfg['QueryHistoryDB'] = true;</span>
- <span class="sd">/**</span>
- <span class="sd"> * When using DB-based query history, how many entries should be kept?</span>
- <span class="sd"> * default = 25</span>
- <span class="sd"> */</span>
- <span class="c1">//$cfg['QueryHistoryMax'] = 100;</span>
- <span class="sd">/**</span>
- <span class="sd"> * Whether or not to query the user before sending the error report to</span>
- <span class="sd"> * the phpMyAdmin team when a JavaScript error occurs</span>
- <span class="sd"> *</span>
- <span class="sd"> * Available options</span>
- <span class="sd"> * ('ask' | 'always' | 'never')</span>
- <span class="sd"> * default = 'ask'</span>
- <span class="sd"> */</span>
- <span class="c1">//$cfg['SendErrorReports'] = 'always';</span>
- <span class="sd">/**</span>
- <span class="sd"> * 'URLQueryEncryption' defines whether phpMyAdmin will encrypt sensitive data from the URL query string.</span>
- <span class="sd"> * 'URLQueryEncryptionSecretKey' is a 32 bytes long secret key used to encrypt/decrypt the URL query string.</span>
- <span class="sd"> */</span>
- <span class="c1">//$cfg['URLQueryEncryption'] = true;</span>
- <span class="c1">//$cfg['URLQueryEncryptionSecretKey'] = '';</span>
- <span class="sd">/**</span>
- <span class="sd"> * You can find more configuration options in the documentation</span>
- <span class="sd"> * in the doc/ folder or at <https://docs.phpmyadmin.net/>.</span>
- <span class="sd"> */</span>
- </pre></div>
- </div>
- <div class="admonition warning">
- <p class="admonition-title">Warning</p>
- <p>Don’t use the controluser ‘pma’ if it does not yet exist and don’t use ‘pmapass’
- as password.</p>
- </div>
- </div>
- <div class="section" id="example-for-signon-authentication">
- <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>
- <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>
- <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="o"><?</span><span class="nx">php</span>
- <span class="nv">$i</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span>
- <span class="nv">$i</span><span class="o">++</span><span class="p">;</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'extension'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'mysqli'</span><span class="p">;</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'auth_type'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'signon'</span><span class="p">;</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'SignonSession'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'SignonSession'</span><span class="p">;</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'SignonURL'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'examples/signon.php'</span><span class="p">;</span>
- <span class="cp">?></span><span class="x">`</span>
- </pre></div>
- </div>
- </div>
- <div class="section" id="example-for-ip-address-limited-autologin">
- <h3>Example for IP address limited autologin<a class="headerlink" href="#example-for-ip-address-limited-autologin" title="Permalink to this headline">¶</a></h3>
- <p>If you want to automatically login when accessing phpMyAdmin locally while asking
- for a password when accessing remotely, you can achieve it using following snippet:</p>
- <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">"REMOTE_ADDR"</span><span class="p">]</span> <span class="o">==</span> <span class="s2">"127.0.0.1"</span><span class="p">)</span> <span class="p">{</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'auth_type'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'config'</span><span class="p">;</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'user'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'root'</span><span class="p">;</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'password'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'yourpassword'</span><span class="p">;</span>
- <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'auth_type'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'cookie'</span><span class="p">;</span>
- <span class="p">}</span>
- </pre></div>
- </div>
- <div class="admonition note">
- <p class="admonition-title">Note</p>
- <p>Filtering based on IP addresses isn’t reliable over the internet, use it
- only for local address.</p>
- </div>
- </div>
- <div class="section" id="example-for-using-multiple-mysql-servers">
- <h3>Example for using multiple MySQL servers<a class="headerlink" href="#example-for-using-multiple-mysql-servers" title="Permalink to this headline">¶</a></h3>
- <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>,
- following example shows two of them:</p>
- <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="o"><?</span><span class="nx">php</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'blowfish_secret'</span><span class="p">]</span><span class="o">=</span><span class="s1">'multiServerExample70518'</span><span class="p">;</span>
- <span class="c1">//any string of your choice</span>
- <span class="nv">$i</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span>
- <span class="nv">$i</span><span class="o">++</span><span class="p">;</span> <span class="c1">// server 1 :</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'auth_type'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'cookie'</span><span class="p">;</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'verbose'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'no1'</span><span class="p">;</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'host'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'localhost'</span><span class="p">;</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'extension'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'mysqli'</span><span class="p">;</span>
- <span class="c1">// more options for #1 ...</span>
- <span class="nv">$i</span><span class="o">++</span><span class="p">;</span> <span class="c1">// server 2 :</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'auth_type'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'cookie'</span><span class="p">;</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'verbose'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'no2'</span><span class="p">;</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'host'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'remote.host.addr'</span><span class="p">;</span><span class="c1">//or ip:'10.9.8.1'</span>
- <span class="c1">// this server must allow remote clients, e.g., host 10.9.8.%</span>
- <span class="c1">// not only in mysql.host but also in the startup configuration</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'extension'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'mysqli'</span><span class="p">;</span>
- <span class="c1">// more options for #2 ...</span>
- <span class="c1">// end of server sections</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'ServerDefault'</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>
- <span class="c1">// further general options ...</span>
- <span class="cp">?></span><span class="x"></span>
- </pre></div>
- </div>
- </div>
- <div class="section" id="google-cloud-sql-with-ssl">
- <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>
- <p>To connect to Google Could SQL, you currently need to disable certificate
- verification. This is caused by the certficate being issued for CN matching
- your instance name, but you connect to an IP address and PHP tries to match
- these two. With verfication you end up with error message like:</p>
- <div class="highlight-text notranslate"><div class="highlight"><pre><span></span>Peer certificate CN=`api-project-851612429544:pmatest' did not match expected CN=`8.8.8.8'
- </pre></div>
- </div>
- <div class="admonition warning">
- <p class="admonition-title">Warning</p>
- <p>With disabled verification your traffic is encrypted, but you’re open to
- man in the middle attacks.</p>
- </div>
- <p>To connect phpMyAdmin to Google Cloud SQL using SSL download the client and
- server certificates and tell phpMyAdmin to use them:</p>
- <div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="c1">// IP address of your instance</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'host'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'8.8.8.8'</span><span class="p">;</span>
- <span class="c1">// Use SSL for connection</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'ssl'</span><span class="p">]</span> <span class="o">=</span> <span class="k">true</span><span class="p">;</span>
- <span class="c1">// Client secret key</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'ssl_key'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'../client-key.pem'</span><span class="p">;</span>
- <span class="c1">// Client certificate</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'ssl_cert'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'../client-cert.pem'</span><span class="p">;</span>
- <span class="c1">// Server certification authority</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'ssl_ca'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'../server-ca.pem'</span><span class="p">;</span>
- <span class="c1">// Disable SSL verification (see above note)</span>
- <span class="nv">$cfg</span><span class="p">[</span><span class="s1">'Servers'</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">'ssl_verify'</span><span class="p">]</span> <span class="o">=</span> <span class="k">false</span><span class="p">;</span>
- </pre></div>
- </div>
- <div class="admonition seealso">
- <p class="admonition-title">See also</p>
- <p><a class="reference internal" href="setup.html#ssl"><span class="std std-ref">Using SSL for connection to database server</span></a>,
- <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>,
- <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>,
- <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>,
- <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>,
- <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>,
- <<a class="reference external" href="https://bugs.php.net/bug.php?id=72048">https://bugs.php.net/bug.php?id=72048</a>></p>
- </div>
- </div>
- </div>
- </div>
- <div class="clearer"></div>
- </div>
- </div>
- </div>
- <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
- <div class="sphinxsidebarwrapper">
- <h3><a href="index.html">Table of Contents</a></h3>
- <ul>
- <li><a class="reference internal" href="#">Configuration</a><ul>
- <li><a class="reference internal" href="#basic-settings">Basic settings</a></li>
- <li><a class="reference internal" href="#server-connection-settings">Server connection settings</a></li>
- <li><a class="reference internal" href="#generic-settings">Generic settings</a></li>
- <li><a class="reference internal" href="#cookie-authentication-options">Cookie authentication options</a></li>
- <li><a class="reference internal" href="#navigation-panel-setup">Navigation panel setup</a></li>
- <li><a class="reference internal" href="#main-panel">Main panel</a></li>
- <li><a class="reference internal" href="#database-structure">Database structure</a></li>
- <li><a class="reference internal" href="#browse-mode">Browse mode</a></li>
- <li><a class="reference internal" href="#editing-mode">Editing mode</a></li>
- <li><a class="reference internal" href="#export-and-import-settings">Export and import settings</a></li>
- <li><a class="reference internal" href="#tabs-display-settings">Tabs display settings</a></li>
- <li><a class="reference internal" href="#pdf-options">PDF Options</a></li>
- <li><a class="reference internal" href="#languages">Languages</a></li>
- <li><a class="reference internal" href="#web-server-settings">Web server settings</a></li>
- <li><a class="reference internal" href="#theme-settings">Theme settings</a></li>
- <li><a class="reference internal" href="#design-customization">Design customization</a></li>
- <li><a class="reference internal" href="#text-fields">Text fields</a></li>
- <li><a class="reference internal" href="#sql-query-box-settings">SQL query box settings</a></li>
- <li><a class="reference internal" href="#web-server-upload-save-import-directories">Web server upload/save/import directories</a></li>
- <li><a class="reference internal" href="#various-display-setting">Various display setting</a></li>
- <li><a class="reference internal" href="#page-titles">Page titles</a></li>
- <li><a class="reference internal" href="#theme-manager-settings">Theme manager settings</a></li>
- <li><a class="reference internal" href="#default-queries">Default queries</a></li>
- <li><a class="reference internal" href="#mysql-settings">MySQL settings</a></li>
- <li><a class="reference internal" href="#default-options-for-transformations">Default options for Transformations</a></li>
- <li><a class="reference internal" href="#console-settings">Console settings</a></li>
- <li><a class="reference internal" href="#developer">Developer</a></li>
- <li><a class="reference internal" href="#examples">Examples</a><ul>
- <li><a class="reference internal" href="#basic-example">Basic example</a></li>
- <li><a class="reference internal" href="#example-for-signon-authentication">Example for signon authentication</a></li>
- <li><a class="reference internal" href="#example-for-ip-address-limited-autologin">Example for IP address limited autologin</a></li>
- <li><a class="reference internal" href="#example-for-using-multiple-mysql-servers">Example for using multiple MySQL servers</a></li>
- <li><a class="reference internal" href="#google-cloud-sql-with-ssl">Google Cloud SQL with SSL</a></li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- <h4>Previous topic</h4>
- <p class="topless"><a href="setup.html"
- title="previous chapter">Installation</a></p>
- <h4>Next topic</h4>
- <p class="topless"><a href="user.html"
- title="next chapter">User Guide</a></p>
- <div role="note" aria-label="source link">
- <h3>This Page</h3>
- <ul class="this-page-menu">
- <li><a href="_sources/config.rst.txt"
- rel="nofollow">Show Source</a></li>
- </ul>
- </div>
- <div id="searchbox" style="display: none" role="search">
- <h3 id="searchlabel">Quick search</h3>
- <div class="searchformwrapper">
- <form class="search" action="search.html" method="get">
- <input type="text" name="q" aria-labelledby="searchlabel" />
- <input type="submit" value="Go" />
- </form>
- </div>
- </div>
- <script>$('#searchbox').show(0);</script>
- </div>
- </div>
- <div class="clearer"></div>
- </div>
- <div class="related" role="navigation" aria-label="related navigation">
- <h3>Navigation</h3>
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="genindex.html" title="General Index"
- >index</a></li>
- <li class="right" >
- <a href="user.html" title="User Guide"
- >next</a> |</li>
- <li class="right" >
- <a href="setup.html" title="Installation"
- >previous</a> |</li>
- <li class="nav-item nav-item-0"><a href="index.html">phpMyAdmin 4.9.10 documentation</a> »</li>
- <li class="nav-item nav-item-this"><a href="">Configuration</a></li>
- </ul>
- </div>
- <div class="footer" role="contentinfo">
- © <a href="copyright.html">Copyright</a> 2012 - 2018, The phpMyAdmin devel team.
- Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 3.4.3.
- </div>
- </body>
- </html>
|