《MySQL数据库技术实验报告模板》由会员分享,可在线阅读,更多相关《MySQL数据库技术实验报告模板(58页珍藏版)》请在人人文库网上搜索。
1、使用须知系 另U班级学号姓名地点系别软件的班级软件的11150004姓名张三地点机房红色替换(ctrl+H )为自己的就 0K了记得修改完删除此页! !一大波 写好的实验来袭,请注意。word资料MySQL数据库应用实验报告姓名:姓名张三学 号:11150004班级:班级软件的成 绩:MySQL数据库技术实验报告系 另U班级学号姓名系别软件的班级软件的11150004姓名张三课程名称MySQL数据库技术实验名称地点地点机房实验1 MySQL的使用目的要求:(1) 掌握MySQL服务器安装方法(2) 掌握MySQL Administrator的基本使用方法(3) 基本了解数据库及其对象实验准备:。
2、(1) 了解MySQL安装的软硬件要求(2) 了解MYSQ支持的身份验证模式(3) 了解MySQL各组件的主要功能(4) 基本了解数据库、表、数据库对象实验内容:1. 安装MySQL服务器和MySQL界面工具安装MySQL界面工具。(插入安装好的界面工具截图即可)MySQL Command Line Client2. 利用MySQL客户端访问数据库(1) 打开开始,程序, MySQL MySQL server 5.1 , MySQL comma nd line clie nt ,进入 MySQL客户端界面,输入管理员密码登录。 C:.Program FilesMySQLMySQL Server。
3、 5.1binmysql.exeEnter password:We Leone to themonitor-. Co unman ds end with : or y.Vour Ni/SQL connect ion id is 3Seruer version: 5.1.32-conriiinity MSQL Coinniunit Seruer Type * help; * of Xli f or help.9* to clear the buf f er,(2) 在客户端输入“ help ”或“ h”,查看MySQL帮助菜单,仔细阅读帮助菜单的内容。眄屮希亚1helpFor infornt i。
4、on About M/SQL products and seru ices u is it : http:/wwwFoj* deue loper in format Ion inc lud ingr the M9S QL Ref erence Manual, u is it : http = x/dev * mysql,con/To buv NySQL Network Support, trainingf, or othet* products, visit: https s/Zehop.nsql.com/List of All MySQL commands:Note thatall text。
5、 comnands nust be f irst online and end uihE里nonym fqp 1 help*.clearClear comnandconnect Reconnect to the seruer. Opt:ional arguments are db and host. Set statement delimiter- NOTE: Takes the jest of the line as neudelimiterego exitSfo he lp noteeSend command to my琴qH seruer display pcsmlt verticall。
6、y Exit mq1- Same as quit Send command toserver.Display this help- Dont urite into putfile -pr int proimpt quit rehash so iafc e statusChange youir msql prompt.Quit mywg丄Execute an SQL script f lie _ T akes a file nante as an argument.Get status inf o mat ion f rom the server.teeuseSwitch to another 。
7、charset Might be needed Foi* processing hinlowith multibyte charsets uat*n ins Shou warn in after every statement. nouarn in Don11 shou warnin?s after everv statement vFor server side he lp, type f lie lp contents(3)实用show语句查看系统自动创建的数据库。hysql SHOU DATABASES;Database! informtion_schena 1 I nysqlII te。
8、st!3 roin set (4)实用USE语句选择mysql数据库为当前数据库。USE mvql ;Database changed.(5)使用SHOW TABLE茄句查看当前数据库中的表。SHOW TABLES;H! Tables_in_piyzql; #i columns_priv!:db!:event* func! g(Enetial_logf!:helpcategory!he lp_ke ywo rd! help_relat ion!:helptopicJhost! n db_hin logfin dex! plugin! proc! piocs_pi iu! servers!i s。
9、low_log!I tables_priu!i timezone;t ime_sone_leap_second!i t ime_zDne_name! t i me_zone_transit ion! t ime_2one_transit ion_type ! ! usei*I23 rows in set (0.32 sec(6)使用了一条SELECT语句查看mysql数据库中存储用户信息表的user的内容。mysql SELECT User - FROH users-i! User *+L*! root iI: root :Q rows in set 00 sec(7)使用use语句将当前的数。
10、据库设定为information_s