月度归档:2014 年八月

mysql如何设置最大连接数



mysql如何设置最大连接数?

设置数据库的最大连接数:set GLOBAL max_connections=200

显示当前运行的Query: show processlist

显示当前状态:show status

服务器的最大连接数:show variables like[......]

Read more

linux下mysql官网安装方法



linux下mysql官网安装方法。

Distribution specific instructions are shown below:

* Red Hat Linux, Fedora, CentOS
For Red Hat and similar distributions, t[......]

Read more

mysql字符集设置

mysql字符集设置。

在my.inf或者my.cnf中的
[mysqld]
下添加default-character-set = utf8;
若启动不成功或者不起作用可换为character_set_server=utf8;
或者使用如下:
default-character-set=[......]

Read more