Thanks Daws... Looks like i ran into troble again. i have cheched permissions and i cant figure out whats the issue..
mysql-5.1.72-linux-x86_64-glibc23]# ./scripts/mysql_install_db --user=mysql --basedir=/root/perl_modules/mysql-5.1.72-linux-x86_64-glibc23/mysql --datadir=/root/perl_modules/mysql-5.1.72-linux-x86_64-glibc23/mysql/data
Installing MySQL system tables...
150119 1:20:38 [ERROR] /root/perl_modules/mysql-5.1.72-linux-x86_64-glibc23/mysql/bin/mysqld: Can't find file: './mysql/db.frm' (errno: 13)
ERROR: 1017 Can't find file: './mysql/db.frm' (errno: 13)
150119 1:20:38 [ERROR] Aborting
150119 1:20:38 [Note] /root/perl_modules/mysql-5.1.72-linux-x86_64-glibc23/mysql/bin/mysqld: Shutdown complete
Installation of system tables failed! Examine the logs in
/root/perl_modules/mysql-5.1.72-linux-x86_64-glibc23/mysql/data for more information.
You can try to start the mysqld daemon with:
shell> /root/perl_modules/mysql-5.1.72-linux-x86_64-glibc23/mysql/bin/mysqld --skip-grant &
and use the command line tool /root/perl_modules/mysql-5.1.72-linux-x86_64-glibc23/mysql/bin/mysql
to connect to the mysql database and look at the grant tables:
shell> /root/perl_modules/mysql-5.1.72-linux-x86_64-glibc23/mysql/bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /root/perl_modules/mysql-5.1.72-linux-x86_64-glibc23/mysql/data 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 /root/perl_modules/mysql-5.1.72-linux-x86_64-glibc23/mysql/scripts/mysqlbug script!