What is my MySQL username and password in Ubuntu?

What is my MySQL username and password in Ubuntu?
Answer
How to retrieve MySQL root password
  1. 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. …
  2. Navigate to /etc/mysql /cd /etc/mysql.
  3. View the file my. cnf either using the command cat or use any text editing software (vi/vim/nano).
12 дек. 2018 г.
 

Tìm kiếm

Back
Top