url:http://blog.csdn.net/hf81970/article/details/19643639MongoDB的环境主要包括StandAlone,Replication和Sharding。StandAlone:单机环境,一般开发测试的时候用。Replication:主从结构,一个P...
分类:
数据库 时间:
2014-07-07 09:43:13
阅读次数:
265
用conn /as sysdba登录数据库。一:先新建用户create user test01 identified by test02(test01为用户名,test02为用户密码)二:赋予数据库操作的基本权限grant connect,resource,dba to test01;三:创建表空间...
分类:
数据库 时间:
2014-07-06 23:54:12
阅读次数:
354
平常难免会经常使用数据库,以前课上学的基本操作也忘得差不多了,今天就结合别的资料总结一下。---------------------------------简历数据库过程--------------------------------------1. 新建一个数据库2. 更改settings...
分类:
数据库 时间:
2014-07-06 19:13:17
阅读次数:
181
环境:uname -v#1 SMP Debian 3.2.57-3+deb7u2php -vPHP 5.4.30-1~dotdeb.1 (cli) (built: Jun 29 2014 23:18:55) Copyright (c) 1997-2014 The PHP GroupZend Engi...
分类:
数据库 时间:
2014-07-06 13:21:05
阅读次数:
266
NoSQL现在非常的流行了,由于我所在的公司环境问题,目前还用不到这种数据库,出于好奇,翻了翻资料,也算自学了一下。在此做下记录。我的本机环境:APMServ5.2.6,PHP肯定就是5.2了。1、首先下载:mongodb-win32-x86_64-2008plus-2.6.3.zip(忘了在哪下载...
分类:
数据库 时间:
2014-07-05 19:16:42
阅读次数:
245
mongodb中gridfs适合存放视频和高清图片等等超大文件(小的文件建议不要存在mongodb中);
以下是在centos下配置nginx来访问mongodb中的mp4文件:...
分类:
其他好文 时间:
2014-07-04 07:03:11
阅读次数:
229
Default do not need username and password authenticate when access mongoDB ,I want to set up the user name & password for my mongoDB. so that any remo...
分类:
数据库 时间:
2014-07-03 21:02:37
阅读次数:
343
nodejs中使用monk访问mongodb还是挺方便的...
分类:
数据库 时间:
2014-07-03 16:48:08
阅读次数:
264
mongodb的日志相对其他数据库来说应该算是很大的,刚才由于报警,所以我查看啦一下,有15G的日志产生,下面是我的清理过程出于对安全方面,我们服务器禁止使用rm命令,所以我在/home目录下创建啦一个mongolog文件夹先查看一下日志大小和数量#ls/opt/mongodb/logtotal15G-rw-r--..
分类:
数据库 时间:
2014-07-03 14:25:41
阅读次数:
313
1.链接数据库:mysql -h localhsot -u root -p2.显示MySql中的数据库:show databases;3.进入数据库:use (数据库名称);4.查看数据库中的表:show tables;5.显示表结构:desc (表名称);6.创建数据库:create badaba...
分类:
数据库 时间:
2014-07-03 13:16:56
阅读次数:
299