Guest User

Untitled

a guest
Feb 16th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.46 KB | None | 0 0
  1. <?php
  2. /*
  3. * This is needed for cookie based authentication to encrypt password in
  4. * cookie
  5. */
  6. $cfg['blowfish_secret'] = 'xampp'; /* YOU SHOULD CHANGE THIS FOR A MORE SECURE COOKIE AUTH! */
  7.  
  8. /*
  9. * Servers configuration
  10. */
  11. $i = 0;
  12.  
  13. /*
  14. * First server
  15. */
  16. $i++;
  17.  
  18. /* Authentication type and info */
  19. $cfg['Servers'][$i]['auth_type'] = 'config';
  20. $cfg['Servers'][$i]['user'] = 'root';
  21. $cfg['Servers'][$i]['password'] = 'root';
  22. $cfg['Servers'][$i]['extension'] = 'mysqli';
  23. $cfg['Servers'][$i]['AllowNoPassword'] = true;
  24. $cfg['Lang'] = '';
  25.  
  26. /* Bind to the localhost ipv4 address and tcp */
  27. $cfg['Servers'][$i]['host'] = 'localhost';
  28. $cfg['Servers'][$i]['connect_type'] = 'tcp';
  29.  
  30. /* User for advanced features */
  31. $cfg['Servers'][$i]['controluser'] = 'pma';
  32. $cfg['Servers'][$i]['controlpass'] = '';
  33.  
  34. /* Advanced phpMyAdmin features */
  35. $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
  36. $cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
  37. $cfg['Servers'][$i]['relation'] = 'pma__relation';
  38. $cfg['Servers'][$i]['table_info'] = 'pma__table_info';
  39. $cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';
  40. $cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';
  41. $cfg['Servers'][$i]['column_info'] = 'pma__column_info';
  42. $cfg['Servers'][$i]['history'] = 'pma__history';
  43. $cfg['Servers'][$i]['designer_coords'] = 'pma__designer_coords';
  44. $cfg['Servers'][$i]['tracking'] = 'pma__tracking';
  45. $cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
  46. $cfg['Servers'][$i]['recent'] = 'pma__recent';
  47. $cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';
  48. $cfg['Servers'][$i]['users'] = 'pma__users';
  49. $cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
  50. $cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
  51. $cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
  52. $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
  53. $cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
  54. $cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
  55. $cfg['Servers'][$i]['favorite'] = 'pma__favorite';
  56.  
  57. /*
  58. * End of servers configuration
  59. */
  60.  
  61. ?>
  62.  
  63. # Example MySQL config file for small systems.
  64. #
  65. # This is for a system with little memory (<= 64M) where MySQL is only used
  66. # from time to time and it's important that the mysqld daemon
  67. # doesn't use much resources.
  68. #
  69. # You can copy this file to
  70. # C:/xampp/mysql/bin/my.cnf to set global options,
  71. # mysql-data-dir/my.cnf to set server-specific options (in this
  72. # installation this directory is C:/xampp/mysql/data) or
  73. # ~/.my.cnf to set user-specific options.
  74. #
  75. # In this file, you can use all long options that a program supports.
  76. # If you want to know which options a program supports, run the program
  77. # with the "--help" option.
  78.  
  79. # The following options will be passed to all MySQL clients
  80. [client]
  81. # password = your_password
  82. port = 3307
  83. socket = "C:/xampp/mysql/mysql.sock"
  84.  
  85.  
  86. # Here follows entries for some specific programs
  87.  
  88. # The MySQL server
  89. [mysqld]
  90. port= 3307
  91. socket = "C:/xampp/mysql/mysql.sock"
  92. basedir = "C:/xampp/mysql"
  93. tmpdir = "C:/xampp/tmp"
  94. datadir = "C:/xampp/mysql/data"
  95. pid_file = "mysql.pid"
  96. # enable-named-pipe
  97. key_buffer = 16M
  98. max_allowed_packet = 1M
  99. sort_buffer_size = 512K
  100. net_buffer_length = 8K
  101. read_buffer_size = 256K
  102. read_rnd_buffer_size = 512K
  103. myisam_sort_buffer_size = 8M
  104. log_error = "mysql_error.log"
  105.  
  106. # Change here for bind listening
  107. #bind-address="127.0.0.1"
  108. # bind-address = ::1 # for ipv6
  109.  
  110. # Where do all the plugins live
  111. plugin_dir = "C:/xampp/mysql/lib/plugin/"
  112.  
  113. # Don't listen on a TCP/IP port at all. This can be a security enhancement,
  114. # if all processes that need to connect to mysqld run on the same host.
  115. # All interaction with mysqld must be made via Unix sockets or named pipes.
  116. # Note that using this option without enabling named pipes on Windows
  117. # (via the "enable-named-pipe" option) will render mysqld useless!
  118. #
  119. # commented in by lampp security
  120. #skip-networking
  121. #skip-federated
  122.  
  123. # Replication Master Server (default)
  124. # binary logging is required for replication
  125. # log-bin deactivated by default since XAMPP 1.4.11
  126. #log-bin=mysql-bin
  127.  
  128. # required unique id between 1 and 2^32 - 1
  129. # defaults to 1 if master-host is not set
  130. # but will not function as a master if omitted
  131. server-id = 1
  132.  
  133. # Replication Slave (comment out master section to use this)
  134. #
  135. # To configure this host as a replication slave, you can choose between
  136. # two methods :
  137. #
  138. # 1) Use the CHANGE MASTER TO command (fully described in our manual) -
  139. # the syntax is:
  140. #
  141. # CHANGE MASTER TO MASTER_HOST=<host>, MASTER_PORT=<port>,
  142. # MASTER_USER=<user>, MASTER_PASSWORD=<password> ;
  143. #
  144. # where you replace <host>, <user>, <password> by quoted strings and
  145. # <port> by the master's port number (3307 by default).
  146. #
  147. # Example:
  148. #
  149. # CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3307,
  150. # MASTER_USER='joe', MASTER_PASSWORD='secret';
  151. #
  152. # OR
  153. #
  154. # 2) Set the variables below. However, in case you choose this method, then
  155. # start replication for the first time (even unsuccessfully, for example
  156. # if you mistyped the password in master-password and the slave fails to
  157. # connect), the slave will create a master.info file, and any later
  158. # change in this file to the variables' values below will be ignored and
  159. # overridden by the content of the master.info file, unless you shutdown
  160. # the slave server, delete master.info and restart the slaver server.
  161. # For that reason, you may want to leave the lines below untouched
  162. # (commented) and instead use CHANGE MASTER TO (see above)
  163. #
  164. # required unique id between 2 and 2^32 - 1
  165. # (and different from the master)
  166. # defaults to 2 if master-host is set
  167. # but will not function as a slave if omitted
  168. #server-id = 2
  169. #
  170. # The replication master for this slave - required
  171. #master-host = <hostname>
  172. #
  173. # The username the slave will use for authentication when connecting
  174. # to the master - required
  175. #master-user = <username>
  176. #
  177. # The password the slave will authenticate with when connecting to
  178. # the master - required
  179. #master-password = <password>
  180. #
  181. # The port the master is listening on.
  182. # optional - defaults to 3307
  183. #master-port = <port>
  184. #
  185. # binary logging - not required for slaves, but recommended
  186. #log-bin=mysql-bin
  187.  
  188.  
  189. # Point the following paths to different dedicated disks
  190. #tmpdir = "C:/xampp/tmp"
  191. #log-update = /path-to-dedicated-directory/hostname
  192.  
  193. # Uncomment the following if you are using BDB tables
  194. #bdb_cache_size = 4M
  195. #bdb_max_lock = 10000
  196.  
  197. # Comment the following if you are using InnoDB tables
  198. #skip-innodb
  199. innodb_data_home_dir = "C:/xampp/mysql/data"
  200. innodb_data_file_path = ibdata1:10M:autoextend
  201. innodb_log_group_home_dir = "C:/xampp/mysql/data"
  202. #innodb_log_arch_dir = "C:/xampp/mysql/data"
  203. ## You can set .._buffer_pool_size up to 50 - 80 %
  204. ## of RAM but beware of setting memory usage too high
  205. innodb_buffer_pool_size = 16M
  206. innodb_additional_mem_pool_size = 2M
  207. ## Set .._log_file_size to 25 % of buffer pool size
  208. innodb_log_file_size = 5M
  209. innodb_log_buffer_size = 8M
  210. innodb_flush_log_at_trx_commit = 1
  211. innodb_lock_wait_timeout = 50
  212.  
  213. ## UTF 8 Settings
  214. #init-connect='SET NAMES utf8'
  215. #collation_server=utf8_unicode_ci
  216. #character_set_server=utf8
  217. #skip-character-set-client-handshake
  218. #character_sets-dir="C:/xampp/mysql/share/charsets"
  219.  
  220. [mysqldump]
  221. quick
  222. max_allowed_packet = 16M
  223.  
  224. [mysql]
  225. no-auto-rehash
  226. # Remove the next comment character if you are not familiar with SQL
  227. #safe-updates
  228.  
  229. [isamchk]
  230. key_buffer = 20M
  231. sort_buffer_size = 20M
  232. read_buffer = 2M
  233. write_buffer = 2M
  234.  
  235. [myisamchk]
  236. key_buffer = 20M
  237. sort_buffer_size = 20M
  238. read_buffer = 2M
  239. write_buffer = 2M
  240.  
  241. [mysqlhotcopy]
  242. interactive-timeout
Add Comment
Please, Sign In to add comment