Actions before eclipse connects to my SQL database

Source: Internet
Author: User

Actions before eclipse connects to my SQL database

1: First is to install my SQL database (in order to reduce your trouble, according to the following connection, download can) Baidu Cloud Link: http://pan.baidu.com/s/limitWmbm password ny3a

2: After the download is completed follow the steps to install, here do not do more introduction, usually according to the default, according to the prompt operation, no difficult steps, installation takes a while, after installation, you can use, you can select the default command line mode my SQL 5.7 command lines Client Click Open, you need to enter the password you set to open

3: If the second step, you open the operation error, enter the password flash, then do not worry, is your my SQL does not run up, follow the steps below, right click on your computer, and then click Management, the following Computer Management interface appears

Then click Services and applications, the following interface appears

The following interface appears, and then find my SQL service

Right-click to set the run status to run, then open my SQL command line client to enter the password, you can enter the My SQL Shell mode

4: Enter command line mode, you can create a test database or other name of the table, the statement is as follows

Mysql>create database test;//Create a data base (you must remember to add a semicolon, or you will get an error) write the statement enter to create a database.

Mysql>use test;//Specifies that test is the current database to be manipulated

Mysql>create table User (name varchar, password varchar (20));//create user table, set name and password fields

Mysql>insert into user values (' Ningmengxueyuan ', ' 123456 ');//Insert field in table name and password

In this case, the Eclipse connection database will not be error (if the person who still has an error, can blog message or add me buckle 1748741328 Contact)

Operation complete the database table, and then follow the link inside the Eclipse link MySQL database operation can be http://www.cnblogs.com/biehongli/p/5728526.html

Actions before eclipse connects to my SQL database

Related Article

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.