Foros del Web » Programando para Internet » PHP »

La conexion para controluser,como esta definida en su configuracion fracaso

Estas en el tema de La conexion para controluser,como esta definida en su configuracion fracaso en el foro de PHP en Foros del Web. Buenas a todos no se si sea aqui donde pueda publicar mi pregunta pero bueno alli les va: instale un proyecto de laravel y seguido ...
  #1 (permalink)  
Antiguo 01/07/2015, 11:09
 
Fecha de Ingreso: mayo-2015
Mensajes: 63
Antigüedad: 8 años, 10 meses
Puntos: 1
La conexion para controluser,como esta definida en su configuracion fracaso

Buenas a todos no se si sea aqui donde pueda publicar mi pregunta pero bueno alli les va:

instale un proyecto de laravel y seguido a ello instale phpmyadmin ,el problema es que es que cree una base de datos y tablas que vienen de demo en laravel y al entrar al phpmyadmin
me sale ese mensaje "La conexion para controluser,como esta definida en su configuracion fracaso ".

leyendo por alli dicen que hay que modificar el archivo config pero no se en que parte aqui lo anexo como esta en estos momentos:

Código PHP:
Ver original
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4.  * phpMyAdmin sample configuration, you can use it as base for
  5.  * manual configuration. For easier setup you can use setup/
  6.  *
  7.  * All directives are explained in documentation in the doc/ folder
  8.  * or at <http://docs.phpmyadmin.net/>.
  9.  *
  10.  * @package PhpMyAdmin
  11.  */
  12.  
  13. /*
  14.  * This is needed for cookie based authentication to encrypt password in
  15.  * cookie
  16.  */
  17. $cfg['blowfish_secret'] = 'a8b7c6d'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
  18.  
  19. /*
  20.  * Servers configuration
  21.  */
  22. $i = 0;
  23.  
  24. /*
  25.  * First server
  26.  */
  27. $i++;
  28. /* Authentication type */
  29. $cfg['Servers'][$i]['auth_type'] = 'cookie';
  30. /* Server parameters */
  31. $cfg['Servers'][$i]['host'] = 'localhost';
  32. $cfg['Servers'][$i]['connect_type'] = 'tcp';
  33. $cfg['Servers'][$i]['compress'] = false;
  34. $cfg['Servers'][$i]['AllowNoPassword'] = false;
  35.  
  36. /*
  37.  * phpMyAdmin configuration storage settings.
  38.  */
  39.  
  40. /* User used to manipulate with storage */
  41. // $cfg['Servers'][$i]['controlhost'] = '';
  42. // $cfg['Servers'][$i]['controlport'] = '';
  43. // $cfg['Servers'][$i]['controluser'] = 'pma';
  44. // $cfg['Servers'][$i]['controlpass'] = 'pmapass';
  45.  
  46. /* Storage database and tables */
  47. // $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
  48. // $cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
  49. // $cfg['Servers'][$i]['relation'] = 'pma__relation';
  50. // $cfg['Servers'][$i]['table_info'] = 'pma__table_info';
  51. // $cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';
  52. // $cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';
  53. // $cfg['Servers'][$i]['column_info'] = 'pma__column_info';
  54. // $cfg['Servers'][$i]['history'] = 'pma__history';
  55. // $cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';
  56. // $cfg['Servers'][$i]['tracking'] = 'pma__tracking';
  57. // $cfg['Servers'][$i]['designer_coords'] = 'pma__designer_coords';
  58. // $cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
  59. // $cfg['Servers'][$i]['recent'] = 'pma__recent';
  60. // $cfg['Servers'][$i]['favorite'] = 'pma__favorite';
  61. // $cfg['Servers'][$i]['users'] = 'pma__users';
  62. // $cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
  63. // $cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
  64. // $cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
  65. /* Contrib / Swekey authentication */
  66. // $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
  67.  
  68. /*
  69.  * End of servers configuration
  70.  */
  71.  
  72. /*
  73.  * Directories for saving/loading files from server
  74.  */
  75. $cfg['UploadDir'] = '';
  76. $cfg['SaveDir'] = '';
  77.  
  78. /**
  79.  * Whether to display icons or text or both icons and text in table row
  80.  * action segment. Value can be either of 'icons', 'text' or 'both'.
  81.  */
  82. //$cfg['RowActionType'] = 'both';
  83.  
  84. /**
  85.  * Defines whether a user should be displayed a "show all (records)"
  86.  * button in browse mode or not.
  87.  * default = false
  88.  */
  89. //$cfg['ShowAll'] = true;
  90.  
  91. /**
  92.  * Number of rows displayed when browsing a result set. If the result
  93.  * set contains more rows, "Previous" and "Next".
  94.  * default = 30
  95.  */
  96. //$cfg['MaxRows'] = 50;
  97.  
  98. /**
  99.  * disallow editing of binary fields
  100.  * valid values are:
  101.  *   false    allow editing
  102.  *   'blob'   allow editing except for BLOB fields
  103.  *   'noblob' disallow editing except for BLOB fields
  104.  *   'all'    disallow editing
  105.  * default = blob
  106.  */
  107. //$cfg['ProtectBinary'] = 'false';
  108.  
  109. /**
  110.  * Default language to use, if not browser-defined or user-defined
  111.  * (you find all languages in the locale folder)
  112.  * uncomment the desired line:
  113.  * default = 'en'
  114.  */
  115. //$cfg['DefaultLang'] = 'en';
  116. //$cfg['DefaultLang'] = 'de';
  117.  
  118. /**
  119.  * default display direction (horizontal|vertical|horizontalflipped)
  120.  */
  121. //$cfg['DefaultDisplay'] = 'vertical';
  122.  
  123.  
  124. /**
  125.  * How many columns should be used for table display of a database?
  126.  * (a value larger than 1 results in some information being hidden)
  127.  * default = 1
  128.  */
  129. //$cfg['PropertiesNumColumns'] = 2;
  130.  
  131. /**
  132.  * Set to true if you want DB-based query history.If false, this utilizes
  133.  * JS-routines to display query history (lost by window close)
  134.  *
  135.  * This requires configuration storage enabled, see above.
  136.  * default = false
  137.  */
  138. //$cfg['QueryHistoryDB'] = true;
  139.  
  140. /**
  141.  * When using DB-based query history, how many entries should be kept?
  142.  *
  143.  * default = 25
  144.  */
  145. //$cfg['QueryHistoryMax'] = 100;
  146.  
  147. /**
  148.  * Should error reporting be enabled for JavaScript errors
  149.  *
  150.  * default = 'ask'
  151.  */
  152. //$cfg['SendErrorReports'] = 'ask';
  153.  
  154. /*
  155.  * You can find more configuration options in the documentation
  156.  * in the doc/ folder or at <http://docs.phpmyadmin.net/>.
  157.  */
  158. ?>
muchas gracias por su colaboracion

Última edición por gnzsoloyo; 01/07/2015 a las 11:24
  #2 (permalink)  
Antiguo 01/07/2015, 11:25
Avatar de gnzsoloyo
Moderador criollo
 
Fecha de Ingreso: noviembre-2007
Ubicación: Actualmente en Buenos Aires (el enemigo ancestral)
Mensajes: 23.324
Antigüedad: 16 años, 4 meses
Puntos: 2658
Respuesta: La conexion para controluser,como esta definida en su configuracion fracas

OFF TOPIC. Las conexiones desde loa herramienta que sea a MySQL son temas de programación.

Muevo el post a PHP donde te pueden guiar un poco mejor, o moverlo al mas adecuado.

En los foros de BBDD solo tratamos temas de SQL.
__________________
¿A quién le enseñan sus aciertos?, si yo aprendo de mis errores constantemente...
"El problema es la interfase silla-teclado." (Gillermo Luque)
  #3 (permalink)  
Antiguo 01/07/2015, 11:36
 
Fecha de Ingreso: mayo-2015
Mensajes: 63
Antigüedad: 8 años, 10 meses
Puntos: 1
Respuesta: La conexion para controluser,como esta definida en su configuracion fracas

oye como puedo ir a donde moviste mi pregunta?

gracias
  #4 (permalink)  
Antiguo 01/07/2015, 11:49
Avatar de Triby
Mod on free time
 
Fecha de Ingreso: agosto-2008
Ubicación: $MX->Gto['León'];
Mensajes: 10.106
Antigüedad: 15 años, 8 meses
Puntos: 2237
Respuesta: La conexion para controluser,como esta definida en su configuracion fracas

mauricio1020, bienvenido a donde movieron tu pregunta.

Te paso mi configuración por si te sirve de algo:

Código PHP:
Ver original
  1. /* Authentication type */
  2. $cfg['Servers'][$i]['verbose'] = 'mysql wampserver';
  3. $cfg['Servers'][$i]['auth_type'] = 'config';  // **** Tú tienes este con cookie
  4. $cfg['Servers'][$i]['user'] = 'root';              // Nombre de usuario
  5. $cfg['Servers'][$i]['password'] = '';            // Contraseña
  6. /* Server parameters */
  7. $cfg['Servers'][$i]['host'] = '127.0.0.1';
  8. $cfg['Servers'][$i]['connect_type'] = 'tcp';
  9. $cfg['Servers'][$i]['compress'] = false;
  10. /* Select mysql if your server does not have mysqli */
  11. $cfg['Servers'][$i]['extension'] = 'mysqli';
  12. $cfg['Servers'][$i]['AllowNoPassword'] = true;

Si sabes nombre de usuario y contraseña de MySQL no deberías tener mayor problema.
__________________
- León, Guanajuato
- GV-Foto
  #5 (permalink)  
Antiguo 01/07/2015, 17:25
 
Fecha de Ingreso: mayo-2015
Mensajes: 63
Antigüedad: 8 años, 10 meses
Puntos: 1
Respuesta: La conexion para controluser,como esta definida en su configuracion fracas

oye pero ese archivo que tienes es diferente al mio me sigue saliendo este error:
mysql ha dicho

#1146-table 'phpmyadmin.pma_table_uiprefs' doesn't no exist
  #6 (permalink)  
Antiguo 02/07/2015, 00:59
Avatar de Triby
Mod on free time
 
Fecha de Ingreso: agosto-2008
Ubicación: $MX->Gto['León'];
Mensajes: 10.106
Antigüedad: 15 años, 8 meses
Puntos: 2237
Respuesta: La conexion para controluser,como esta definida en su configuracion fracas

No se supone que reemplaces todo el código de tu archivo con el que publiqué, sino que lo analices, busques y tomes lo que te pueda servir, probando cada parámetro hasta que veas una diferencia.
__________________
- León, Guanajuato
- GV-Foto

Etiquetas: conexion, mysql, tabla
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 01:41.