This article shares the specific steps of installing MySQL in binary mode on Linux for your reference. The specific contents are as follows 1. Download the binary file Download mysql-5.6.36-linux-glibc2.5-i686.tar.gz from the official website. 2. Unzip the file and move it to the /usr/local/mysql directory tar -zxvf mysql-5.6.36-linux-glibc2.5-i686.tar.gz 3. Create user groups and users and configure groupadd mysql useradd mysql -g mysql chown -R mysql /usr/local/mysql/ chgrp -R mysql /usr/local/mysql/ 4. Installation and initialization #Install mysql /usr/local/mysql/scripts/mysql_install_db --user=root #Configure mysql startup file cp /usr/local/mysql/support-files/my-default.cnf /etc/my.cnf #Add the mysqld service to the system cp /usr/local/mysql/share/mysql/mysql.server /etc/init.d/mysqld #Soft link the mysql command to the system command ln -s /usr/local/mysql/bin/mysql /usr/bin/mysql 5. Start service test service mysqld start mysql -u root The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Use javascript to create dynamic QQ registration page
>>: Detailed installation and use of SSH in Ubuntu environment
This is a test of the interviewee's basic kno...
1. Introduction Whether the creation time of a fi...
In the previous chapters, we have learned how to ...
Go is an open source programming language that ma...
If you only want to back up a few tables or a sin...
I encountered a problem today: Can I use the as a...
Delete a file by its inode number First use ls -i...
Copy code The code is as follows: <div style=&...
Preface Tip: The following is the main content of...
Table of contents 01 CMD 02 ENTRYPOINT 03 WORKDIR...
This article shares the specific code of Vue to r...
Table of contents 1. Installation 2. Use Echarts ...
After I found that the previous article solved th...
Table of contents 1. Component Communication 1. P...
Table of contents Results at a Glance Heart Effec...