如果先ctrl+c结束服务器端程序的话,再次启动服务器就会出现Address already in use这个错误,或者你的程序在正常关闭服务器端socket后还是有这个问题bind 普遍遭遇的问题是试图绑定一个已经在使用的端口。该陷阱是也许没有活动的套接字存在,但仍然禁止绑定端口(bind 返回 ...
分类:
其他好文 时间:
2014-08-18 21:43:52
阅读次数:
278
Error Codes The ERRNO values below are set when API calls fail. Use?xn_getlasterror?to retrieve the error code after an API call fails. Functionxn_geterror_string) can be used to retrieve the str...
分类:
其他好文 时间:
2014-08-18 18:58:43
阅读次数:
441
mysql -u root -pmysql;use mysql;mysql;select 'host' from user where user='root';mysql;update user set host = '%' where user ='root';mysql;flush privil...
分类:
数据库 时间:
2014-08-18 18:25:22
阅读次数:
197
mysql replication配置1、修改主机(master)的配置文件(my.cnf)server_id = 1log_bin = mysql-bin2、修改从机(slave)配置文件#主备环境下需要唯一server_id = 23、主机创建复制分发用户,并授权进行复制分发CREATE USE...
分类:
数据库 时间:
2014-08-18 18:08:02
阅读次数:
263
Domino Effect
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 8848
Accepted: 2210
Description
Did you know that you can use domino bones for other things...
分类:
其他好文 时间:
2014-08-18 14:33:32
阅读次数:
241
导出的格式形如:use ppdai_vd;goSELECT 'ppdai_vd' AS 数据库名, a.name as '表名' , isnull(e.value,'') as '表注释', CONVERT(VARCHAR(19), a.create_date ,23) AS '...
分类:
数据库 时间:
2014-08-18 14:15:42
阅读次数:
222
启动:net start mySql; 进入:mysql -u root -p/mysql -h localhost -u root -p databaseName; 列出数据库:show databases; 选择数据库:use databaseName; 列出表格:show tables...
分类:
数据库 时间:
2014-08-18 12:16:44
阅读次数:
293
F - Coins Time Limit:3000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 1742Description People in Silverland use coin...
分类:
其他好文 时间:
2014-08-17 22:37:02
阅读次数:
285
本文对常用数据库操作及相关基本概念进行总结:MySQL和PostgreSQL对SQL的支持有所不同,大部分SQL操作还是一样的。选择要用的数据库(MySQL):use database_name;help show;显示可用的数据库列表:show databases;显示一个数据库内可用的表的列表:...
分类:
数据库 时间:
2014-08-17 18:30:42
阅读次数:
461
Description
It is very hard to wash and especially to dry clothes in winter. But Jane is a very smart girl. She is not afraid of this boring process. Jane has decided to use a radiator to make dryi...
分类:
其他好文 时间:
2014-08-17 17:04:22
阅读次数:
249