[FUG-BR] [OFF-TOPPIC] Problemas com Mysql 5.1.38

Marcel Bonnet marcelbonnet em gmail.com
Quarta Outubro 28 19:40:18 BRST 2009


Cara, veja se isso resolve:  mysql> grant all on scrat.* to 'usuario'@'%';
note a aspa simples no '%'
Copiando tuas linhas não deu certo, mas veja assim como te mostrei acima:

[marcelbonnet em moon /usr/home/marcelbonnet]$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 13
Server version: 5.0.86 FreeBSD port: mysql-server-5.0.86

Type 'help;' or '\h' for help. Type '\c' to clear the current input
statement.

mysql> create user 'usuario'@'%' identified by '123qwe456';
Query OK, 0 rows affected (0.00 sec)

mysql> grant all on scrat.* to 'usuario'@'%';
Query OK, 0 rows affected (0.00 sec)

mysql> exit
Bye
[marcelbonnet em moon /usr/home/marcelbonnet]$ mysql -u usuario -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 14
Server version: 5.0.86 FreeBSD port: mysql-server-5.0.86

Type 'help;' or '\h' for help. Type '\c' to clear the current input
statement.

mysql>





2009/10/28 Nilton Jose Rizzo <rizzo em i805.com.br>

>
>  Pessaos alguem pode me ajudar ....
>
>   Estou com problemas com um server Mysql 5.1.38 em um FreeBSD 7.2STABLE
>
>   O caso é o seguinte .. criei um usuario com senha da seguinte forma
>
>   create user 'usuario'@'%' identified by '123qwe456';
>
>   grant all on banco.* to 'usuario';
>
>  bom quando eu logo dessa forma
>
>   mysql -u usuario  -p
>
>   ele diz:
>
> myserver# mysql -u usuario -p
> Enter password:
> ERROR 1045 (28000): Access denied for user 'usuario'@'localhost' (using
> password: YES)
>
> e quando faço :
>
> server# mysql -u usuario
> Welcome to the MySQL monitor.  Commands end with ; or \g.
> Your MySQL connection id is 86137
> Server version: 5.1.38 FreeBSD port: mysql-server-5.1.38
>
> Type 'help;' or '\h' for help. Type '\c' to clear the current input
> statement.
>
> mysql>
>
> o que fazer??? a senha ta lá o usuario ... sempre fiz assim e funcionou já
> olhei no site do mysql e nada ... ta la igualzinho a isso só que não
> fuinciona
> eu instalei via ports será que esquici de algo?
>
> muito estranho nema o DBdesign consegue logar ... estranho ...
>
>
>
>
>
> --
> Nilton José Rizzo
> 805 Informatica
> Disseminando tecnologias
> 021 2413 9786
>
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>


Mais detalhes sobre a lista de discussão freebsd