SoFunction
Updated on 2025-03-09

A brief discussion on some issues in installing MySQL in Linux binary package

first step:Install related dependencies yum install perl-Data-Dumper

Step 2:Initialize the internal information of the mysql database./scripts/mysql_install_db --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data

----------------------------------------------

Whether the binary package can run successfully has nothing to do with whether the dependencies of the rpm package were resolved first.

In other words, even if the rpm package cannot be installed, the binary package can still be installed and run normally.

----------------------------------------------
If MySQL is installed well, it may be caused by /etc/, which comes with the system!

For example, if you cannot update the pid file, service msyqld start will find the specified folder; this kind of thing.

Just replace the old cnf file.

The above article briefly discusses some of the issues in installing MySQL in Linux binary packages is all the content I share with you. I hope you can give you a reference and I hope you can support me more.