Home > Database > Mysql Tutorial > MySQL 数据库环境使用攻略(5)[组图]_MySQL

MySQL 数据库环境使用攻略(5)[组图]_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:59:05
Original
1075 people have browsed it

     提示:在使用MySQL之前,需要建立数据库的环境来创建数据表,首先我们需要安装该数据库环境,即MySQL。 1、下载MySQL MySQL的官方网站是http://www.mysql. org /,如图2-9所示: 图2-9 MySQL官方网站 当前稳定版本为5.1,我们选用MySQL 5.1.22作为数据库服务器,到其官方网站h

 

在该界面的文本框中输入新建的数据库名称“demo”,单击“确定”按钮即可完成数据库的创建。此时图2-13中左侧的树形结构中就有了“demo”这一项了。

  2.5.4  新建用户表user

  接下来我们使用SQL-Front来新建数据表user。选中图2-13中左侧的数据库“demo”,选择“数据库”→“新建”→“表格”命令,会弹出如图2-15所示的创建数据表界面。

  

MySQL 数据库环境使用攻略(5)[组图]_MySQL

  图2-15  新建数据表user

  在该界面中输入表名称为“user”,然后进入“字段”选项卡添加该表的4个字段,并设置字段的类型、长度及相关属性,如图2-16所示。

  最后单击“确定”按钮即可完成数据表的创建。此时在图2-13左侧的demo数据库展开即可显示新建的user数据表了。

  

MySQL 数据库环境使用攻略(5)[组图]_MySQL

  图2-16  新建字段

Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template