Mysql数据库
1、什么是mysql
MySQL是一个小型关系型数据库管理系统
开发者为瑞典MySQL AB公司。
上的中小型网站中。
由于其体积小、速度快、总体拥有成本低,尤其是开放源码这一特点,许多中小型网站为了降低网站总体拥有成本而选择了MySQL作为网站数据库。
Mysql的一些特性
++编写,并使用了多种编译器进行测试,保证源代码的可移植性
、FreeBSD、HP-UX、Linux、Mac OS、ware、OpenBSD、OS/2 Wrap、Solaris、Windows等多种操作系统
。这些编程语言包括C、C++、等。
,充分利用CPU资源
Mysql的一些特性
,有效地提高查询速度
,也能够作为一个库而嵌入到其他的软件中提供多语言支持,常见的编码如中文的GB 2312、BIG5,日文的Shift_JIS等都可以用作数据表名和数据列名
、ODBC和JDBC等多种数据库连接途径
、检查、优化数据库操作的管理工具
Mysql的应用
与其他的大型数据库例如Oracle、DB2、SQL Server等相比,MySQL自有它的不足之处,如规模小、功能有限,但是这丝毫也没有减少它受欢迎的程度。
对于一般的个人使用者和中小型企业来说,MySQL提供的功能已经绰绰有余,而且由于MySQL是开放源码软件,因此可以大大降低总体拥有成本。
上流行的网站构架方式是LAMP(Linux+Apache+MySQL+PHP)
这四个软件都是遵循GPL的开放源码软件
Mysql的管理
可以使用命令行工具管理MySQL数据库(命令mysql 和 mysqladmin)
也可以从MySQL的网站下载图形管理工具MySQL Administrator和MySQL Query Browser。
MySQL Query Browser
安装mysql--configure the mysql instance
Reconfigure instance
select this option to create a new configuration for the instance. This will replace the current configuration and restart the service if it is currently running.
Remove instance
Select this option to sto the instance , remove the configuration file and to uninstall the Windows service.
Server type
Developer machine
mysql server should only use a minimal amount of memory
Server machine
choose this option for web/application servers , mysql will have medium memory usages
Dedicated mysql server machine
this machine is dedicated to run the mysql database server. No other servers ,such as a web or mail server ,will be run.
mysql will utilize up to all available memory
Server instance
MySQL课件 来自淘豆网m.daumloan.com转载请标明出处.