Leonard

In theory, there is no difference between theory and practice. But, in practice, there is.

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

随笔分类 -  数据库

摘要:Oracle XE默认连接数好像是40个,如果process超出这个数字,再次申请连接就会被拒绝。1,用system用户登录:sqlplus system/password@xe2,执行以下命令:alter system set session_cached_cursors=200 scope=spfile;alter system set session_max_open_files=200 scope=spfile;alter system set sessions=20 scope=spfile;alter system set license_max_sessions=200 scop 阅读全文
posted @ 2010-12-22 11:51 Leonard Tse 阅读(1358) 评论(0) 推荐(0)

摘要:1、解压 mysql-noinstall-5.1.30-win32.zip(下载地址http://dev.mysql.com/downloads/mysql/5.1.html)2、在 F 盘建立目录 MySql\MySqlServer5.1\ 3、把解压的内容复制到 F:\MySql\MySqlServer5.1\4、在 F:\MySql\MySqlServer5.1\ 中找 my-large.ini 把它复制成 my.ini5、在 my.ini 中找 [mysqld] ,添加以下语句;basedir="F:/MySql/MySqlServer5.1/"datadir="F:/MySql/M 阅读全文
posted @ 2010-12-07 17:49 Leonard Tse 阅读(47046) 评论(2) 推荐(3)

摘要:使用MySQL Administrator 登录,报错: Either the server service or the configuration file could not be found.Startup variable and service section are there for disabled. 使用Root 登录进去以后看到管理功能都是禁止掉的,提示: This section is only avaliable when connected to localhost solution: 点开MySQL Administrator时候,不要点击登录,按住ctrl 键 阅读全文
posted @ 2010-12-07 17:44 Leonard Tse 阅读(489) 评论(0) 推荐(0)

摘要:1。select * from v$nls_parameters查询nls的参数,获得数据库服务器端的字符编码NLS_LANGUAGENLS_CHARACTERSET2。修改本地环境变量,设置NLS_LANG = SIMPLIFIED CHINESE.ZHS16GBK //这个是我们的数据库字符编码NLS_LANG格式:NLS_LANG = language_territory.charset有三... 阅读全文
posted @ 2009-11-26 12:25 Leonard Tse 阅读(574) 评论(0) 推荐(0)