Bug #68952 Can't run mysql_install_db on 5.5.28 (linux kernel) Binary: performance_schema
Submitted: 14 Apr 2013 4:59 Modified: 15 Apr 2013 5:05
Reporter: Nehal Banglo Email Updates:
Status: Not a Bug Impact on me:
Category:MySQL Server: Installing Severity:S2 (Serious)
Version:5.5.28 OS:FreeBSD
Assigned to: CPU Architecture:Any
Tags: './performance_schema', (Errcode: 0), Can't get stat of, ERROR: 13

[14 Apr 2013 4:59] Nehal Banglo
Can't install system tables, get the following error when running mysql_install_db:

ERROR: 13  Can't get stat of './performance_schema' (Errcode: 0)
130413 20:48:14 [ERROR] Aborting

130413 20:48:14 [Note] /ffp/bin/mysqld: Shutdown complete

How to repeat:
root@DLINK:/srv# /ffp/bin/mysql_install_db --basedir=/ffp
Installing MySQL system tables...

Installation of system tables failed!  Examine the logs in
/srv/mysql/datadir for more information.

You can try to start the mysqld daemon with:

    shell> /ffp/bin/mysqld --skip-grant &

and use the command line tool /ffp/bin/mysql
to connect to the mysql database and look at the grant tables:

    shell> /ffp/bin/mysql -u root mysql
    mysql> show tables

Try 'mysqld --help' if you have problems with paths.  Using --log
gives you a log in /srv/mysql/datadir that may be helpful.

Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS.  Another information source are the
MySQL email archives available at http://lists.mysql.com/.

Please check all of the above before mailing us!  And remember, if
you do mail us, you MUST use the /ffp/scripts/mysqlbug script!

[14 Apr 2013 15:55] Nehal Banglo
Based on my research, I'm guessing it's a permissions issue.. Can you please let me know the correct permissions required on the SRV folder?... also sub folders and root folder..

My structure ffp/bin
[15 Apr 2013 5:05] Umesh Shastry
We're sorry, but the bug system is not the appropriate forum for asking help on using MySQL products. Your problem is not the result of a bug.

Support on using our products is available both free in our forums at http://forums.mysql.com/ and for a reasonable fee direct from our skilled support engineers at http://www.mysql.com/support/

Thank you for your interest in MySQL.

Please reference the manual section for the installation details here: http://dev.mysql.com/doc/refman/5.5/en/binary-installation.html

Also, suggest you to install latest GA http://dev.mysql.com/downloads/mysql/5.5.html#downloads