Search Preview
数据库 - 海运的博客
haiyun.memysql教程,sql/mssql教程。
.me > haiyun.me
SEO audit: Content analysis
Language | Error! No language localisation is found. | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Title | 数据库 - 海运的博客 | ||||||||||||||||||||||||||||||||||||
Text / HTML ratio | 50 % | ||||||||||||||||||||||||||||||||||||
Frame | Excellent! The website does not use iFrame solutions. | ||||||||||||||||||||||||||||||||||||
Flash | Excellent! The website does not have any flash contents. | ||||||||||||||||||||||||||||||||||||
Keywords cloud | Comments mysql> = 分类:数据库 slave nameaddress dbtable table `ttl` `content` `TYPE` `domain_id` `name` id `records` master show VALUES 海运的博客 type | ||||||||||||||||||||||||||||||||||||
Keywords consistency |
|
||||||||||||||||||||||||||||||||||||
Headings |
|
||||||||||||||||||||||||||||||||||||
Images | We found 1 images on this web page. |
SEO Keywords (Single)
Keyword | Occurrence | Density |
---|---|---|
Comments | 6 | 0.30 % |
mysql> | 6 | 0.30 % |
= | 6 | 0.30 % |
分类:数据库 | 4 | 0.20 % |
slave | 3 | 0.15 % |
nameaddress | 3 | 0.15 % |
dbtable | 3 | 0.15 % |
table | 3 | 0.15 % |
`ttl` | 2 | 0.10 % |
`content` | 2 | 0.10 % |
`TYPE` | 2 | 0.10 % |
`domain_id` | 2 | 0.10 % |
`name` | 2 | 0.10 % |
id | 2 | 0.10 % |
`records` | 2 | 0.10 % |
master | 2 | 0.10 % |
show | 2 | 0.10 % |
VALUES | 2 | 0.10 % |
海运的博客 | 2 | 0.10 % |
type | 2 | 0.10 % |
SEO Keywords (Two Word)
Keyword | Occurrence | Density |
---|---|---|
No Comments | 5 | 0.25 % |
分类:数据库 No | 4 | 0.20 % |
into table | 3 | 0.15 % |
TERMINATED BY | 2 | 0.10 % |
content ttl | 2 | 0.10 % |
load data | 2 | 0.10 % |
data local | 2 | 0.10 % |
local infile | 2 | 0.10 % |
infile filetxt | 2 | 0.10 % |
filetxt into | 2 | 0.10 % |
mysql> show | 2 | 0.10 % |
table dbtable | 2 | 0.10 % |
FIELDS TERMINATED | 2 | 0.10 % |
2014 分类:数据库 | 2 | 0.10 % |
name type | 2 | 0.10 % |
type content | 2 | 0.10 % |
id name | 2 | 0.10 % |
VALUES id | 2 | 0.10 % |
`ttl` VALUES | 2 | 0.10 % |
`content` `ttl` | 2 | 0.10 % |
SEO Keywords (Three Word)
Keyword | Occurrence | Density | Possible Spam |
---|---|---|---|
分类:数据库 No Comments | 4 | 0.20 % | No |
TERMINATED BY '' | 2 | 0.10 % | No |
FIELDS TERMINATED BY | 2 | 0.10 % | No |
load data local | 2 | 0.10 % | No |
data local infile | 2 | 0.10 % | No |
local infile filetxt | 2 | 0.10 % | No |
2014 分类:数据库 No | 2 | 0.10 % | No |
name type content | 2 | 0.10 % | No |
id name type | 2 | 0.10 % | No |
VALUES id name | 2 | 0.10 % | No |
`ttl` VALUES id | 2 | 0.10 % | No |
type content ttl | 2 | 0.10 % | No |
`content` `ttl` VALUES | 2 | 0.10 % | No |
`name` `TYPE` `content` | 2 | 0.10 % | No |
`domain_id` `name` `TYPE` | 2 | 0.10 % | No |
`records` `domain_id` `name` | 2 | 0.10 % | No |
INTO `records` `domain_id` | 2 | 0.10 % | No |
infile filetxt into | 2 | 0.10 % | No |
filetxt into table | 2 | 0.10 % | No |
into table dbtable | 2 | 0.10 % | No |
SEO Keywords (Four Word)
Keyword | Occurrence | Density | Possible Spam |
---|---|---|---|
infile filetxt into table | 2 | 0.10 % | No |
`name` `TYPE` `content` `ttl` | 2 | 0.10 % | No |
filetxt into table dbtable | 2 | 0.10 % | No |
name type content ttl | 2 | 0.10 % | No |
2014 分类:数据库 No Comments | 2 | 0.10 % | No |
VALUES id name type | 2 | 0.10 % | No |
`ttl` VALUES id name | 2 | 0.10 % | No |
`content` `ttl` VALUES id | 2 | 0.10 % | No |
`TYPE` `content` `ttl` VALUES | 2 | 0.10 % | No |
id name type content | 2 | 0.10 % | No |
`domain_id` `name` `TYPE` `content` | 2 | 0.10 % | No |
INTO `records` `domain_id` `name` | 2 | 0.10 % | No |
load data local infile | 2 | 0.10 % | No |
FIELDS TERMINATED BY '' | 2 | 0.10 % | No |
data local infile filetxt | 2 | 0.10 % | No |
local infile filetxt into | 2 | 0.10 % | No |
`records` `domain_id` `name` `TYPE` | 2 | 0.10 % | No |
网络安全 25 Windows 35 | 1 | 0.05 % | No |
22 控制面板 3 系统调优 | 1 | 0.05 % | No |
网络工具 22 控制面板 3 | 1 | 0.05 % | No |
Internal links in - haiyun.me
关于 - 海运的博客
分析网站 - 海运的博客
文章归档 - 海运的博客
参考手册 - 海运的博客
在线工具 - 海运的博客
常用命令 - 海运的博客
centos repo管理使用 - 海运的博客
centos/debian自动通过网络远程安装系统配置脚本 - 海运的博客
IPXE网络引导通过kickstart和preseed自动安装centos/ubuntu/debian系统 - 海运的博客
使用kickstart安装ubuntu - 海运的博客
Centos/linux ipv4优先 - 海运的博客
海运的博客
海运的博客
海运的博客
海运的博客
海运的博客
PHP - 海运的博客
IIS - 海运的博客
Mail - 海运的博客
DNS - 海运的博客
Cacti - 海运的博客
Squid - 海运的博客
Nagios - 海运的博客
Puppet - 海运的博客
CentOS - 海运的博客
Iptables - 海运的博客
RADIUS - 海运的博客
OpenWrt - 海运的博客
DD-WRT - 海运的博客
VMware - 海运的博客
网站程序 - 海运的博客
备份存储 - 海运的博客
常用软件 - 海运的博客
日记分析 - 海运的博客
Linux基础 - 海运的博客
欧诺代理 - 海运的博客
Linux服务 - 海运的博客
系统监控 - 海运的博客
流量监控 - 海运的博客
虚拟化 - 海运的博客
伪静态 - 海运的博客
LVM - 海运的博客
Shell - 海运的博客
高可用 - 海运的博客
数据库 - 海运的博客
FreeBSD - 海运的博客
网络安全 - 海运的博客
Windows - 海运的博客
网络工具 - 海运的博客
控制面板 - 海运的博客
系统调优 - 海运的博客
Cisco - 海运的博客
VPN - 海运的博客
ROS - 海运的博客
Vim - 海运的博客
KMS - 海运的博客
PXE - 海运的博客
Mac - 海运的博客
Git - 海运的博客
PE - 海运的博客
LNS - 海运的博客
Xshell - 海运的博客
Firefox - 海运的博客
Cygwin - 海运的博客
OpenSSL - 海运的博客
Sandboxie - 海运的博客
StrokesPlus - 海运的博客
AutoHotKey - 海运的博客
Total Commander - 海运的博客
WordPress - 海运的博客
iMacros - 海运的博客
Typecho - 海运的博客
Ollydbg - 海运的博客
Photoshop - 海运的博客
正则 - 海运的博客
Debian - 海运的博客
Python - 海运的博客
NoSQL - 海运的博客
消息队列 - 海运的博客
JS - 海运的博客
Tmux - 海运的博客
GO - 海运的博客
HHVM - 海运的博客
算法 - 海运的博客
Docker - 海运的博客
initrd.img解压与打包 - 海运的博客
qq smtp 465/587端口区别 - 海运的博客
Haiyun.me Spined HTML
数据库 - 海运的博客 海运的博客 首页 关于 分析网站 文章归档 参考手册 在线工具 常用命令 Mysql插入UTF8带BOM变成0 发布时间:September 20, 2015 // 分类:数据库 // No Comments 使用PHP读取文件写入数据库遇到一个灵异的问题,第一行第一列内容插入后变成0,查看文件第一行开头为BOM格式:head -n 1 file | hexdump -C ef bb bf删除BOM解决:sed -i '1 s/^\xef\xbb\xbf//' file MySQL主从同步配置 发布时间:May 8, 2014 // 分类:数据库 // No Comments Master配置:log-bin = mysql-bin server-id = 1 binlog-do-db = powerdns #要同步的数据库Master新增slave账号:mysql> grant replication slave on *.* to 'slave'@'192.168.1.2' identified by 'passwd'; mysql> well-to-do privileges; 重启Master MySQL,查看Master状态信息,记住File名称,POS位置。mysql> show master status; +------------------+----------+--------------+------------------+ | File | Position | Binlog_Do_DB | Binlog_Ignore_DB | +------------------+----------+--------------+------------------+ | mysql-bin.000002 | 309 | powerdns | mysql | +------------------+----------+--------------+------------------+ 1 row in set (0.00 sec)Slave配置:server-id =2 slave-skip-errors = 1062 #跳过重复字段错误开始同步:mysql> transpiration master to master_host='192.168.1.1',master_user='slave',master_password='passwd',\ master_log_file='mysql-bin.000002',master_log_pos=309; mysql> start slave;查看Slave同步状态:mysql> show slave status\G; Slave_IO_Running: Yes Slave_SQL_Running: Yes MySQL插入存在覆盖 发布时间:April 9, 2014 // 分类:数据库 // No Comments 1.当插入列为主健或单一索引(可多列)值重复时执行update操作:INSERT INTO `records` (`domain_id`, `name`, `TYPE`, `content`, `ttl`) VALUES (:id, :name, :type, :content, :ttl) ON DUPLICATE KEY UPDATE `change_date` = '1';2.重复时先删除之前数据再插入新数据:REPLACE INTO `records` (`domain_id`, `name`, `TYPE`, `content`, `ttl`) VALUES (:id, :name, :type, :content, :ttl); 此内容被密码保护 发布时间:December 23, 2013 // 分类:数据库 // No Comments 请输入密码访问 从文本导入数据到数据库 发布时间:December 9, 2013 // 分类:PHP,数据库 // No Comments 文本多列以,分隔,导入到指定字段:load data local infile "file.txt" into table db.table FIELDS TERMINATED BY ',' (name,address); load data local infile "file.txt" into table db.table (name,address) FIELDS TERMINATED BY ','; update db.table SET aaa = 'test'; 也可使用PHP以数组的方式逐行插入,自定义方便。<?php $hostname="localhost"; $username="root"; $password="passwd"; $dbname="dbname"; mysql_connect($hostname,$username,$password); mysql_select_db("$dbname"); $mydate=file("/root/m.txt"); $n=count($mydate); for($i=0;$i<$n;$i++){ $date=explode(",",$mydate[$i]); $str="insert into table (name,address) values ('$date[0]','$date[1]')"; mysql_query($str); } mysql_close(); reverberate "ok!"; ?> 1234» 分类 Apache (13)Nginx (42)PHP (83)IIS (8)Mail (17)DNS (14)Cacti (14)Squid (5)Nagios (4)Puppet (7)CentOS (13)Iptables (23)RADIUS (3)OpenWrt (40)DD-WRT (1)VMware (9)网站程序 (3)备份存储 (11)常用软件 (20)日记分析 (10)Linux基础 (18)欧诺代理 (2)Linux服务 (18)系统监控 (4)流量监控 (7)虚拟化 (28)伪静态 (2)LVM (3)Shell (18)高可用 (2)数据库 (16)FreeBSD (3)网络安全 (25)Windows (35)网络工具 (22)控制面板 (3)系统调优 (10)Cisco (3)VPN (5)ROS (20)Vim (14)KMS (4)PXE (2)Mac (1)Git (1)PE (1)LNS (2)Xshell (7)Firefox (13)Cygwin (4)OpenSSL (9)Sandboxie (3)StrokesPlus (1)AutoHotKey (4)Total Commander (2)WordPress (3)iMacros (6)Typecho (2)Ollydbg (1)Photoshop (1)正则 (3)Debian (3)Python (8)NoSQL (6)消息队列 (4)JS (7)Tmux (3)GO (7)HHVM (2)算法 (1)Docker (2) 最新文章 centos repo管理使用centos/debian自动通过网络远程安装系统配置脚本使用kickstart安装ubuntuCentos/linux ipv4优先BT/utorrent连接加密及标志IPXE网络引导通过kickstart和preseed自动安装centos/ubuntu/debian系统ubuntu 通过ppa源安装最新版qbittorrentinitrd.img解压与打包libtorrent提高上传速度qq smtp 465/587端口区别 最近回复 404NTF: 交叉编译的作用是? 404NTF: 请教一下 CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go ... 小智: 安利个PHP开发以太坊区块链的教程: http://xc.hubwiz.com/course/... 陈浩南: 您好,您教程中的 dev.openwrt.org.cn 现在似乎不可用了。请问现在应该在哪里下... 斑马斑马: 怎么查看虚拟机CPU 内存使用情况 zzg: http://downloads.openwrt.org.cn/PandoraBox/rali... xiongrui: 看图 傻狍子: filebrowser好像和这功能一样? https://github.com/filebro... 陶国文: 想看看能不能安装 傻狍子: 服务端设置了用户名密码认证的话,在openwrt的openvpn客户端的配置文件当中该如何更改... Copyright © 2011 海运的博客 / 文章归档 / Archives Rss / Comments Rss / Powered By Typecho 页面执行耗时:0.0403秒。-->