摘要: sql_mode的系统变量可以调控MySQL的SQL模式任何一个客户端可以在不影响其它客户端的情况下改变MySQL服务器对自己的反应如果想在MySQL启动时设置SQL模式,可以在mysql配置文件中添加sql_mode选项sql-mode=”TRADITIONAL”如果在运行过程中修改SQL模式,则可以使用如下命令setsql_mode="TRADITIONAL";Client1mysql> show variables like "sql_mode";+---------------+-------+| Variable_name | Value 阅读全文
posted @ 2012-11-15 10:54 枯木-Linux 阅读(175) 评论(0) 推荐(0) 编辑
摘要: # nc -z localhost 1-10000 //扫描本机1到1000端口,获取打开的端口Connection to localhost 22 port [tcp/ssh] succeeded!Connection to localhost 80 port [tcp/http] succeeded!Connection to localhost 111 port [tcp/sunrpc] succeeded!Connection to localhost 199 port [tcp/smux] succeeded!Connection to localhost 3306 port [tc 阅读全文
posted @ 2012-11-15 10:17 枯木-Linux 阅读(448) 评论(0) 推荐(0) 编辑