不做第二个别人,永远做第一个自己。
发布时间:2014-04-10 11:21:34
3台物理服务器(openstack-instances)主机ip端口信息mongo110.0.1.3mongod shard11:27017mongod config:20000mongos1:30000.........【阅读全文】
发布时间: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......【阅读全文】
发布时间: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.........【阅读全文】
发布时间: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.........【阅读全文】
发布时间: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.........【阅读全文】