- 博客(44)
- 资源 (1)
- 收藏
- 关注
原创 [Beginner]MySQL 主机名与权限表之间的关系
概要在进行连接远程主机或者进行复制的时候,经常会遇到用户连接不上远程主机的错误,很烦人。常常会出现类似下面的错误: [连接远程主机] : ERROR 1045 (28000): Access denied for user 'user'@'host' (using password: YES) [复制中的IO] : [ERROR] Slave I/O: error conne
2014-12-09 17:59:16
1207
原创 Win7 便签设置字体方法
使用快捷键可以调整字体大小粗体Bold text Ctrl+B斜体Italic text Ctrl+I下划线Underlined text Ctrl+U删除线Strikethrough Ctrl+T项目符号Bulle
2014-12-03 10:40:44
1731
原创 VmWare 与 宿主主机通信 STEP BY STEP (适用于初学者)
基本原理在虚拟机中有三种通信方式,如下图所示1. Bridged(桥接模式)在桥接模式下,VMware虚拟出来的操作系统就像是局域网中的一独立的主机,它可以访问网内任何一台机器不过你需要多于一个的IP地址,并且需要手工为 虚拟系统配置IP地址子网掩码,而且还要和宿主机器处于同一网段,这样虚拟系统才能和宿主机器进行通信如果你想利用VMware在局域网内新建一个虚拟服务
2014-11-07 21:19:02
2470
转载 linux 下 ifcfg-eth0 配置
linux 下 ifcfg-eth0 配置2011-12-24 01:25 by iixiaowei, 32032 阅读, 1 评论, 收藏, 编辑网络接口配置文件[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0# Intel Corporation 82545EM Gigabit Ethe
2014-11-04 11:38:09
526
转载 linux上很方便的上传下载文件工具rz和sz
linux上很方便的上传下载文件工具rz和sz(本文适合linux入门的朋友)##########################################################《老男孩linux就业培训中心-初级班第七期第一节内容总结。#linux上很方便的上传下载文件工具rz和sz#date:2011-06-15#作者:老男孩,现就职于《老男孩lin
2014-11-04 11:36:38
463
转载 MYSQL源码安装
1.首先添加mysql用户组shell> groupadd mysql 2.添加mysql用户,并指定到mysql用户组shell> useradd -g mysql mysql 3.解压缩mysql-version.tar.gzshell> gunzip 4.安装mysqlshell> cd mysql-VERSIONshell> ./configure
2014-11-01 16:53:44
432
转载 MySQL5.5源代码安装
一、安装支持工具1、安装cmakeWget http://www.cmake.org/files/v2.8/cmake-2.8.5-Linux-i386.shchmod +xcmake-2.8.5-Linux-i386.sh./cmake-2.8.5-Linux-i386.sh --prefix=/usr/local/2、安装gmake, gcc, perl, ncu
2014-11-01 16:49:38
424
转载 Linux安装mysql——源码安装
1.假设已经有mysql-5.5.10.tar.gz以及cmake-2.8.4.tar.gz两个源文件(1)先安装cmake(mysql5.5以后是通过cmake来编译的)[root@ rhel5 local]#tar -zxv -f cmake-2.8.4.tar.gz[root@ rhel5 local]#cd cmake-2.8.4[root@ rhel5 cmake-2.8
2014-11-01 16:48:13
535
转载 linux 下 MySQL源码包的安装
linux 下 MySQL源码包的安装实验环境 VMware 6.5.2 +redhatEnterprise 5 AS实验目的 初步涉及源码包的安装,以简单实现其功能为目的,不对原理进行深层讨论内核版本:今天尝试安装MySQL的源码包 mysql-4.0.27.tar.gz下载源码包 copy 到linux [root@localhost ~]# cd /tmp[r
2014-11-01 16:44:45
593
转载 Centos磁盘分区教程
1.磁盘分区格式说明linux分区不同于windows,linux下硬盘设备名为(IDE硬盘为hdx(x为从a—d)因为IDE硬盘最多四个,SCSI,SATA,USB硬盘为sdx(x为a—z)),硬盘主分区最多为4个,.所以主分区从sdb1开始到sdb4,逻辑分区从sdb5开始,(逻辑分区永远从sdb5开始…)设备名可以使用fdisk –l查看2.分区详解使用ssh远程连接
2014-11-01 11:50:13
1052
转载 Mysql读写分离(1)
一 什么是读写分离 MySQL Proxy最强大的一项功能是实现“读写分离(Read/Write Splitting)”。基本的原理是让主数据库处理事务性查询,而从数据库处理SELECT查询。数据库复制被用来把事务性查询导致的变更同步到集群中的从数据库。 当然,主服务器也可以提供查询服务。使用读写分离最大的作用无非是环境服务器压力。可以看下这张图: 二 读写
2014-10-30 22:25:39
706
转载 Mysql 如何做双机热备和负载均衡
先简要介绍一下mysql双向热备:mysql从3.23.15版本以后提供数据库复制功能。利用该功能可以实现两个数据库同步,主从模式(A->B),互相备份模式(AB)的功能。mysql数据库双向热备的操作实际说明:1、mysql数据库同步复制功能的设置都在mysql的配置文件中体现。在linux环境下的配置文件一般在/etc/mysql/my.cnf或者在 mysql用户的home目
2014-10-29 20:01:20
968
原创 SqlPlus 中行显示不全的问题(linesize和long的区别)
现象:在使用dbms包中调用get_ddl函数查询的时候,sqlplus显示的结果不全
2014-10-01 22:56:56
14666
转载 VBA中Dictionary对象使用小结
Dim dict' 创建DictionarySet dict = CreateObject("Scripting.Dictionary")' 增加项目dict.Add "A", 300dict.Add "B", 400dict.Add "C", 500' 统计项目数n = dict.Count' 删除项目dict.Remove ("A")' 判断字典中是否包含关键字
2014-09-21 21:48:29
8933
原创 User has no SELECT privilege on V$SESSION(执行计划相关)
开启执行计划的时候,提示如下信息;User has no SELECT privilege on V$SESSION
2014-08-25 22:52:20
4191
1
原创 SP2-0618
起因:在SCOTT@ orcl>set autotrace onSP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabledSP2-0611: Error enabling STATISTICS report
2014-08-20 21:51:35
753
原创 Xlib: connection to ":0.0" refused by server
Oracle帐号执行DBCA或其他JAVA图形界面程序时,报错:
2014-08-10 21:10:31
667
原创 ORA-00257
laiziguanfangwORA-00257: archiver error. Connect internal only, until freed.Cause: The archiver process received an error while trying to archive a redo log. If the problem is not resolved soon,
2014-08-10 11:38:28
736
转载 Oracle 树操作(select…start with…connect by…prior)
oracle树查询的最重要的就是select…start with…connect by…prior语法了。依托于该语法,我们可以将一个表形结构的以树的顺序列出来。在下面列述了oracle中树型查询的常用查询方式以及经常使用的与树查询相关的oracle特性函数等,在这里只涉及到一张表中的树查询方式而不涉及多表中的关联等。1、准备测试表和测试数据
2014-08-06 20:48:39
508
原创 047:QUESTION 228
Question:A constraint in a table is defined with the INITIALLY IMMEDIATE clause. You executed the ALTER TABLE command with the ENABLE VALIDATE option to enable the constraint that was disabled
2014-08-05 22:56:14
395
原创 Question 25:increase the session limit on CPU usage
Question A user complains that he gets the following error message repeatedly after executing some SQL statements. The error message forces the user to log off from and log on to the database to
2014-06-27 21:28:12
882
原创 Question 5
Question:You executed the STARTUP MOUNT command to start your database. For which database operation do you need to start the database in the MOUNT state? A) renaming the control files B) drop
2014-06-13 21:44:22
479
原创 Question 2:MOUNT
Question:You lost the index tablespace in your database. You are not able to use tablespace point-in-time recovery on the index tablespace. What could be the reason for this?A. The index tablesp
2014-06-12 23:38:29
465
原创 Question:58 (Shrink)
Question:Using Database Control, you have scheduled a job to shrink the TRANS table residing on the TT tablespace. The job would run at 5:00 p.m. every Friday.When you examine the space usage of
2014-05-18 23:26:29
548
原创 Question: 82 point-in-time
You lost the index tablespace in your database. You are not able to use tablespace point-in-time recovery on the index tablespace. What could be the reason for this?A. The index tablespace contain
2014-05-18 20:37:38
552
转载 unused用法
一、问题现场有一张大数据量的分区表,数据量在10G以上。因某种原因需要删除其中的某些字段。如果直接用alter table1 drop (column1,column2); 或者alter table1 drop column column1;和alter table1 drop column column2; 的话,需要执行很长时间,这期间该表被锁,会影响到其它应用。
2014-04-02 21:34:41
2261
原创 QUESTION 56
Which mandatory(强制性的) clause has to be added to the following statement to successfully create an external table called EMPDET? CREATE TABLE empdet ( empno CHAR(2), ename CHAR(5), deptno
2014-04-01 22:18:52
652
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人