Comments - problem while starting mariadb server?

10 years, 9 months ago Honza Horak

Defining PATH won't help, because you need to run the daemon as non-root user, Fedora created user mysql for that purpose.

 
10 years, 9 months ago rohit bishnoi

ok can you please give me your e-mail id so that i can send you the log file.

because it is not possible to paste the large amount of text here.

 
10 years, 9 months ago Honza Horak

I see errors in the log file like:

[ERROR] mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)

and similar. It seems the data directory is damaged somehow.

This may happen when you try to use data files from another system or the upgrading process got wrong.

However, you wrote that you had installed Fedora 19 together with the mariadb packages, so I understood you hadn't done any data upgrade and you had installed it from scratch, right?

Then you should be able to delete the data directory content using: rm -rf /var/lib/mysql/* and it should be initialized from scratch during the next start.

 
10 years, 9 months ago Honza Horak

Sure, you can reach me at hhorak at redhat dot com.

 
10 years, 9 months ago rohit bishnoi

Thank you very much hhorak it works.

after deleting /var/lib/mysql/* i am able to start the database.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.