I followed a tutorial to update My MySql 5.1 to 5.5 (actually i wanted to upgrade to 5.6, but the tutorial mentioned that i should upgrade to 5.5 first and then to 5.6).

However, after removing previous version and updating mysql configuration and path environment variable, i'm stuck at starting the server and upgrading. I'm a newbie i this field and i don't know what to do now.

These are the steps i followed:

  1. Stopped mysql service, Copied mysql data files and configuration files.
  2. Removed version 5.1.
  3. Downloaded 5.5 and installed it.
  4. Updated start-up script to register the new installation.
  5. Updated Path Environment Variable.
  6. Updated MySql Configuration.
  7. Made appropriate changes to path to mysql plugins directory.
  8. Creates mysqld symbolic link in /usr/sbin/ directory.

Now the final step was to start the server and upgrade it. So i tried sudo /usr/sbin/mysqld --skip-grant-tables, but it says sudo: /usr/sbin/mysqld: command not found.

i don't know what to do now. I'm stuck at this from the last 4 hours. I was following this tutorial.

  • I think you will have more luck with this on DBA SE. – Patrick Hofman May 31 '14 at 12:05
  • What's that. Another DBMS? – Kanav May 31 '14 at 12:08
  • Yep, DBA SE is where your question belongs... – CreativeMind May 31 '14 at 12:14

Your Answer

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

Browse other questions tagged or ask your own question.