forked from phpmyadmin/phpmyadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.default.php
2932 lines (2528 loc) · 63.2 KB
/
config.default.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* <code>
* N N OOO !! DDDD OOO N N OOO TTTTT EEEE DDDD I TTTTT !!
* NN N O O !! D D O O NN N O O T E D D I T !!
* N N N O O !! D D O O N N N O O T EEEE D D I T !!
* N NN O O D D O O N NN O O T E D D I T
* N N OOO !! DDDD OOO N N OOO T EEEE DDDD I T !!
* </code>
*
* DO NOT EDIT THIS FILE, EDIT config.inc.php INSTEAD !!!
*
* phpMyAdmin default configuration, you can copy values from here to your
* config.inc.php
*
* All directives are explained in the documentation
*
* @package PhpMyAdmin
*/
/**
* Your phpMyAdmin URL.
*
* Complete the variable below with the full URL ie
* http://www.your_web.net/path_to_your_phpMyAdmin_directory/
*
* It must contain characters that are valid for a URL, and the path is
* case sensitive on some Web servers, for example Unix-based servers.
*
* In most cases you can leave this variable empty, as the correct value
* will be detected automatically. However, we recommend that you do
* test to see that the auto-detection code works in your system. A good
* test is to browse a table, then edit a row and save it. There will be
* an error message if phpMyAdmin cannot auto-detect the correct value.
*
* @global string $cfg['PmaAbsoluteUri']
*/
$cfg['PmaAbsoluteUri'] = '';
/**
* Disable the default warning that is displayed on the DB Details Structure page if
* any of the required Tables for the configuration storage could not be found
*
* @global boolean $cfg['PmaNoRelation_DisableWarning']
*/
$cfg['PmaNoRelation_DisableWarning'] = false;
/**
* Disable the default warning that is displayed if Suhosin is detected
*
* @global boolean $cfg['SuhosinDisableWarning']
*/
$cfg['SuhosinDisableWarning'] = false;
/**
* Disable the default warning that is displayed if mcrypt is missing for
* cookie authentication.
*
* @global boolean $cfg['McryptDisableWarning']
*/
$cfg['McryptDisableWarning'] = false;
/**
* Disable the default warning that is displayed if a diffrence between
* the MySQL library and server is detected.
*
* @global boolean $cfg['['ServerLibraryDifference_DisableWarning']']
*/
$cfg['ServerLibraryDifference_DisableWarning'] = false;
/**
* Disable the default warning about MySQL reserved words in column names
*
* @global boolean $cfg['ReservedWordDisableWarning']
*/
$cfg['ReservedWordDisableWarning'] = false;
/**
* Show warning about incomplete translations on certain threshold.
*
* @global boolean $cfg['TranslationWarningThreshold']
*/
$cfg['TranslationWarningThreshold'] = 80;
/**
* Allows phpMyAdmin to be included from a other document in a frame;
* setting this to true is a potential security hole
*
* @global boolean $cfg['AllowThirdPartyFraming']
*/
$cfg['AllowThirdPartyFraming'] = false;
/**
* The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
* at least one server configuration uses 'cookie' auth_type, enter here a
* pass phrase that will be used by blowfish. The maximum length seems to be 46
* characters.
*
* @global string $cfg['blowfish_secret']
*/
$cfg['blowfish_secret'] = '';
/*******************************************************************************
* Server(s) configuration
*
* The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use
* $cfg['Servers'][0]. You can disable a server configuration entry by setting host
* to ''. If you want more than one server, just copy following section
* (including $i incrementation) several times. There is no need to define
* full server array, just define values you need to change.
*
* @global array $cfg['Servers']
*/
$cfg['Servers'] = array();
$i = 1;
/**
* MySQL hostname or IP address
*
* @global string $cfg['Servers'][$i]['host']
*/
$cfg['Servers'][$i]['host'] = 'localhost';
/**
* MySQL port - leave blank for default port
*
* @global string $cfg['Servers'][$i]['port']
*/
$cfg['Servers'][$i]['port'] = '';
/**
* Path to the socket - leave blank for default socket
*
* @global string $cfg['Servers'][$i]['socket']
*/
$cfg['Servers'][$i]['socket'] = '';
/**
* Use SSL for connecting to MySQL server?
*
* @global boolean $cfg['Servers'][$i]['ssl']
*/
$cfg['Servers'][$i]['ssl'] = false;
/**
* Path to the key file when using SSL for connecting to the MySQL server
*
* @global string $cfg['Servers'][$i]['ssl_key']
*/
$cfg['Servers'][$i]['ssl_key'] = null;
/**
* Path to the cert file when using SSL for connecting to the MySQL server
*
* @global string $cfg['Servers'][$i]['ssl_cert']
*/
$cfg['Servers'][$i]['ssl_cert'] = null;
/**
* Path to the CA file when using SSL for connecting to the MySQL server
*
* @global string $cfg['Servers'][$i]['ssl_ca']
*/
$cfg['Servers'][$i]['ssl_ca'] = null;
/**
* Directory containing trusted SSL CA certificates in PEM format
*
* @global string $cfg['Servers'][$i]['ssl_ca_path']
*/
$cfg['Servers'][$i]['ssl_ca_path'] = null;
/**
* List of allowable ciphers for SSL connections to the MySQL server
*
* @global string $cfg['Servers'][$i]['ssl_ciphers']
*/
$cfg['Servers'][$i]['ssl_ciphers'] = null;
/**
* How to connect to MySQL server ('tcp' or 'socket')
*
* @global string $cfg['Servers'][$i]['connect_type']
*/
$cfg['Servers'][$i]['connect_type'] = 'tcp';
/**
* The PHP MySQL extension to use ('mysql' or 'mysqli')
*
* @global string $cfg['Servers'][$i]['extension']
*/
$cfg['Servers'][$i]['extension'] = 'mysqli';
/**
* Use compressed protocol for the MySQL connection
*
* @global boolean $cfg['Servers'][$i]['compress']
*/
$cfg['Servers'][$i]['compress'] = false;
/**
* MySQL control host. This permits to use a host different than the
* main host, for the phpMyAdmin configuration storage. If left empty,
* $cfg['Servers'][$i]['host'] is used instead.
*
* @global string $cfg['Servers'][$i]['controlhost']
*/
$cfg['Servers'][$i]['controlhost'] = '';
/**
* MySQL control port. This permits to use a port different than the
* main port, for the phpMyAdmin configuration storage. If left empty,
* $cfg['Servers'][$i]['port'] is used instead.
*
* @global string $cfg['Servers'][$i]['controlport']
*/
$cfg['Servers'][$i]['controlport'] = '';
/**
* MySQL control user settings (this user must have read-only
* access to the "mysql/user" and "mysql/db" tables). The controluser is also
* used for all relational features (pmadb)
*
* @global string $cfg['Servers'][$i]['controluser']
*/
$cfg['Servers'][$i]['controluser'] = '';
/**
* MySQL control user settings (this user must have read-only
* access to the "mysql/user" and "mysql/db" tables). The controluser is also
* used for all relational features (pmadb)
*
* @global string $cfg['Servers'][$i]['controlpass']
*/
$cfg['Servers'][$i]['controlpass'] = '';
/**
* Authentication method (valid choices: config, http, signon or cookie)
*
* @global string $cfg['Servers'][$i]['auth_type']
*/
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/**
* HTTP Basic Auth Realm name to display (only used with 'HTTP' auth_type)
*
* @global string $cfg['Servers'][$i]['auth_http_realm']
*/
$cfg['Servers'][$i]['auth_http_realm'] = '';
/**
* File containing Swekey ids and login names (see /contrib);
* leave empty to deactivate Swekey hardware authentication
*
* @global string $cfg['Servers'][$i]['auth_swekey_config']
*/
$cfg['Servers'][$i]['auth_swekey_config'] = '';
/**
* MySQL user
*
* @global string $cfg['Servers'][$i]['user']
*/
$cfg['Servers'][$i]['user'] = 'root';
/**
* MySQL password (only needed with 'config' auth_type)
*
* @global string $cfg['Servers'][$i]['password']
*/
$cfg['Servers'][$i]['password'] = '';
/**
* Session to use for 'signon' authentication method
*
* @global string $cfg['Servers'][$i]['SignonSession']
*/
$cfg['Servers'][$i]['SignonSession'] = '';
/**
* PHP script to use for 'signon' authentication method
*
* @global string $cfg['Servers'][$i]['SignonScript']
*/
$cfg['Servers'][$i]['SignonScript'] = '';
/**
* URL where to redirect user to login for 'signon' authentication method
*
* @global string $cfg['Servers'][$i]['SignonURL']
*/
$cfg['Servers'][$i]['SignonURL'] = '';
/**
* URL where to redirect user after logout
*
* @global string $cfg['Servers'][$i]['LogoutURL']
*/
$cfg['Servers'][$i]['LogoutURL'] = '';
/**
* Whether to try to connect without password
*
* @global boolean $cfg['Servers'][$i]['nopassword']
*/
$cfg['Servers'][$i]['nopassword'] = false;
/**
* If set to a db-name, only this db is displayed in navigation panel
* It may also be an array of db-names
*
* @global string $cfg['Servers'][$i]['only_db']
*/
$cfg['Servers'][$i]['only_db'] = '';
/**
* Database name to be hidden from listings
*
* @global string $cfg['Servers'][$i]['hide_db']
*/
$cfg['Servers'][$i]['hide_db'] = '';
/**
* Verbose name for this host - leave blank to show the hostname
* (for HTTP authentication, all non-US-ASCII characters will be stripped)
*
* @global string $cfg['Servers'][$i]['verbose']
*/
$cfg['Servers'][$i]['verbose'] = '';
/**
* Database used for Relation, Bookmark and PDF Features
* (see examples/create_tables.sql)
* - leave blank for no support
* SUGGESTED: 'phpmyadmin'
*
* @global string $cfg['Servers'][$i]['pmadb']
*/
$cfg['Servers'][$i]['pmadb'] = '';
/**
* Bookmark table
* - leave blank for no bookmark support
* SUGGESTED: 'pma__bookmark'
*
* @global string $cfg['Servers'][$i]['bookmarktable']
*/
$cfg['Servers'][$i]['bookmarktable'] = '';
/**
* table to describe the relation between links (see doc)
* - leave blank for no relation-links support
* SUGGESTED: 'pma__relation'
*
* @global string $cfg['Servers'][$i]['relation']
*/
$cfg['Servers'][$i]['relation'] = '';
/**
* table to describe the display fields
* - leave blank for no display fields support
* SUGGESTED: 'pma__table_info'
*
* @global string $cfg['Servers'][$i]['table_info']
*/
$cfg['Servers'][$i]['table_info'] = '';
/**
* table to describe the tables position for the PDF schema
* - leave blank for no PDF schema support
* SUGGESTED: 'pma__table_coords'
*
* @global string $cfg['Servers'][$i]['table_coords']
*/
$cfg['Servers'][$i]['table_coords'] = '';
/**
* table to describe pages of relationpdf
* - leave blank if you don't want to use this
* SUGGESTED: 'pma__pdf_pages'
*
* @global string $cfg['Servers'][$i]['pdf_pages']
*/
$cfg['Servers'][$i]['pdf_pages'] = '';
/**
* table to store column information
* - leave blank for no column comments/mime types
* SUGGESTED: 'pma__column_info'
*
* @global string $cfg['Servers'][$i]['column_info']
*/
$cfg['Servers'][$i]['column_info'] = '';
/**
* table to store SQL history
* - leave blank for no SQL query history
* SUGGESTED: 'pma__history'
*
* @global string $cfg['Servers'][$i]['history']
*/
$cfg['Servers'][$i]['history'] = '';
/**
* table to store the coordinates for Designer
* - leave blank for no Designer feature
* SUGGESTED: 'pma__designer_coords'
*
* @global string $cfg['Servers'][$i]['designer_coords']
*/
$cfg['Servers'][$i]['designer_coords'] = '';
/**
* table to store recently used tables
* - leave blank for no "persistent" recently used tables
* SUGGESTED: 'pma__recent'
*/
$cfg['Servers'][$i]['recent'] = '';
/**
* table to store UI preferences for tables
* - leave blank for no "persistent" UI preferences
* SUGGESTED: 'pma__table_uiprefs'
*/
$cfg['Servers'][$i]['table_uiprefs'] = '';
/**
* table to store SQL tracking
* - leave blank for no SQL tracking
* SUGGESTED: 'pma__tracking'
*
* @global string $cfg['Servers'][$i]['tracking']
*/
$cfg['Servers'][$i]['tracking'] = '';
/**
* table to store user preferences
* - leave blank to disable server storage
* SUGGESTED: 'pma__userconfig'
*
* @global string $cfg['Servers'][$i]['userconfig']
*/
$cfg['Servers'][$i]['userconfig'] = '';
/**
* table to store users and their assignment to user groups
* - leave blank to disable configurable menus feature
* SUGGESTED: 'pma__users'
*
* @global string $cfg['Servers'][$i]['users']
*/
$cfg['Servers'][$i]['users'] = '';
/**
* table to store allowed menu items for each user group
* - leave blank to disable configurable menus feature
* SUGGESTED: 'pma__usergroups'
*
* @global string $cfg['Servers'][$i]['usergroups']
*/
$cfg['Servers'][$i]['usergroups'] = '';
/**
* table to store information about item hidden from navigation triee
* - leave blank to disable hide/show navigation items feature
* SUGGESTED: 'pma__navigationhiding'
*
* @global string $cfg['Servers'][$i]['navigationhiding']
*/
$cfg['Servers'][$i]['navigationhiding'] = '';
/**
* Maximum number of records saved in $cfg['Servers'][$i]['table_uiprefs'] table.
*
* In case where tables in databases is modified (e.g. dropped or renamed),
* table_uiprefs may contains invalid data (referring to tables which are not
* exist anymore).
* This configuration make sure that we only keep N (N = MaxTableUiprefs)
* newest record in table_uiprefs and automatically delete older records.
*
* @global integer $cfg['Servers'][$i]['userconfig'] = '';
*/
$cfg['Servers'][$i]['MaxTableUiprefs'] = 100;
/**
* whether to allow root login
*
* @global boolean $cfg['Servers'][$i]['AllowRoot']
*/
$cfg['Servers'][$i]['AllowRoot'] = true;
/**
* whether to allow login of any user without a password
*
* @global boolean $cfg['Servers'][$i]['AllowNoPassword']
*/
$cfg['Servers'][$i]['AllowNoPassword'] = false;
/**
* Host authentication order, leave blank to not use
*
* @global string $cfg['Servers'][$i]['AllowDeny']['order']
*/
$cfg['Servers'][$i]['AllowDeny']['order'] = '';
/**
* Host authentication rules, leave blank for defaults
*
* @global array $cfg['Servers'][$i]['AllowDeny']['rules']
*/
$cfg['Servers'][$i]['AllowDeny']['rules'] = array();
/**
* Disable use of INFORMATION_SCHEMA. Is always 'false' for Drizzle.
*
* @see https://sourceforge.net/p/phpmyadmin/bugs/2606/
* @see http://bugs.mysql.com/19588
* @global boolean $cfg['Servers'][$i]['DisableIS']
*/
$cfg['Servers'][$i]['DisableIS'] = true;
/**
* SQL command to fetch available databases
*
* by default most user will be fine with SHOW DATABASES,
* for servers with a huge amount of databases it is possible to
* define a command which executes faster but with less information
*
* especially when accessing database servers from ISPs changing this command
* can result in a great speed improvement
*
* false will disable fetching databases from the server, only databases in
* $cfg['Servers'][$i]['only_db'] will be displayed
*
* #user# will be replaced by current user
*
* examples:
* 'SHOW DATABASES'
* "SHOW DATABASES LIKE '#user#\_%'"
* 'SELECT DISTINCT TABLE_SCHEMA FROM information_schema.SCHEMA_PRIVILEGES'
* 'SELECT SCHEMA_NAME FROM information_schema.SCHEMATA'
* false
*
* @global array $cfg['Servers'][$i]['ShowDatabasesCommand']
*/
$cfg['Servers'][$i]['ShowDatabasesCommand'] = 'SHOW DATABASES';
/**
* Whether the tracking mechanism creates
* versions for tables and views automatically.
*
* @global bool $cfg['Servers'][$i]['tracking_version_auto_create']
*/
$cfg['Servers'][$i]['tracking_version_auto_create'] = false;
/**
* Defines the list of statements
* the auto-creation uses for new versions.
*
* @global string $cfg['Servers'][$i]['tracking_default_statements']
*/
$cfg['Servers'][$i]['tracking_default_statements']
= 'CREATE TABLE,ALTER TABLE,DROP TABLE,RENAME TABLE,CREATE INDEX,' .
'DROP INDEX,INSERT,UPDATE,DELETE,TRUNCATE,REPLACE,CREATE VIEW,' .
'ALTER VIEW,DROP VIEW,CREATE DATABASE,ALTER DATABASE,DROP DATABASE';
/**
* Whether a DROP VIEW IF EXISTS statement will be added
* as first line to the log when creating a view.
*
* @global bool $cfg['Servers'][$i]['tracking_add_drop_view']
*/
$cfg['Servers'][$i]['tracking_add_drop_view'] = true;
/**
* Whether a DROP TABLE IF EXISTS statement will be added
* as first line to the log when creating a table.
*
* @global bool $cfg['Servers'][$i]['tracking_add_drop_table']
*/
$cfg['Servers'][$i]['tracking_add_drop_table'] = true;
/**
* Whether a DROP DATABASE IF EXISTS statement will be added
* as first line to the log when creating a database.
*
* @global bool $cfg['Servers'][$i]['tracking_add_drop_database']
*/
$cfg['Servers'][$i]['tracking_add_drop_database'] = true;
/**
* Enables caching of TABLE STATUS outputs for specific databases on this server
* (in some cases TABLE STATUS can be very slow, so you may want to cache it).
* APC is used (if the PHP extension is available, if not, this setting is ignored
* silently). You have to provide StatusCacheLifetime.
* Takes effect only if DisableIS is true.
*
* @global array $cfg['Servers'][$i]['StatusCacheDatabases']
*/
$cfg['Servers'][$i]['StatusCacheDatabases'] = array();
/**
* Lifetime in seconds of the TABLE STATUS cache if StatusCacheDatabases is used
*
* @global integer $cfg['Servers'][$i]['StatusCacheLifetime']
*/
$cfg['Servers'][$i]['StatusCacheLifetime'] = 0;
/**
* Default server (0 = no default server)
*
* If you have more than one server configured, you can set $cfg['ServerDefault']
* to any one of them to auto-connect to that server when phpMyAdmin is started,
* or set it to 0 to be given a list of servers without logging in
* If you have only one server configured, $cfg['ServerDefault'] *MUST* be
* set to that server.
*
* @global integer $cfg['ServerDefault']
*/
$cfg['ServerDefault'] = 1;
/*
* Other core phpMyAdmin settings
*/
/**
* whether version check is active
*
* @global boolean $cfg['VersionCheck']
*/
if (defined('VERSION_CHECK_DEFAULT')) {
$cfg['VersionCheck'] = VERSION_CHECK_DEFAULT;
} else {
$cfg['VersionCheck'] = true;
}
/**
* The url of the proxy to be used when retrieving the information about
* the latest version of phpMyAdmin or error reporting. You need this if
* the server where phpMyAdmin is installed does not have direct access to
* the internet.
* The format is: "hostname:portnumber"
*
* @global string $cfg['ProxyUrl']
*/
$cfg['ProxyUrl'] = "";
/**
* 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.
*
* @global string $cfg['ProxyUser']
*/
$cfg['ProxyUser'] = "";
/**
* The password for authenticating with the proxy.
*
* @global string $cfg['ProxyPass']
*/
$cfg['ProxyPass'] = "";
/**
* maximum number of db's displayed in database list
*
* @global integer $cfg['MaxDbList']
*/
$cfg['MaxDbList'] = 100;
/**
* maximum number of items displayed in navigation panel
*
* @global integer $cfg['MaxDbList']
*/
$cfg['MaxNavigationItems'] = 250;
/**
* maximum number of tables displayed in table list
*
* @global integer $cfg['MaxTableList']
*/
$cfg['MaxTableList'] = 250;
/**
* whether to show hint or not
*
* @global boolean $cfg['ShowHint']
*/
$cfg['ShowHint'] = true;
/**
* maximum number of characters when a SQL query is displayed
*
* @global integer $cfg['MaxCharactersInDisplayedSQL']
*/
$cfg['MaxCharactersInDisplayedSQL'] = 1000;
/**
* use GZIP output buffering if possible (true|false|'auto')
*
* @global string $cfg['OBGzip']
*/
$cfg['OBGzip'] = 'auto';
/**
* use persistent connections to MySQL database
*
* @global boolean $cfg['PersistentConnections']
*/
$cfg['PersistentConnections'] = false;
/**
* whether to force using HTTPS
*
* @global boolean $cfg['ForceSSL']
*/
$cfg['ForceSSL'] = false;
/**
* maximum execution time in seconds (0 for no limit)
*
* @global integer $cfg['ExecTimeLimit']
*/
$cfg['ExecTimeLimit'] = 300;
/**
* Path for storing session data (session_save_path PHP parameter).
*
* @global integer $cfg['SessionSavePath']
*/
$cfg['SessionSavePath'] = '';
/**
* maximum allocated bytes ('-1' for no limit)
* this is a string because '16M' is a valid value; we must put here
* a string as the default value so that /setup accepts strings
*
* @global string $cfg['MemoryLimit']
*/
$cfg['MemoryLimit'] = '-1';
/**
* mark used tables, make possible to show locked tables (since MySQL 3.23.30)
* Is ignored for Drizzle.
*
* @global boolean $cfg['SkipLockedTables']
*/
$cfg['SkipLockedTables'] = false;
/**
* show SQL queries as run
*
* @global boolean $cfg['ShowSQL']
*/
$cfg['ShowSQL'] = true;
/**
* retain SQL input on Ajax execute
*
* @global boolean $cfg['RetainQueryEditor']
*/
$cfg['RetainQueryBox'] = false;
/**
* use CodeMirror syntax highlighting for editing SQL
*
* @global boolean $cfg['CodemirrorEnable']
*/
$cfg['CodemirrorEnable'] = true;
/**
* show a 'Drop database' link to normal users
*
* @global boolean $cfg['AllowUserDropDatabase']
*/
$cfg['AllowUserDropDatabase'] = false;
/**
* confirm some commands that can result in loss of data
*
* @global boolean $cfg['Confirm']
*/
$cfg['Confirm'] = true;
/**
* recall previous login in cookie authentication mode or not
*
* @global boolean $cfg['LoginCookieRecall']
*/
$cfg['LoginCookieRecall'] = true;
/**
* validity of cookie login (in seconds; 1440 matches php.ini's
* session.gc_maxlifetime)
*
* @global integer $cfg['LoginCookieValidity']
*/
$cfg['LoginCookieValidity'] = 1440;
/**
* how long login cookie should be stored (in seconds)
*
* @global integer $cfg['LoginCookieStore']
*/
$cfg['LoginCookieStore'] = 0;
/**
* whether to delete all login cookies on logout
*
* @global boolean $cfg['LoginCookieDeleteAll']
*/
$cfg['LoginCookieDeleteAll'] = true;
/**
* whether to enable the "database search" feature or not
*
* @global boolean $cfg['UseDbSearch']
*/
$cfg['UseDbSearch'] = true;
/**
* if set to true, PMA continues computing multiple-statement queries
* even if one of the queries failed
*
* @global boolean $cfg['IgnoreMultiSubmitErrors']
*/
$cfg['IgnoreMultiSubmitErrors'] = false;
/**
* allow login to any user entered server in cookie based authentication
*
* @global boolean $cfg['AllowArbitraryServer']
*/
$cfg['AllowArbitraryServer'] = false;
/**
* if reCaptcha is enabled it needs public key to connect with the service
*
* @global string $cfg['CaptchaLoginPublicKey']
*/
$cfg['CaptchaLoginPublicKey'] = '';
/**
* if reCaptcha is enabled it needs private key to connect with the service
*
* @global string $cfg['CaptchaLoginPrivateKey']
*/
$cfg['CaptchaLoginPrivateKey'] = '';
/*******************************************************************************
* Error handler configuration
*
* this configures phpMyAdmin's own error handler, it is used to avoid information
* disclosure, gather errors for logging, reporting and displaying
*
* @global array $cfg['Error_Handler']
*/
$cfg['Error_Handler'] = array();
/**
* whether to display errors or not
*
* this does not affect errors of type E_USER_*
*
* @global boolean $cfg['Error_Handler']['display']
*/
$cfg['Error_Handler']['display'] = false;
/**
* (NOT IMPLEMENTED YET)
* where to log errors, false or empty to disable
*
* <code>
* // EXAMPLE log to std PHP error log
* $cfg['Error_Handler']['log'] = array(0);
* // EXAMPLE mail errors
* $cfg['Error_Handler']['log'] = array(1, '[email protected]');
* // EXAMPLE append to specific file
* $cfg['Error_Handler']['log'] = array(3, '/var/log/phpmyadmin_error.log');
* </code>
*
* @see http://php.net/error_log
* @global string $cfg['Error_Handler']['log']
*/
//$cfg['Error_Handler']['log'] = false;
/**
* gather all errors in session to be displayed on a error reporting page
* for viewing and/or sending to phpMyAdmin developer team
*
* @global boolean $cfg['Error_Handler']['gather']
*/
$cfg['Error_Handler']['gather'] = false;
/*******************************************************************************
* Navigation panel setup
*/
/**
* turn the select-based light menu into a tree
*
* @global boolean $cfg['NavigationTreeEnableGrouping']
*/
$cfg['NavigationTreeEnableGrouping'] = true;
/**
* the separator to sub-tree the select-based light menu tree
*
* @global string $cfg['NavigationTreeDbSeparator']
*/
$cfg['NavigationTreeDbSeparator'] = '_';
/**
* Which string will be used to generate table prefixes
* to split/nest tables into multiple categories
*
* @global string $cfg['NavigationTreeTableSeparator']
*/
$cfg['NavigationTreeTableSeparator'] = '__';
/**
* How many sublevels should be displayed when splitting up tables
* by the above Separator
*
* @global integer $cfg['NavigationTreeTableLevel']
*/
$cfg['NavigationTreeTableLevel'] = 1;
/**
* display logo at top of navigation panel
*
* @global boolean $cfg['NavigationDisplayLogo']
*/
$cfg['NavigationDisplayLogo'] = true;
/**
* where should logo link point to (can also contain an external URL)
*
* @global string $cfg['NavigationLogoLink']
*/
$cfg['NavigationLogoLink'] = 'index.php';
/**
* whether to open the linked page in the main window ('main') or
* in a new window ('new')
*
* @global string $cfg['NavigationLogoLinkWindow']
*/
$cfg['NavigationLogoLinkWindow'] = 'main';
/**
* number of recently used tables displayed in the navigation panel
*
* @global integer $cfg['NumRecentTables']
*/
$cfg['NumRecentTables'] = 10;
/**
* display a JavaScript table filter in the navigation panel
* when more then x tables are present
*
* @global boolean $cfg['NavigationTreeDisplayItemFilterMinimum']
*/
$cfg['NavigationTreeDisplayItemFilterMinimum'] = 30;
/**
* display server choice at top of navigation panel
*
* @global boolean $cfg['NavigationDisplayServers']
*/
$cfg['NavigationDisplayServers'] = true;
/**
* server choice as links
*
* @global boolean $cfg['DisplayServersList']
*/
$cfg['DisplayServersList'] = false;
/**
* display a JavaScript database filter in the navigation panel
* when more then x databases are present
*
* @global boolean $cfg['NavigationTreeDisplayDbFilterMinimum']
*/
$cfg['NavigationTreeDisplayDbFilterMinimum'] = 30;
/**
* target of the navigation panel quick access icon