首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 冲浪宝典 > 网络资源 > MYSQL 教程:§2, 快速入门
【标  题】:MYSQL 教程:§2, 快速入门
【关键字】:MYSQL
【来  源】:http://www.cublog.cn/u/21908/showart.php?id=241093

MYSQL 教程:§2, 快速入门

§2, 快速入门

 

§2.1  MYSQL目录结构和简介

默认安装目录: /usr/local/mysql windows C:\mysql. 包含了bin, scripts,data,docs, sql-bench等目录
其他目录有:
include (containing header files), lib (containing libraries used by MySQL), share (containing MySQL's error messages), and examples (only in Windows, containing examples of using the libmysql DLL). You may need to know where these directories are if you install other software (such as PHP) that links to MySQL, but you are unlikely to interact with them directly.
 
Bin目录有如下重要工具
 
mysqladmin: Used to perform many administrative functions.
 
myisamchk: Used to check and repair damaged MyISAM tables.
 
mysqldump: Used to back up your databases.
 
mysqlbinlog: Used to read the contents of the binary log, essential for disaster recovery.
 
mysqlshow: Used to get information about databases and tables.
scripts目录包含了脚本,比如mysqlhotcopy是个很有用的perl脚本,5.0已经在bin目录中.
 
用户接口有:
command-line interface mysql (also known as the MySQL monitor), MySQL Control Center (MySQLCC for short), and phpMyAdmin
其中MySQLCC已经改名
www.mysql.com/downloads/mysqlcc.html
www.mysql.com/products/mysqlcc/install.html
www.phpmyadmin.net/
 
mysql --i-am-a-dummy -u root不会对数据库进行改变
语句后面要使用分号,\g也是一样的结果
常用操作:
show databases;
use databasename;
show tables;
describe tablename;
\h
source filename
mysql -u username -p < filename
 
st34520n st34573n st32272n st32155n:【上一篇】
MYSQL 命令:【下一篇】
【相关文章】
  • yum install php mysql -y
  • 关于Rails+MySQL的中文问题
  • MYSQL字符串处理,比较全。
  • Linux下安装Mysql5.0
  • Mysql 备份与恢复
  • Mysql的基本知识
  • 在Java中解决MySQL5.0中文字符集问题全程详细记录
  • 简单mysql-cluster 双管理节点 安装手册 [mysql 集群]
  • .Net+MySQL组合开发(一) 开发工具篇
  • 简单mysql-cluster 安装手册 [mysql 集群]
  • 【随机文章】
  • sscanf和sprintf(ACM)
  • 保护QQ安全如何采取主动防范
  • 将5种操作系统汇于一身
  • 如何在JSP中添加自己的Tag
  • OPT文件系统扩展步骤
  • 利用mysql上传和执行文件
  • Ethernet HOWTO Linux以太网-HOWTO (5)电缆、同轴电缆、双绞线
  • vi的使用
  • 有关HP笔记本电脑的售后服务问题
  • SqlCenter中的AOP实现
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.