Install MySQL in Ubuntu: download the required version from the MySQL official website. Generally, download the latest version directly. The address is http://www.mysql.com/downloads/you can download all the packages under communityserverand install them one by one. As for the very unfamiliar tar package, I never figured it out. The tar package is the source code installation package. I have never figured out how to install it. There is neither the config file nor makefil.
Install MySQL in Ubuntu:
Download the version you need from the MySQL official website. Generally, you can download the latest version directly. Address: http://www.MySQL.com/downloads/
You can download all the packages under the community server and install them one by one. As for the very unfamiliar tar package, I never figured it out.
The tar package is the source code installation package. I have never figured out how to install it. There is neither the config file nor the makefile file, and I don't know what to do, there are also related information on the Internet about how to install it.
For an rpm package, run the following command: sudo rpm-I XXX. rpm (XXX is the package name)
Double-click the deb package or run the command: sudo dpkg-I XXX. deb.
Next, install the graphical interface. Download MySQL workbench from the MySQL download page. The downloaded file is a deb package. You can double-click the package or run the command to install it. In this way, you can use MySQL.
Test:
Choose Application> programming> MySQL workbench and select new connection. Follow the prompts to create your own test database link step by step.
Create a table and add data.
Create a query and enter select * from tablename. If the output is normal, the installation is successful!
Problem: You may not be able to enter the query statement, this is the input method in the Ghost, you can refer to the http://www.linuxidc.com/Linux/2010-11/30123p2.htm
Now MySQL is ready! Create eclipse for IDE!