按照本人对于容器制作的一些约定,容器仅仅提供运行环境,配置和数据保存在host中的某个约定位置。 rabbitmq的一个配置文件的位置固定的,必须放在指定位置,rabbitmq-env.conf。所以把它制作到容器中。 CONFIG_F...
分类:
其他好文 时间:
2014-09-30 12:07:01
阅读次数:
399
??
一般是由于root用户对全局host无访问权限。因此只要给root用户添加一个访问权限即可。
解决办法:
登陆mysql ,执行
mysql -u root -pPasswd
mysql >grant all privileges on *.* to root@"%" identified by "Passwd"
mysql >flush privileges...
分类:
其他好文 时间:
2014-09-30 01:00:31
阅读次数:
167
ReactorThread
这一章将分析Swoole的ReactorThread模块。虽然叫Thread,但是实际上使用的是swFactoryProcess也就是多进程模式。但是,在ReactorThread中,所有的事件监听是在线程中运行的(Rango只是简单提到了PHP不支持多线程安全,具体原因还有待请教……),比如在UDP模式下,是针对每一个监听的host开辟一个线程运行reactor...
分类:
其他好文 时间:
2014-09-29 15:26:21
阅读次数:
577
.proto文件示例message Configure{ required string host = 1; required uint32 port = 2;}写配置文件代码Configure config;config.set_host("127.0.0.1");config.set...
分类:
其他好文 时间:
2014-09-29 13:54:10
阅读次数:
700
在src 目录下建立configs.propertiesbackup.host = 192.168.1.6backup.user = rootbackup.pwd =pwd建立静态类:package com.ly.jxc.util;import java.io.IOException;import ...
分类:
编程语言 时间:
2014-09-29 13:44:50
阅读次数:
167
实验环境配置HOST文件配置如下:127.0.0.1 app.com127.0.0.1 sso.comIIS配置如下:应用程序池采用.Net Framework 4.0注意IIS绑定的域名,两个完全不同域的域名。app.com网站配置如下:sso.com网站配置如下:memcached缓存:数据库配...
分类:
Web程序 时间:
2014-09-29 13:04:20
阅读次数:
270
用户管理mysql>use mysql;查看mysql> select host,user,password fromuser;创建mysql> create user zx_root IDENTIFIEDby 'xxxxx'; //identified by 会将纯文本密码加密作为散列值存储修改....
分类:
数据库 时间:
2014-09-29 12:25:07
阅读次数:
284
1、改表法。可能是你的帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑,登入mysql后,更改 "mysql" 数据库里的 "user" 表里的 "host" 项,从"localhost"改称"%" mysql -u root -pvmwaremysql>....
分类:
数据库 时间:
2014-09-29 10:39:57
阅读次数:
253
Linux系统下启动MySQL报错:Neither host 'localhost.localdomain' nor 'localhost' could be
looked up with
摘要
Linux系统下安装完MySQL,启动MySQL报错:Neither host 'localhost.localdomain' nor 'localhost' could be looke...
分类:
数据库 时间:
2014-09-29 00:54:07
阅读次数:
693
Protecting computer systems from attacks that attempt to change USB topology and for ensuring that the system's information regarding USB topology is ...
分类:
其他好文 时间:
2014-09-28 20:28:55
阅读次数:
212