Year: 2017

Linux MySQL

Mysql root password change

1.Stop mysql service 2.then run this command mysqld_safe –skip-grant-tables & 3.mysql -u root 4.Run Below Command:- use mysql; update user set password=PASSWORD(“mynewpassword”) where User=’root’; flush privileges; quit 5.stop start mysql service  and you’re good to go 🙂 Reference Link : https://www.howtoforge.com/setting-changing-resetting-mysql-root-passwords

Linux Windows

Openvpn configuration ( debian server & client)

Server apt-get install openvpn go into /etc/openvpn/, make a directory easy-rsa ( mkdir easy-rsa ), then run the below command accordingly to your release version :- Wheezy cp -R /usr/share/doc/openvpn/examples/easy-rsa/2.0* easy-rsa/ Jessie and above apt-get install easy-rsa cp -R /usr/share/easy-rsa/* easy-rsa/ Edit /etc/openvpn/easy-rsa/vars bottom according to your organization. Then execute the following command # cd […]

Back To Top