[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 303
  • Last Modified:

Problem when starting MySQL shipped with Fedora 7

Hi experts,
  When I tried to start the MySQL that was shipped with Fedora 7, I got the "[ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist".
  I am not sure what to do about this. Could you please tell me what I should do to start this?

1 Solution
You need to edit the my.ini file propably located in /etc/ or /etc/mysql and set the paramter that you are missing.
michaelzhou23Author Commented:
Thanks for the reply.
I went through the forum link ownesleftfoot provided. However, the datadir in my.cnf is /var/lib/mysql, which is the default one.
I cannot find the my.ini file using the whereis command. Also could you be more specific as what parameters to set?
I am a total newbie to Linux so i guess there needs some time for me to wrap up some basic stuff.

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now