2015-07-11 87 views

回答

2

除了应用补丁程序或学习之外,没有什么好的理由这样做。如果您在个人计算机以外的任何设备上安装此软件,请考虑使用您的分发包管理器。从the docs这些supported platforms

之前您继续从源代码安装,检查甲骨文是否会产生对你的平台预编译的二进制分发,以及它是否适合你。我们花费了大量精力确保我们的二进制文件具有最佳性能的最佳选项。

# Preconfiguration setup 
shell> groupadd mysql 
shell> useradd -r -g mysql mysql 
# Beginning of source-build specific instructions 
shell> tar zxvf mysql-VERSION.tar.gz 
shell> cd mysql-VERSION 
shell> cmake . 
shell> make 
shell> make install 
# End of source-build specific instructions 
# Postinstallation setup 
shell> cd /usr/local/mysql 
shell> chown -R mysql . 
shell> chgrp -R mysql . 
shell> scripts/mysql_install_db --user=mysql 
shell> chown -R root . 
shell> chown -R mysql data 
shell> bin/mysqld_safe --user=mysql & 
# Next command is optional 
shell> cp support-files/mysql.server /etc/init.d/mysql.server 

不指定操作系统,所以:

相关问题