易截截图软件、单文件、免安装、纯绿色、仅160KB

mysql 命令使用

mysql 命令学习:
1. mysql -uroot  ;
2.mysql -h ip -ubusiusr -pbusiusr newdrmdb;
3.show databases ;                 //显示所有的数据库 ;
4.show tables ;                       //显示所有的表 ;
5.set names gbk ;                   //设置字符集 ;
6.desc tmonthfees201004 ;    //显示表结构 ;
7.alter table tcontents change cVersion cVersion varchar(128) null ;   //修改mysql表中字段的属性 ;
8. show index from tcontents from newdrmdb;
    show index from newdrmdb.tcontents ;
    show keys from tcontents ;                         
    show indexes from tcontents ;                     //查看表的索引 ;


相关文档:

让MySQL支持InnoDB

在mysql中输入SHOW variables like "have_%"查看,显示如下:
mysql> SHOW variables like "have_%";
  
+-----------------------+----------+
| Variable_name         | Value    |
+-----------------------+----------+
| have_archive     ......

mysql 5.0 集群负载均衡—经过测试


转载请注明作者和出处
http://www.cnlinux.net
一、介绍
========
测试环境:
Server1:ndbd 192.168.0.11
Server2:ndbd 192.168.0.12
Server3:mysqld --ndb-cluster 192.168.0.13 (ndbd_mgm ndbd_mgmd也在本机)
操作系统均为
RH ES3
kernel-2.4.21-9.EL
glibc-2.3.2-95.6
所需软件包:
mysql-max-5.0.22-lin ......

mysql的配置文件my.ini

# MySQL Server Instance Configuration File
# ----------------------------------------------------------------------
# Generated by the MySQL Server Instance Configuration Wizard
#
#
# Installation Instructions
# ----------------------------------------------------------------------
#
# On Li ......

mysql: Too many connections

今天开多一个应用在 APP SERVER 上,报告一个错误:
ERROR 1040 (00000): Too many connections
这倒是从来没碰到过,不过在 console 下可以用 root 登录 (console 下用其他用户也不可登录,Too many connections)
mysql -uroot -p
mysql > show processlist;
... 
这里列了100个链接!!其中只有2个链接是Q ......

PowerDesigner设定MySQL字段identity类型

自增长类型增加
1.如果dbms是MsSql,则选定表后,database-> edit   current   dbms-> 出现DBMS   properties对话框,选择General页,左侧的树选择SQL   2000-> Profile-> Column-> Extended   Attributes   下面的ExtIdentityIncrement是步进 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号