O MySQL Administrator -root@localhost: 3307 file edit view Tools Window Help Service Control Server status: startup Variables My SQL Server is runnin A MySQL Connected to MySQL Server Instance Server Connections 通 Health Username root localhost Porte 3307 Replication Status Server Information MySQL Version: MySQL 5.6. 41-log via TCP/IP Network Name 27 Catalogs 127,0 Schemata Client Information Version MySQL Client Version 5.0. 11 information schema 192.168.113.135 Operating System B performance_schema 8x Intel(R) Core (TM)i7-6700 CPU 3 40GHz, 3.9 GB 目useb 图: MySQL Administrator主窗口
《MySQL数据库应用》 http://mysql.xg.hactcm.edu.cn/ 第 11 页 图:MySQL Administrator 主窗口
MySQL ●·11 MySQL Administrator 1.1.3创建数据库( ceshi) 步骤 在数据库列表空白处右击鼠标,选择“ Create New schema”; 输入“ ceshi”,单击“ok”即可完成数据库 ceshi的创建。 Create new Schema Schemata Please enter a name for the new schema Schema name: ceshi information schema 8 mysql 目 performance schema OK Cancel 3 user_db MySQL数据库应用》http:/mysq!xg.hactcm.edu.cn 第12页
《MySQL数据库应用》 http://mysql.xg.hactcm.edu.cn/ 第 12 页 1.1 MySQL Administrator 1.1.3 创建数据库(ceshi) • 步骤: – 在数据库列表空白处右击鼠标,选择“Create New Schema” ; – 输入“ceshi” ,单击“ok”即可完成数据库ceshi的创建
MySQL ●·11 MySQL Administrator 1.1.4创建数据表 步骤 在数据库列表中选择数据库“ ceshi”,右击“ ceshi”选择“ Create New table”; 在弹出窗口中输入表名“ⅹscj”,输入字段名及类型,单击“ Apply Changes”即可完成数据表xscj的创建。 lo MySQL Table Editor Table Name: xsg Database: ceshi Columns and Indices Table Options Options Column Nam Datatype 概L解°Fag Default value Comment b INEGER M UNSIGNED口Ron o name VARCHAR(45)√ BINARY MySQL数据库应用》htto:/mysq,xg, hactcm. edu. cn 第13页
《MySQL数据库应用》 http://mysql.xg.hactcm.edu.cn/ 第 13 页 1.1 MySQL Administrator 1.1.4 创建数据表 • 步骤: – 在数据库列表中选择数据库“ceshi” ,右击“ceshi”选择“Create New Table”; – 在弹出窗口中输入表名“xscj” ,输入字段名及类型,单击“Apply Changes”即可完成数据表xscj的创建
MySQL ●·11 MySQL Administrator 1.15输入表数据 步骤 在数据库列表中选择数据库“ cesh i”,选择“κscj”,右击选择 Edit Table data”,在弹出的窗口中输入数据即可。 注意:需要安装下列软件,否则“ Edit table data′是灰色 MySQL GUI Tools mysql Query Browe MySQL数据库应用》http:/mysq!xg.hactcm.edu.cn 第14页
《MySQL数据库应用》 http://mysql.xg.hactcm.edu.cn/ 第 14 页 1.1 MySQL Administrator 1.1.5 输入表数据 • 步骤: – 在数据库列表中选择数据库“ceshi” ,选择“xscj” ,右击选择 “Edit Table Data” ,在弹出的窗口中输入数据即可。 注意:需要安装下列软件,否则“Edit Table Data ”是灰色 • MySQL GUI Tools • mysql Query Browe
O MySQL Administrator-root/<,w,An- @localhost: 3307 file Edit View Tools WI dow Helt a Server Information Service Control General Restore Content Startup Variables Restore Onions 8a User Administration O打开 Server Connections General查找范围(): ltest Health File to ri 名称 修改日期 an server Logs Targets最近使用的项目 NewProject2019814141 2019-05-2817:47I Replication Status 自 user db1sql 2019-04-1110:02 自 xscj. sql 2019-04049:39 Restore nemata 我的文档 E ceshi a information_schema 计算机 Charact performance_schema db 文件名0 New Project 20190528 1741 sq1 db1 文件类型():sLFi1es 取消 COpen Bada fl[ start Restore
《MySQL数据库应用》 http://mysql.xg.hactcm.edu.cn/ 第 15 页 1.1 MySQL Administrator 1.1.6 数据库备份 • 步骤: – 选择“Backup” ,然后再选择需要备份的数据库“xscj”