In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The following is about how to solve mysql installation errors. The secret of the text is that it is close to the topic. So, no gossip, let's go straight to the following, I believe you will benefit from reading this article on how to solve mysql installation errors.
Problem!
[root@lsx-001 mysql] # / scripts/mysql_install_db-- user=mysql-- datadir=/data/mysql
FATAL ERROR: please install the following Perl modules before executing. / scripts/mysql_install_db:
Data::Dumper
Solution installation
[root@lsx-02 mysql] # yum install-y autoconf
[root@lsx-001 mysql] # yum list | grep-I perl | grep-I dumper
Perl-Data-Dumper.x86_64 2.145-3.el7 base
two。
Installing MySQL system tables..../bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
[root@lsx-02 mysql] # yum list | grep 'libaio'
[root@lsx-02 mysql] # yum install-y libaio-devel.x86_64
3. Start error Starting MySQL.Logging to'/ data/mysql/localhost.localdomain.err'.
. / usr/local/mysql/bin/mysqld_safe: line 178: 2830 Killed nohup / usr/local/mysql/bin/mysqld-basedir=/usr/local/mysql-- datadir=/data/mysql-- plugin-dir=/usr/local/mysql/lib/plugin-- user=mysql-- log-error=/data/mysql/localhost.localdomain.err-- pid-file=/data/mysql/localhost.localdomain.pid
< /dev/null >/ dev/null 2 > & 1
ERROR! The server quit without updating PID file (/ data/mysql/localhost.localdomain.pid).
Solution:
1.cd / usr/local/mysql (enter the mysql installation directory)
2.chown-R mysql.mysql.
3.su-mysql
4.cd / usr/local/mysql
5.scripts/mysql_install_db
Is there anything you don't understand about the above solutions to mysql installation errors? Or if you want to know more about it, you can continue to follow our industry information section.
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.