Linux installation mysql prompts initialization failed

王林
Release: 2020-02-15 16:09:52
Original
4960 people have browsed it

Linux installation mysql prompts initialization failed

Question:

When building a mysql database on the Alibaba Cloud remote server, the prompt during installation is as follows:

FATAL ERROR: please install the following Perl modules before executing ./scripts/mysql_install_db:Data::Dumper

(Related learning video sharing:linux video tutorial

Solution:

Install the autoconf library

First execute the command:

yum -y install autoconf
Copy after login

After the installation is completed, continue to execute the command to install mysql, as follows:

./scripts/mysql_install_db --user=mysql
Copy after login

Complete!

Recommended related articles and tutorials:linux tutorial

The above is the detailed content of Linux installation mysql prompts initialization failed. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!