Chinaunix首页 | 论坛 | 博客
  • 博客访问: 273898
  • 博文数量: 78
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 852
  • 用 户 组: 普通用户
  • 注册时间: 2013-05-06 11:01
个人简介

不做第二个别人,永远做第一个自己。

文章分类

全部博文(78)

文章存档

2014年(60)

2013年(18)

发布时间:2014-04-10 11:21:34

3台物理服务器(openstack-instances)主机ip端口信息mongo110.0.1.3mongod shard11:27017mongod config:20000mongos1:30000.........【阅读全文】

阅读(875) | 评论(0) | 转发(0)

发布时间:2014-04-10 11:21:13

show collectionsThu Jan  2 16:23:50.349 error: { "$err" : "not master and slaveOk=false", "code" : 13435 } at src/mongo/shell/query.js:128shard1:SECONDARY> db.getMongo().setSlaveOk()shard1:SECONDARY> show collectionsppppsystem.indexes......【阅读全文】

阅读(885) | 评论(0) | 转发(0)

发布时间:2014-04-10 11:20:47

Sharding IntroductionSharding is a method for storing data across multiple machines. MongoDB uses sharding to support deployments with very large data sets and high throughput operations.Purpose of ShardingDatabase systems with large data sets and high throughput applications can.........【阅读全文】

阅读(947) | 评论(0) | 转发(0)

发布时间:2014-04-10 11:19:27

7] Install MySQL for Database Server[root@cloud01 ~]# yum -y install mysql-serve[root@cloud01 ~]# /etc/rc.d/init.d/mysqld startInitializing MySQL database: Installing MySQL system tables…OKFilling help tables… OKTo start mysqld at boot time you have to copysupport-files/mysql.server to th.........【阅读全文】

阅读(650) | 评论(0) | 转发(0)

发布时间:2014-04-10 11:19:00

第一:首先要把mysqld停止service mysqld stop第二:启动mysql,但是要跳过权限表/usr/local/mysql/bin/mysqld_safe –skip-grant-tables &第三:进去mysql,并修改密码mysql -u rootmysql>use mysql;mysql>update set user password=password("new_pass") where user="root";mysql>flush privileges;mysq.........【阅读全文】

阅读(703) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册