Fixed
Created: Aug 20, 2016
Updated: Sep 8, 2018
Resolved Date: Aug 24, 2016
Found In Version: 7.0.0.18
Fix Version: 7.0.0.19
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace
Problem Description
======================
run mysql_setpermission fail.
logs:
root@super_micro-1:~# mysql_setpermission -h
Can't locate DBI.pm in @INC (you may need to install the DBI module) (@INC contains: /etc/perl /usr/lib64/perl/site_perl/5.22.1/ /usr/lib64/perl/site_perl/5.22.1 /usr/lib64/perl/vendor_perl/5.22.1/ /usr/lib64/perl/vendor_perl/5.22.1 /usr/lib64/perl/5.22.1/ /usr/lib64/perl/5.22.1 /usr/local/lib/site_perl /usr/lib64/perl/5.22.1 .) at /usr/bin/mysql_setpermission line 50.
BEGIN failed--compilation aborted at /usr/bin/mysql_setpermission line 50.
Expected Behavior
======================
1), configure
configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=glibc-std --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-test=yes --enable-reconfig --enable-build=profiling --enable-internet-download=yes --with-template=feature/ptest,feature/mariadb,feature/mysql-odbc
make fs
2), boot and login
3), run
# mysql_setpermission -h