How to factory Reset a HP E3000 Switch

On 13 September 2017, in HP, Networking, by Himselff

– in console, enter the following commnand :

erase startup-config

– the switch will prompt to validate , press “Y” and voilà !

– if the switch use to belong to a stack enter the following command :

stacking factory-reset

Tagged with:  

How to reset root password on mysql server

On 26 April 2011, in Mysql, by Himselff

1. Stop MySQL services

2.  Start them back in safe mode (mysqld_safe –skip-grant-tables &)

3. mysql -u root mysql

4. At the prompt, run the following command, changing abcd by your new password :

UPDATE user SET password=PASSWORD(“abcd”) WHERE user=”root”;

5. There you go , just enter that command to test, it will prompt for the password :

mysql -uroot -p

Tagged with: