Olá Vinícius eu tive o mesmo problema. Se você faz uma copia do
arquivo conf/config.ini.php no directorio principal vai functionar
correitamente.
On 6 nov, 13:29, "Vinícius Abrahão Bazana Schmidt"
<[EMAIL PROTECTED]> wrote:
> Caro(as) irmano(as) slackers,
>
> Estou há umas 24 horas apanhando covardemente do phpMyAdmin.
> Oque quero fazer é algo muito simples: instalar o phpMyAdmin usando o tipo
> de autenticação config.
>
> Portanto criei um usuário:
>
> insert into user set host='%'
> ,user='mysqladmin',password=PASSWORD('mysqladmin')
> ,select_priv='Y'
> ,insert_priv='Y'
> ,update_priv='Y'
> ,delete_priv='Y'
> ,create_priv='Y'
> ,drop_priv='Y'
> ,reload_priv='Y'
> ,shutdown_priv='Y'
> ,process_priv='Y'
> ,file_priv='Y'
> ,grant_priv='Y'
> ,references_priv='Y'
> ,index_priv='Y'
> ,alter_priv='Y'
> ,show_db_priv='Y'
> ,super_priv='Y'
> ,create_tmp_table_priv='Y'
> ,lock_tables_priv='Y'
> ,execute_priv='Y'
> ,repl_slave_priv='Y'
> ,repl_client_priv='Y'
> ,create_view_priv='Y'
> ,show_view_priv='Y'
> ,create_routine_priv='Y'
> ,create_user_priv='Y'
> ,ssl_type=''
> ,ssl_cipher=''
> ,x509_issuer=''
> ,x509_subject=''
> ,max_questions=0
> ,max_updates=0
> ,max_connections=0
> ,max_user_connections=0;
>
> insert into user set host='localhost'
> ,user='mysqladmin',password=PASSWORD('mysqladmin')
> ,select_priv='Y'
> ,insert_priv='Y'
> ,update_priv='Y'
> ,delete_priv='Y'
> ,create_priv='Y'
> ,drop_priv='Y'
> ,reload_priv='Y'
> ,shutdown_priv='Y'
> ,process_priv='Y'
> ,file_priv='Y'
> ,grant_priv='Y'
> ,references_priv='Y'
> ,index_priv='Y'
> ,alter_priv='Y'
> ,show_db_priv='Y'
> ,super_priv='Y'
> ,create_tmp_table_priv='Y'
> ,lock_tables_priv='Y'
> ,execute_priv='Y'
> ,repl_slave_priv='Y'
> ,repl_client_priv='Y'
> ,create_view_priv='Y'
> ,show_view_priv='Y'
> ,create_routine_priv='Y'
> ,create_user_priv='Y'
> ,ssl_type=''
> ,ssl_cipher=''
> ,x509_issuer=''
> ,x509_subject=''
> ,max_questions=0
> ,max_updates=0
> ,max_connections=0
> ,max_user_connections=0;
>
> insert into db set host='%'
> ,db='%'
> ,user='mysqladmin'
> ,select_priv='Y'
> ,insert_priv='Y'
> ,update_priv='Y'
> ,delete_priv='Y'
> ,create_priv='Y'
> ,drop_priv='Y'
> ,grant_priv='Y'
> ,references_priv='Y'
> ,index_priv='Y'
> ,alter_priv='Y'
> ,create_tmp_table_priv='Y'
> ,lock_tables_priv='Y'
> ,create_view_priv='Y'
> ,show_view_priv='Y'
> ,create_routine_priv='Y'
> ,alter_routine_priv='Y'
> ,execute_priv='Y';
>
> flush privileges;
>
> Então obviamente quando eu me logo no mysql funciona direitinho:
>
> [EMAIL PROTECTED]:~# mysql -u mysqladmin -h localhost -p
> Enter password:
> Welcome to the MySQL monitor. Commands end with ; or \g.
> Your MySQL connection id is 327
> Server version: 5.0.37 Source distribution
>
> Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
>
> mysql>
>
> Tudo muito bom , tudo muito bem, mas o phpMyAdmin parece não entender as
> configurações
> do arquivo config.inc.php
>
> $i++;
> /* Authentication type */
> $cfg['Servers'][$i]['auth_type'] = 'config';
> /* Server parameters */
> $cfg['Servers'][$i]['host'] = 'localhost';
> $cfg['Servers'][$i]['user'] = 'mysqladmin';
> $cfg['Servers'][$i]['password'] = 'xxxxxxxx';
> $cfg['Servers'][$i]['connect_type'] = 'tcp';
> $cfg['Servers'][$i]['compress'] = false;
>
> Independente do que esteja no arquivo ele sempre mostra o mesmo erro:
> #1045 - Access denied for user 'root'@'localhost' (using password: NO)
>
> Fiz alguns testes e tenho certeza que o arquivo config.inc.php está sendo
> lido corretamente.
>
> Qualquer luz que os amigos puderem mandar será muito bem vinda!
>
> Obrigado desde já,
> Vinícius
>
> PS:
> - Linux vinnix 2.6.22.6-triarius #8 SMP (mas importa muito mas vá lá)
> - PHP Version 5.2.4
> - Apache/2.2.6
> - MySql Client API version 5.0.37
--~--~---------~--~----~------------~-------~--~----~
GUS-BR - Grupo de Usuários de Slackware Brasil
http://www.slackwarebrasil.org/
http://groups.google.com/group/slack-users-br
-~----------~----~----~----~------~----~------~--~---