Home >Database >Mysql Tutorial >Mysql启动与数据库的创建方法[图文]_MySQL

Mysql启动与数据库的创建方法[图文]_MySQL

WBOY
WBOYOriginal
2016-06-01 13:22:381207browse

bitsCN.com

1. 启动服务器

clip_image002

2. 创建数据库xscj

clip_image004

3. 创建学生表xs

Create table xs (id varchar (20), name varchar (30), profession varchar (50));

clip_image006

clip_image008

4. 插入数据,并查询数据

clip_image010

PS:要特别注意语句后面是否需要分号。

bitsCN.com
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn