Advertisement
LightProgrammer000

Config.inc.php [Wamp Server - Password]

Jan 4th, 2019
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.53 KB | None | 0 0
  1. <?php
  2. /*
  3. SENHA NO WAMP SERVER:
  4. 1. Copiar: Este Arquivo
  5. 2. Ir -> C:\wamp\apps\phpmyadmin4.1.14
  6. */
  7.  
  8. /* vim: set expandtab sw=4 ts=4 sts=4: */
  9. /**
  10.  * phpMyAdmin sample configuration, you can use it as base for
  11.  * manual configuration. For easier setup you can use setup/
  12.  *
  13.  * All directives are explained in documentation in the doc/ folder
  14.  * or at <http://docs.phpmyadmin.net/>.
  15.  *
  16.  * @package PhpMyAdmin
  17.  */
  18.  
  19. /*
  20.  * This is needed for cookie based authentication to encrypt password in
  21.  * cookie
  22.  */
  23. $cfg['blowfish_secret'] = 'a8b7c6d'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
  24.  
  25. /*
  26.  * Servers configuration
  27.  */
  28. $i = 0;
  29.  
  30. /*
  31.  * First server
  32.  */
  33. $i++;
  34. /* Authentication type */
  35. $cfg['Servers'][$i]['verbose'] = 'mysql wampserver';
  36. $cfg['Servers'][$i]['auth_type'] = 'cookie';
  37. //$cfg['Servers'][$i]['auth_type'] = 'config';
  38. $cfg['Servers'][$i]['user'] = 'root';
  39. $cfg['Servers'][$i]['password'] = '';
  40. /* Server parameters */
  41. $cfg['Servers'][$i]['host'] = '127.0.0.1';
  42. $cfg['Servers'][$i]['connect_type'] = 'tcp';
  43. $cfg['Servers'][$i]['compress'] = false;
  44. /* Select mysql if your server does not have mysqli */
  45. $cfg['Servers'][$i]['extension'] = 'mysqli';
  46. $cfg['Servers'][$i]['AllowNoPassword'] = false;
  47.  
  48. $cfg[$i]['DefaultLang'] = 'en-utf-8';
  49. $cfg[$i]['serverDefault'] = 1;
  50. $cfg[$i]['UploadDir'] = '';
  51. $cfg[$i]['SaveDir'] = '';
  52. $cfg[$i]['blowfish_secret'] = 'root';
  53.  
  54. /*
  55.  * phpMyAdmin configuration storage settings.
  56.  */
  57.  
  58. // No warning on  pmadb tables
  59. $cfg['PmaNoRelation_DisableWarning'] = true;
  60.  
  61.  
  62. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement