Advertisement
andhiirawan

phpmyadmin config.inc.php

Oct 12th, 2018
1,321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 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'] = '123456';
  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'] = '127.0.0.1';
  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. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement