antiblock
Rodnia | Alpha & Omega
  • Chatbox

    Did you check out our Discord? https://discord.gg/FFdvMjk9xA
    You don't have permission to chat.
    Load More
  • 0
Criteriongames

Troca De Senha Da Mysql !

Question

Bom dia 

Boa tarde

Boa noite ,.

Estou com uma dúvida que me deixou com uma dorzinha de cabeça 

Qual é a dúvida ?

Estou tentando trocar a senha da minha "Db-MySQL" mas me acontece um erro . !

após eu tentar os comandos abaixo :

 

COMANDO:

 /usr/local/etc/rc.d/mysql-server stop

 
mysqld_safe --skip-grant-tables &
 
mysql -u root
 
use mysql
 
update user set password=PASSWORD('123456') where user='5hUst5xuSwENUwA';
 
flush privileges;
 
quit
 
/usr/local/etc/rc.d/mysql-server stop
 
/usr/local/etc/rc.d/mysql-server start
 
/usr/local/etc/rc.d/mysql-server restart
 
e no final um "reboot" !
 
Após o reboot , faço o id e senha e um /etc/rc.d/netif restart após isso vou testar na navicat 
Coloco o IP 192.168.5.100 , Username : 5hUst5xuSwENUwA , e a PW : 123456
após eu fazer isso dai-me erro merda , "Print do erro abaixo "
 
 
se possível me ajudar "Agradeço" <3 e concerteza darei  :+1: 
 
 

Share this post


Link to post
Share on other sites

7 answers to this question

antiblock
diamwall
  • 0

Estou com o mesmo problema , se achar a solução me ajuda obrigada !

Tudo bem  :haha:

Share this post


Link to post
Share on other sites
  • 0

Tenta os seguintes comandos (E diz me como correu :) ):

service mysql-server stop

mysqld_safe –skip-grant-tables -u root &

mysql -u root

use mysql;

update user set password=PASSWORD("123456") where user="5hUst5xuSwENUwA"; 

flush privileges;

quit

service mysql-server restart

Share this post


Link to post
Share on other sites
  • 0
Em 08/11/2016 at 11:07, Keselth™ disse:

Tenta os seguintes comandos (E diz me como correu :) ):


service mysql-server stop

mysqld_safe –skip-grant-tables -u root &

mysql -u root

use mysql;

update user set password=PASSWORD("123456") where user="5hUst5xuSwENUwA"; 

flush privileges;

quit

service mysql-server restart

http://imgur.com/a/PPMgR , Deu-me isso !

Share this post


Link to post
Share on other sites
  • 0

Das login na conta e usas os seguintes comandos

/usr/local/etc/rc.d/mysql-server stop

mysqld_safe --skip-grant-tables &

mysql -u root

use mysql

update user set password=PASSWORD('password desejada') where user='root(id da conta)';

flush privileges;

quit

service mysql-server restart
 

Share this post


Link to post
Share on other sites
  • 0

O mais simples para alterar seria:

Logas-te no navicate

Seleccionas users

Editas o %@root password

Reboot 

Sejao fexzes... xDxD

Share this post


Link to post
Share on other sites
  • 0
Em 25/10/2016 at 09:51, Criteriongames disse:

Bom dia 

Boa tarde

Boa noite ,.

Estou com uma dúvida que me deixou com uma dorzinha de cabeça 

Qual é a dúvida ?

Estou tentando trocar a senha da minha "Db-MySQL" mas me acontece um erro . !

após eu tentar os comandos abaixo :

 

COMANDO:

 /usr/local/etc/rc.d/mysql-server stop

 
mysqld_safe --skip-grant-tables &
 
mysql -u root
 
use mysql
 
update user set password=PASSWORD('123456') where user='5hUst5xuSwENUwA';
 
flush privileges;
 
quit
 
/usr/local/etc/rc.d/mysql-server stop
 
/usr/local/etc/rc.d/mysql-server start
 
/usr/local/etc/rc.d/mysql-server restart
 
e no final um "reboot" !
 
Após o reboot , faço o id e senha e um /etc/rc.d/netif restart após isso vou testar na navicat 
Coloco o IP 192.168.5.100 , Username : 5hUst5xuSwENUwA , e a PW : 123456
após eu fazer isso dai-me erro merda , "Print do erro abaixo "
 
 
se possível me ajudar "Agradeço" <3 e concerteza darei  :+1: 
 
 

der uma olhada de novo no que vc estar fazendo
provavelmente vc estar colocando 2 ip diferentes

o ip da imagem print é de hamachi o da sua maquina  deve ser 192.168.5.100 , como vc falouai no tópico

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now