Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

migrated from Jun 1 '14 at 15:43

This question came from our site for professional and enthusiast programmers.

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 posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.