Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

check mysql username and password ubuntu

sudo mysql -u root
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'YOUR_PASSWORD_HERE';
FLUSH PRIVILEGES;

mysql -u root -p # and it works
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #mysql #username #password #ubuntu
ADD COMMENT
Topic
Name
8+8 =