Ubuntu 16.04 64 bit, unity, latest version of xampp. How to run

mysql_upgrade -u root -p

I tried running it in home directory and /opt/lampp/bin and /opt/lampp/, nothing worked.

1 Answer 1


You can do this if you follow this steps:

  1. Go to the xampp directory: cd /opt/lampp/

  2. Go to the bin directory: cd bin

  3. Execute the script: ./mysql_upgrade

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.