mysql数据库备份
E:\databases\MySQL\MySQL Server 5.1\bin>mysqldump --help
mysqldump Ver 10.13 Distrib 5.1.30, for Win32 (ia32)
By Igor Romanenko, Monty, Jani & Sinisa
This software comes with ABSOLUTELY NO WARRANTY. This is free softwa
and you are welcome to modify and redistribute it under the GPL lice
Dumping definition and data mysql database or table
Usage: mysqldump [OPTIONS] database [tables]
OR mysqldump [OPTIONS] --databases [OPTIONS] DB1 [DB2 DB3...]
OR mysqldump [OPTIONS] --all-databases [OPTIONS]
Default options are read from the following files in the given order
C:\WINDOWS\my.ini C:\WINDOWS\my.cnf C:\my.ini C:\my.cnf E:\databases
Server 5.1\my.ini E:\databases\MySQL\MySQL Server 5.1\my.cnf
The following groups are read: mysqldump client
The following options may be given as the first argument:
--print-defaults Print the program argument list and exit
--no-defaults Don't read default options from any options
--defaults-file=# Only read default options from the given fil
--defaults-extra-file=# Read this file after the global files are re
-a, --all Deprecated. Use --create-options instead.
-A, --all-databases Dump all the databases. This will be same as -
with all databases selected.
-Y, --all-tablespaces
Dump all the tablespaces.
-y, --no-tablespaces
Do not dump any tablespace informati
相关文档:
mysql字符集设置和查询问题(转)
2010-04-14 11:33
MySQL的字符集支持(Character Set Support)有两个方面:
字符集(Character set)和排序方式(Collation)。
对于字符集的支持细化到四个层次:
服务器(server),数据库(database),数据表(table)和连接(connection) ......
MySQL EVENT
来源:http://samyu.blog.51cto.com/344284/146011
event_scheduler:
The MySQL event scheduler is a thread that runs in the background looking for events to execute. It spends a lot of time sleeping -- and won't do anything unless the new global variable "event_scheduler" is set t ......
.连接mysql mysql -uroot -padmin -hlocalhost
.连接mysqladmin命令行客户端程序 mysqladmin -uroot -padmin -hlocalhost
.启动mysql mysqld
.关闭 mysqladmin -uroot -padmin -hlocalhost shutdown
.修改密码
set password for 'root'@'localhost' = password('admin')
update ......
关键字: GreenSQL Sphinx phpMyAdmin MySQL内核 数据库安全配置
本文主要介绍mysql数据库下show命令的主要用法
a. show tables或show tables from database_name; -- 显示当前数据库中所有表的名称。
b. show databases; -- 显示mysql中所有数据库的名称。
c. show columns from table_name from data ......
此处运用了一个集成的xampp架构。不用单独去安装apache服务器,mysql数据库,等等。
(一)Xampp的安装
下载xampp
1. 双击xampp,点击下一步,下一步,如是,就安装了xampp。(此处安装在了c:\sandbox下面了)
2. 进行xampp安装是否成功的测试:
打开:c:\ ......