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
Optimizing compilation
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.
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:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.