My MySQL's concise installation method!

xiaoxiao2021-03-06  55

1 download mysql -xxx.tar.gz first

2. Unzip: TAR ZXVF mysql-3.22.32.tar.gz

3. CD mysql -3.22.32

4. Directory: ./ 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. Open /etc/rc.d/rc.local by kwrite, add this to the following to automatically perform mysql

/us/local/mysql/share/mysql/mysql.server start

(Reposted)

转载请注明原文地址:https://www.9cbs.com/read-113649.html

New Post(0)