Take the 2-minute tour ×
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. It's 100% free, no registration required.

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 stackoverflow.com Jun 1 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 at 12:05
    
What's that. Another DBMS? –  Kanav May 31 at 12:08
    
Yep, DBA SE is where your question belongs... –  CreativeMind May 31 at 12:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.