Install and configure MySQL on Ubuntu8.04 official version

Source: Internet
Author: User
In order to build the Java Web development environment on the latest Ubuntu8.04, myeclipse is installed. I will not repeat the specific installation methods of the two eclipse software, because there are many online versions. Eclipse and myeclipse are recommended for manual download and installation. mysql is directly installed using sudoapt-getinstallmysql-servermysql-client. Remember to enter the root password when installing mysql.

To build a java web development environment on the latest Ubuntu8.04 and install myeclipse, I will not repeat the specific installation methods of the two eclipse software, because there are many online applications. For eclipse and myeclipse, it is recommended to download and install them manually. For mysql, directly use

Sudo apt-get install mysql-server mysql-client

During installation, remember to enter the root password, which can be used by the mysql service.

Sudo netstat-tap | grep mysql

Check whether it is enabled:

Tcp 0 0 localhost. localdomain: mysql *: * LISTEN-

If the service is not running, you can use

Sudo/etc/init. d/mysql restart

Enable.

Configure password:

Sudo mysqladmin-u root password newpassword

Now you need to install administrator. This gui tool can operate mysql visually. It has corresponding versions on unix, windows, mac OS, and linux platforms. Install:

Sudo apt-get install mysql-admin

After installation, you need to establish a connection. stored connection: used for the first time. First, you need to select save this connection and enter the connection name, for example, connection.

Server hostname: if it is a local computer, enter localhost. username and password in your own settings. The last point is "connection". The connection is successful!

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.