1. Stop the current MySQL server instance: sudo service mysql stop.
  2. Use dpkg to re-run the configuration process that MySQL goes through on first installation. You will again be asked to set a root password. sudo dpkg-reconfigure mysql-server-5.5 or whatever your mysql-server version.

    Screenshot from 2016-06-23 12:20:45
    Screenshot from 2016-06-23 12:20:54

  3. Then start MySQL: sudo service mysql start.

Comments


Stop the current MySQL server instance: sudo service mysql stop. Use dpkg to re-run the configuration process that MySQL...

Read Post

Stop the current MySQL server instance: sudo service mysql stop. Use dpkg to re-run the configuration process that MySQL...

Read Post

Leave a Reply

Your email address will not be published. Required fields are marked *