Mysql first day, mysql first day

Source: Internet
Author: User

Mysql first day, mysql first day

1. Data Warehouse. just like the plain text, properties, and XML technologies we have learned before. used to save data. it also allows you to add, delete, modify, and query data. when we are working on a project later,

Project data is stored in the database.

2. database features

2.1 data sharing
2.2 reduce data redundancy

2.3 centralized data control

2.4 data consistency, integrity and maintainability to ensure data security and reliability

2.5 fault recovery

3. Install Mysql

There are two installation locations.

Database Service Location: MySQL Server
Database data File Location: Server data files

The mysql Database Administrator name is root.

4. FAQs:
4.1. uninstall mysql.
4.1.1 run the uninstall program
4.1.2. delete a directory
4.2 forgot to configure character set encoding during installation
The configuration during installation will be reflected in the my. ini file. The file is located in the path of the database service. Find the configuration file to modify and save. To take effect, restart the database (restart the service ).
4.3. Forget the administrator password. = See the method in the resource folder.
4.4. You forgot to check the auto-configure environment variable option.
Find the bin directory under the database service installation directory. Configure the directory path to the path environment variable.
4.5 install the new version of mysql, prompting you to install framework 4.0.

// Certificate //-------------------------------------------------------------------------------------------------------------------------------------------------------
5. SQL

DDL database Definition Language Data Definition Language | create alter drop
DCL Database Control Language Data Control Language | grant rollback commit.
DML database operating Language Data Manipulation Language | insert update delete select
|
DQL Database Query Language Data Query Language | select

6. Notes in SQL
Single Row :--
Multiple rows :/**/
Is SQL case insensitive?
The statement is case insensitive.
The data is case sensitive.
";" Indicates the end of SQL statement in mysql.

Exit command => exit

Database Service commands

Mysql-u root-p

Enter the password as prompted to establish a connection.

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.