Setup: MYSQL server running on Linux Problem: root account password is lost. You need a method to reset the password and login. Solution: Stop MySQL On Debian or Ubuntu or on CentOS, Fedora, and RHEL: Next we need to start MySQL in safe mode. You should be loged in as root now, as we skipped […]
Articles Tagged: Password
Store a secure string (eg. a password) localy on disk in PowerShell
Setup: A computer with PowerShell Problem: You need to run scripts which require credentials, unattended. You can store the password on the disk and load at runtime. Solution: Run this command to create a file to store the password Add these in your script to create a credential object at runtime: