Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Mysql_install_db: / usr/bin/perl: bad interpreter:

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Centos 7 installation mysql error-bash:. / scripts/mysql_install_db: / usr/bin/perl: bad interpreter: No such file or directory

[root@localhost mysql] #. / scripts/mysql_install_db-user=mysql

-bash:. / scripts/mysql_install_db: / usr/bin/perl: bad interpreter: No such file or directory

It seems to indicate an error in the annotator. There is no / usr/bin/perl file or file. The solution (install perl and perl-devel):

Execute yum-y install perl perl-devel

Then initialize the database.

Bin/mysql_install_db

FATAL ERROR: please install the following Perl modules before executing / usr/bin/mysql_install_db:

Data::Dumper

Yum install-y perl-Data-Dumper is fine.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report