• Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
Mastema

Como Descubrir

Question

Como descubrir a senha da maquina virtual e do navicat, de umas filles .tar.gz

 

 

Hidden Content

    Give reaction or reply to this topic to see the hidden content.
  a quem me ajudar :)

Share this post


Link to post
Share on other sites

21 answers to this question

  • 0

MySQL:

 

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

mysqld_safe --skip-grant-tables &

mysql -u root

use mysql

update user set password=PASSWORD('novapassword') where user='root';

flush privileges;

quit;

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

 

FreeBSD:

Boot FreeBSD em single user mode

 

Quando aparecer: When prompted Enter full pathname of shell or RETURN for /bin/sh:   Carregar em [ENTER]

fsck -y

mount -u /

mount -a

passwd

quit
 

Share this post


Link to post
Share on other sites
  • 0

Cenoura fiz exatamente como escreves-te e não consegui alterar a password do mysql dame sempre erro nesta parte "update user set password=PASSWORD('novapassword') where user='root';"

 

Se me conseguisses ajudar pff

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

 

Mas alterar a password da maquina virtual funcionou ;)

Share this post


Link to post
Share on other sites
  • 0

Cenoura fiz exatamente como escreves-te e não consegui alterar a password do mysql dame sempre erro nesta parte "update user set password=PASSWORD('novapassword') where user='root';"

 

Se me conseguisses ajudar pff

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

 

Mas alterar a password da maquina virtual funcionou ;)

 

Print do Erro por favor. 

Share this post


Link to post
Share on other sites
  • 0


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

> mysqld_safe --skip-grant-tables &

> {ENTER}

> mysql -u root

> use mysql

> update user set password=PASSWORD('password') where user='root';

> flush privileges;

> quit

> service mysql-server restart

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
Sign in to follow this