Eu tive esse mesmo problema e, quando tentei acessar sem informar senha, deu certo. Achei estranho, pois qd criei o usuário, através do mysql-admin, informei uma senha para a conta. Talvez a senha não tenha sido gravada, sei lá.
Em 5 de maio de 2010 14:22, Notrev <[email protected]> escreveu: > Você adicionou o outro usuário ao mysql? > > Abraço > > 2010/5/5 Fagner Patricio <[email protected]> > > Olá pessoal!! >> >> Eu sei que essa pergunta não deveria ser aqui, mas como eu sei que aqui >> alguém pode me ajudar!!! >> >> Vejam só, eu instalai o MySQL server aqui e estou tentando me conectar >> nele pelo próprio local host, com o usuário root funciona que é uma beleza >> >> supo...@bacula:~$ mysql -h localhost -u root -pXXXXX mysql >>> Reading table information for completion of table and column names >>> You can turn off this feature to get a quicker startup with -A >>> >>> Welcome to the MySQL monitor. Commands end with ; or \g. >>> Your MySQL connection id is 59 >>> Server version: 5.1.41-3ubuntu12 (Ubuntu) >>> >>> Type 'help;' or '\h' for help. Type '\c' to clear the current input >>> statement. >>> >>> mysql> >>> >> >> Mas se eu usar um outro usuário para acessar uma base de dados não dar >> >> supo...@bacula:~$ mysql -h localhost -u bacula -pXXXXX bacula >>> ERROR 1045 (28000): Access denied for user 'bacula'@'localhost' (using >>> password: YES) >>> supo...@bacula:~$ >>> >> >> Alguém sabe me dizer onde é o problema? >> >> -- >> Fagner Patrício >> João Pessoa - PB >> Brasil >> > > > > -- > "What he learns we all learn. What he knows we all benefit from" Linux, The > future is Open > > Éverton M. Arruda Jr. (Notrev) - http://earruda.eti.br > Debian-AM - http://am.debianbrasil.org/ > Projeto Software Livre Amazonas (PSL-AM) - http://am.softwarelivre.org > Comunidade Software Livre - http://www.comunidadesol.org > -- Luciano Marques Goiânia - GO Brasil

