Introduction: MySQL databaseThere are a lot of applications in today's society. Not everyone will install MySQL databases. This article will introduce you to the installation of MySQL databases.
1. Download mysql -XXX.tar.gz first
2. Unzip the tar zxvf mysql-3.22.32.tar.gz
3. cd mysql-3.22.32
4. The installation directory is not fixed:./configure -- prefix =/your path/mysql
5. make
6. make install
7. cd scripts
8 ../mysql_install_db
9. cd/usr/local/mysql/share/mysql/
10. chmod 611 mysql. server
11. cp/usr/local/mysql/scripts/mysql. server/usr/local/mysql/bin
12./mysql. server start
13. Use Kwrite to open the/etc/rc. d/rc. local file and add the following lines to automatically execute MySQL during startup.
/Usr/local/mysql/share/mysql. server start
There are many installation methods for MySQL databases. Here we will introduce this method to you. What I will introduce is not omnipotent. If you have any good comments, you are always welcome to share with me.