unknown the servidor requested para method inc fracasó está definida controluser configurar configuración conexión como caching_sha2_password autorizó acceso mysql phpmyadmin

mysql - the - ¿Por qué phpMyAdmin no está completamente configurado?



phpmyadmin the server requested authentication method unknown to the client[caching_sha2_password] (2)

No sé phpMyAdmin, así que no puedo decir cómo se supone que debe ser la configuración, pero en cualquier caso, solo mirando la pregunta sola, la tabla no se nombra de forma consistente aquí:

$cfg[''Servers''][$i][''recent''] = ''pma_recent'';

se deletrea con un (1) guión bajo.

La tabla en sí, según SHOW TABLES, se deletrea con dos (2) guiones bajos.

+-----------------------+ | Tables_in_phpmyadmin | +-----------------------+ ... | pma__recent |

Entonces sí, MySQL se quejará de que:

Table ''phpmyadmin.pma_recent'' doesn''t exist

porque la mesa, realmente, no existe.

Con una instalación localhost de MySQL 5.6.20 y phpMyAdmin 4.2.7.1 bajo Mac OS X 10.9.4, utilicé phpmyadmin/examples/create_tables.sql , editado para activar el necesario GRANT SELECT, INSERT, DELETE, UPDATE en phpmyadmin para mi usuario de control

Con el config.inc.php que se muestra a continuación, cuando inicio phpMyAdmin, ya sea como usuario raíz o como usuario de control, The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. To find out why click here. un error: The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. To find out why click here. The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. To find out why click here.

Ese enlace muestra una larga lista de configuraciones como incorrectas, incluyendo:

$cfg[''Servers''][$i][''relation''] ... $cfg[''Servers''][$i][''table_info''] .. $cfg[''Servers''][$i][''table_coords''] ... $cfg[''Servers''][$i][''userconfig''] ...

Pero sí configuré esto en config.inc.php .

En la ventana principal de phpMyadmin, en la pantalla de consultas ejecutadas, veo:

[error] => Table ''phpmyadmin.pma_recent'' doesn''t exist [count] => 1 [query] => SELECT `tables` FROM `phpmyadmin`.`pma_recent` WHERE `username` = ''root''

Sin embargo, cuando ejecuto mysql -u root -p desde la línea de comandos, entonces use phpmyadmin; y show tables; , Obtengo una lista:

+-----------------------+ | Tables_in_phpmyadmin | +-----------------------+ | pma__bookmark | | pma__column_info | | pma__designer_coords | | pma__history | | pma__navigationhiding | | pma__pdf_pages | | pma__recent | | pma__relation | | pma__savedsearches | | pma__table_coords | | pma__table_info | | pma__table_uiprefs | | pma__tracking | | pma__userconfig | | pma__usergroups | | pma__users | +-----------------------+

¿Qué pasa?

(¿Vi la "respuesta" en phpMyAdmin - config.inc.php configuration?, Pero no sirve de nada).

Aquí está el inicio de config.inc.php , con algunos comentarios desglosados ​​y la información confidencial oscurecida.

<?php $cfg[''blowfish_secret''] = ''my secret''; /* Servers configuration */ $i = 0; /* Server: localhost [1] */ $i++; $cfg[''Servers''][$i][''verbose''] = ''my localhost''; $cfg[''Servers''][$i][''host''] = ''localhost''; $cfg[''Servers''][$i][''port''] = ''''; $cfg[''Servers''][$i][''socket''] = ''/tmp/mysql.sock''; $cfg[''Servers''][$i][''connect_type''] = ''tcp''; $cfg[''Servers''][$i][''extension''] = ''mysqli''; /* Authentication type */ $cfg[''Servers''][$i][''auth_type''] = ''cookie''; $cfg[''Servers''][$i][''user''] = ''root''; $cfg[''Servers''][$i][''password''] = ''''; /* * phpMyAdmin configuration storage settings. */ /* User used to manipulate with storage */ $cfg[''Servers''][$i][''controluser''] = ''mypmacontroluser''; $cfg[''Servers''][$i][''controlpass''] = ''mypassword''; /* Storage database and tables */ $cfg[''Servers''][$i][''pmadb''] = ''phpmyadmin''; $cfg[''Servers''][$i][''bookmarktable''] = ''pma_bookmark''; $cfg[''Servers''][$i][''relation''] = ''pma_relation''; $cfg[''Servers''][$i][''table_info''] = ''pma_table_info''; $cfg[''Servers''][$i][''table_coords''] = ''pma_table_coords''; $cfg[''Servers''][$i][''pdf_pages''] = ''pma_pdf_pages''; $cfg[''Servers''][$i][''column_info''] = ''pma_column_info''; $cfg[''Servers''][$i][''history''] = ''pma_history''; $cfg[''Servers''][$i][''table_uiprefs''] = ''pma_table_uiprefs''; $cfg[''Servers''][$i][''tracking''] = ''pma_tracking''; $cfg[''Servers''][$i][''designer_coords''] = ''pma_designer_coords''; $cfg[''Servers''][$i][''userconfig''] = ''pma_userconfig''; $cfg[''Servers''][$i][''recent''] = ''pma_recent''; $cfg[''Servers''][$i][''users''] = ''pma__users''; $cfg[''Servers''][$i][''usergroups''] = ''pma__usergroups''; $cfg[''Servers''][$i][''navigationhiding''] = ''pma__navigationhiding''; /* End of servers configuration */


No crees ese archivo a mano. Use el asistente de configuración a través del navegador para crear una configuración válida.