3. mysql Chinese problems, database-level operations, table-level operations, data CRUD, grouping operations, time and date, string-related functions, and table ConstraintsBytes
1. Connect to the MYSQL server: mysql-uroot-p123456
View Chinese
65279; 65279; 1 connect to MYSQL server: mysql-uroot-p123456 to view Chinese issues showvariableslikecharacter %; 2 modify mysql character set, exit mysql prompt interface: mysql-uroot-p -- default_ch success
1. connect to the MYSQL server:
CSDN Blog RelocationTo connect to a database:1. Under DOS window, under the Bin directory of the installation directory of the database, start the database service using the MYSQLD command, or start the MySQL service in the service of the computer.2.
Directory:
SQL statement... 1
1. Database and table operations... 1
1. Common Database and table operations... 1
2. Operate the database... 2
3. operation table... 3
4. add, delete, modify, and query data in the table... 4
5. Table
MySQL Administrator's user name and password: root rootCreate a database called MYDB1Create Database mydb1;show databases;Create a MYDB2 database that uses the Utf-8 character set.Create database mydb2 character set UTF8;Create a MYDB3 database that
Check all and record of the daySELECT * from Sys_student_record where date (check_ins) = Curdate ();Select R.stu_no,i.name, I.classname,activation_type,check_ins,count (*) as acount from Sys_student_record R,sys_studen T_info I where activation_type=
MySQL Administrator's user name and password: root rootCreate a database called MYDB1Create Database mydb1;show databases;Create a MYDB2 database that uses the Utf-8 character set.Create database mydb2 character set UTF8;Create a MYDB3 database that
Mac_MySQL installation, mysql
1. Download and install
Go to the MySQL official website at http://dev.mysql.com/downloads/mysql/, and download about 164 MB of Community Server.
On the following page, select No thanks, just start my download]
The
Basic operationsView Databaseshow databases;Specifying a character Setcreate database day15 default character set utf8View character Setsshow create database day15;Deletedrop database day15modifying character setsalter database day15 default
This article mainly introduces the Mysql statement Quick Review Tutorial (full). For more information, see
Basic operations
View database
show databases;
Character set
create database day15 default character set utf8
View character set
show
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.