Nguyễn Thị Thúy Quỳnh
Member
What is my MySQL username and password in Ubuntu?
Answer
How to retrieve MySQL root password
Answer
How to retrieve MySQL root password
- Log in as root into your server through SSH (eg: puTTY/terminal/bash). Alternatively, run the commands that follow as su or sudo as root user. …
- Navigate to /etc/mysql /cd /etc/mysql.
- View the file my. cnf either using the command cat or use any text editing software (vi/vim/nano).