search

Home  >  Q&A  >  body text

mysql scripts presented /usr/bin/perl: bad interpreter

-bash: scripts/mysql_install_db: /usr/bin/perl: bad interpreter: No such file or directory
但我已经yum -y install perl perl-devel

ringa_leeringa_lee2766 days ago1203

reply all(2)I'll reply

  • 代言

    代言2017-06-26 10:51:24

    First confirm the files that exist in scripts/mysql_install_db and /usr/bin/perl respectively.
    It’s uncertain whether it will be stored in this place after installation. You need to confirm first.

    Just initialize the database after installation

    Reference:
    http://arthur376.blog.51cto.c...

    reply
    0
  • 女神的闺蜜爱上我

    女神的闺蜜爱上我2017-06-26 10:51:24

    First confirm whether these files are there, including mysql_install_db and perl. If they are there, then confirm whether your user's environment variables use perl in this location. If not, confirm whether you installed it in this location. If not, confirm whether it is installed in this location. You need to modify your environment variables to point to the directory where perl is located

    reply
    0
  • Cancelreply