Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
Under the breezy test, the dapper version already contains the Mysql5.0, and in the main source, if you choose to install the lamp system when installing Ubuntu, it will be automatically installed
Download MySQL 5.0 source (needless to say)
wget http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.16.tar.gz/from/http://mysql.localhost.net.ar/ Tar xzvf mysql-5.0.16.tar.gz CD mysql-5.0.16/
Install the necessary packages
sudo apt install build-essential
Installing the Development Library
If you're not sure which one is really needed, install these.
sudo apt install libncurses5 libncurses5-dev
Disturbed these packages will not be able to compile the MySQL server
Creating Users and workgroups
sudo groupadd MySQL sudo useradd-g mysql MySQL
Compile can be used for different types of CPU parameter settings to improve database system performance, parameter settings by modifying Chost, Cflags, cxxflags to achieve, if you do not know your own CPU model, you can choose X86 General settings
Attachment:iconspage/iconwarning3.png the compilation of parameter settings for some special CPUs is not tested and if it is written successfully, it will be OK. If not, please use the following three methods.
If you want to do some debugging, you can omit the-fomit-frame-pointer parameter, if not, leave it there because it will allow MySQL to run faster
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to firstname.lastname@example.org. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
and provide relevant evidence. A staff member will contact you within 5 working days.