Question: how to change username and password mysql?
Answer: Open the bash shell and connect to the server as root user.
mysql -u root -h localhost -p.
Run command:
ALTER USER 'userName'@'localhost' IDENTIFIED BY 'New-Password-Here';