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.
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
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...
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