Comment 1 for bug 1396035

Revision history for this message
Nilnandan Joshi (nilnandan-joshi) wrote :

Able to reproduce the same with CentOS 6.5 and PS 5.6.21-70.1.

[root@centos65 ~]# cd /usr/share/mysql-test/
[root@centos65 mysql-test]# ./mtr analyze
Logging: ./mtr analyze
mysql-test-run: *** ERROR: Could not find any of /usr/share/mysql/charsets /usr/sql/share/charsets /usr/share/charsets
[root@centos65 mysql-test]#

Added this, ln -s /usr/share/percona-server/charsets /usr/share/mysql

and it works, but giving another error.

[root@centos65 mysql-test]# ./mtr analyze
Logging: ./mtr analyze
2014-11-26 12:33:25 2471 [ERROR] Can't find messagefile '/usr/share/mysql/errmsg.sys'
2014-11-26 12:33:25 2471 [Note] Plugin 'FEDERATED' is disabled.
2014-11-26 12:33:25 2471 [Note] Binlog end
2014-11-26 12:33:25 2471 [Note] Shutting down plugin 'CSV'
2014-11-26 12:33:25 2471 [Note] Shutting down plugin 'MyISAM'
MySQL Version 5.6.21
Checking supported features...
 - SSL connections supported
Collecting tests...
Removing old var directory...
Creating var directory '/usr/share/mysql-test/var'...
Installing system database...
 - from '/usr/mysql-test/lib/init_db.sql'
mysql-test-run: *** ERROR: Can't open '/usr/mysql-test/lib/init_db.sql': No such file or directory
[root@centos65 mysql-test]#

Dont know why its searching /usr/mysql-test where it is at /usr/share/mysql. I even can't able to find init_db.sql

[root@centos65 mysql-test]# find / -name init_db.sql
[root@centos65 mysql-test]#
[root@centos65 mysql-test]# pwd
/usr/share/mysql-test
[root@centos65 mysql-test]# find . -name init_db.sql
[root@centos65 mysql-test]#