Skip to main content

How to install MYSQL server correctly.



  • sudo apt update
  • sudo apt install mysql-server
  • sudo mysql_secure_installation
log into mysql server

  • sudo mysql
  • SELECT user,authentication_string,plugin,host FROM mysql.user;
then you can find root has no password. Add password for user you want by alter your user. eg : I replace my password to root by password ad password.

  • ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
  • FLUSH PRIVILEGES;
then check password.

  • SELECT user,authentication_string,plugin,host FROM mysql.user;
  • exit

Comments

Popular posts from this blog

Games HD wallpapers pack

68 items                                                             Download

The Jungle Book Waterfall Rescue (2015)

Your favorite Jungle Book characters return to save the day in the exciting Waterfall Rescue. Join Mowgli, Baloo and Lali on a brave mission to rescue their animal friends and save their jungle home. Download Direct Download Torrent

How to Make Chocolate Cheesecake

Ingredients for Chocolate Cheesecake 1 1/4 cups graham cracker crumbs 2 tablespoons sugar Three tablespoons butter or margarine melted 2 pounds cream cheese 1 cup of sugar 8 ounces sour cream 1/4 cup cocoa 2 eggs 1 cup flour 3/4 cup heavy whipping cream Instructions for Chocolate Cheesecake Click here to view full article.