-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1955 lines (935 loc) · 57.4 KB
/
index.html
File metadata and controls
1955 lines (935 loc) · 57.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html class="theme-next pisces use-motion">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
<link href="/vendors/font-awesome/css/font-awesome.min.css?v=4.4.0" rel="stylesheet" type="text/css" />
<link href="/css/main.css?v=5.0.1" rel="stylesheet" type="text/css" />
<meta name="keywords" content="数据科学, 数据分析, 产品需求分析, 云计算, 项目管理, slash" />
<link rel="alternate" href="/atom.xml" title="Busihacker" type="application/atom+xml" />
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?v=5.0.1" />
<meta name="description" content="不成熟思想家。偏好数据技术栈。希望充当一个能做产品需求分析、设计和项目管理的 Program Manager/Data Scientist 。">
<meta property="og:type" content="website">
<meta property="og:title" content="Busihacker">
<meta property="og:url" content="check_hexo_config_url/index.html">
<meta property="og:site_name" content="Busihacker">
<meta property="og:description" content="不成熟思想家。偏好数据技术栈。希望充当一个能做产品需求分析、设计和项目管理的 Program Manager/Data Scientist 。">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Busihacker">
<meta name="twitter:description" content="不成熟思想家。偏好数据技术栈。希望充当一个能做产品需求分析、设计和项目管理的 Program Manager/Data Scientist 。">
<script type="text/javascript" id="hexo.configuration">
var NexT = window.NexT || {};
var CONFIG = {
scheme: 'Pisces',
sidebar: {"position":"left","display":"always"},
fancybox: false,
motion: true,
duoshuo: {
userId: 8461498,
author: 'Nora'
}
};
</script>
<title> Busihacker </title>
</head>
<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-47491561-3', 'auto');
ga('send', 'pageview');
</script>
<script type="text/javascript">
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?f26ede084ad338bcf34fc178c615fcb5";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<div class="container one-collumn sidebar-position-left
page-home
">
<div class="headband"></div>
<header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
<div class="header-inner"><div class="site-meta ">
<div class="custom-logo-site-title">
<a href="/" class="brand" rel="start">
<span class="logo-line-before"><i></i></span>
<span class="site-title">Busihacker</span>
<span class="logo-line-after"><i></i></span>
</a>
</div>
<p class="site-subtitle">inner peace</p>
</div>
<div class="site-nav-toggle">
<button>
<span class="btn-bar"></span>
<span class="btn-bar"></span>
<span class="btn-bar"></span>
</button>
</div>
<nav class="site-nav">
<ul id="menu" class="menu">
<li class="menu-item menu-item-home">
<a href="/" rel="section">
<i class="menu-item-icon fa fa-fw fa-home"></i> <br />
首页
</a>
</li>
<li class="menu-item menu-item-about">
<a href="/about" rel="section">
<i class="menu-item-icon fa fa-fw fa-user"></i> <br />
关于
</a>
</li>
<li class="menu-item menu-item-archives">
<a href="/archives" rel="section">
<i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
归档
</a>
</li>
<li class="menu-item menu-item-tags">
<a href="/tags" rel="section">
<i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
标签
</a>
</li>
<li class="menu-item menu-item-search">
<a href="#" class="popup-trigger">
<i class="menu-item-icon fa fa-search fa-fw"></i> <br />
搜索
</a>
</li>
</ul>
<div class="site-search">
<div class="popup">
<span class="search-icon fa fa-search"></span>
<input type="text" id="local-search-input">
<div id="local-search-result"></div>
<span class="popup-btn-close">close</span>
</div>
</div>
</nav>
</div>
</header>
<main id="main" class="main">
<div class="main-inner">
<div class="content-wrap">
<div id="content" class="content">
<section id="posts" class="posts-expand">
<article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a class="post-title-link" href="/2016/12/22/test-draft-publish-without-layout-variable/" itemprop="url">
test_draft_publish_without_layout_variable
</a>
</h1>
<div class="post-meta">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time itemprop="dateCreated" datetime="2016-12-22T11:38:42+08:00" content="2016-12-22">
2016-12-22
</time>
</span>
<span class="post-comments-count">
|
<a href="/2016/12/22/test-draft-publish-without-layout-variable/#comments" itemprop="discussionUrl">
<span class="post-comments-count ds-thread-count" data-thread-key="2016/12/22/test-draft-publish-without-layout-variable/" itemprop="commentsCount"></span>
</a>
</span>
<br />
<!--更新时间-->
<span class="post-meta-item-text">最近更新于</span>
<time itemprop="dateUpdated" datetime="2016-12-22T11:38:55+08:00" content="2016-12-22">
2016-12-22
</time>
</span>
</div>
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
</header>
<div class="post-body" itemprop="articleBody">
</div>
<div>
</div>
<div>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<font color=#FF4500 size=1> 撰写中</font>
<a class="post-title-link" href="/2016/12/22/test-draft-publish-1/" itemprop="url">
test_draft_publish
</a>
</h1>
<div class="post-meta">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time itemprop="dateCreated" datetime="2016-12-22T11:21:36+08:00" content="2016-12-22">
2016-12-22
</time>
</span>
<span class="post-comments-count">
|
<a href="/2016/12/22/test-draft-publish-1/#comments" itemprop="discussionUrl">
<span class="post-comments-count ds-thread-count" data-thread-key="2016/12/22/test-draft-publish-1/" itemprop="commentsCount"></span>
</a>
</span>
<br />
<!--更新时间-->
<span class="post-meta-item-text">最近更新于</span>
<time itemprop="dateUpdated" datetime="2016-12-22T11:26:19+08:00" content="2016-12-22">
2016-12-22
</time>
</span>
</div>
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
</header>
<div class="post-body" itemprop="articleBody">
</div>
<div>
</div>
<div>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a class="post-title-link" href="/2016/12/21/在python里通过myql访问远程服务器数据库配置memo/" itemprop="url">
在python里通过myql访问远程服务器数据库配置memo
</a>
</h1>
<div class="post-meta">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time itemprop="dateCreated" datetime="2016-12-21T21:35:51+08:00" content="2016-12-21">
2016-12-21
</time>
</span>
<span class="post-comments-count">
|
<a href="/2016/12/21/在python里通过myql访问远程服务器数据库配置memo/#comments" itemprop="discussionUrl">
<span class="post-comments-count ds-thread-count" data-thread-key="2016/12/21/在python里通过myql访问远程服务器数据库配置memo/" itemprop="commentsCount"></span>
</a>
</span>
<br />
<!--更新时间-->
<span class="post-meta-item-text">最近更新于</span>
<time itemprop="dateUpdated" datetime="2016-12-23T10:06:44+08:00" content="2016-12-23">
2016-12-23
</time>
</span>
</div>
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
</header>
<div class="post-body" itemprop="articleBody">
<h1 id="mac安装mysql"><a href="#mac安装mysql" class="headerlink" title="mac安装mysql"></a>mac安装mysql</h1><p>mac:<code>brew install mysql</code></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div></pre></td><td class="code"><pre><div class="line">==> Caveats</div><div class="line">We've installed your MySQL database without a root password. To secure it run:</div><div class="line"> mysql_secure_installation</div><div class="line"></div><div class="line">To connect run:</div><div class="line"> mysql -uroot</div><div class="line"></div><div class="line">To have launchd start mysql now and restart at login:</div><div class="line"> brew services start mysql</div><div class="line">Or, if you don't want/need a background service you can just run:</div><div class="line"> mysql.server start</div><div class="line">==> Summary</div><div class="line">🍺 /usr/local/Cellar/mysql/5.7.13: 13,344 files, 445.0M</div></pre></td></tr></table></figure>
<p>ubuntu:sudo apt-get-install mysql-server mysql-client<br>sudo apt-get-install libmysqlclient-dev# 为了支持python,有依赖</p>
<p><a href="http://stackoverflow.com/questions/1857861/libmysqlclient15-dev-on-macs" target="_blank" rel="external">#reference-How to get the MySQL C API libraries on OS X</a><br><a href="http://bbs.csdn.net/topics/310117511" target="_blank" rel="external">mysql-server与mysql-client有什么区别?</a></p>
<p><a href="http://blog.neten.de/posts/2014/01/27/install-mysql-using-homebrew/" target="_blank" rel="external">在 Mac 下用 Homebrew 安装 MySQL</a></p>
<h1 id="python支持"><a href="#python支持" class="headerlink" title="python支持"></a>python支持</h1><p>mac:<code>pip install mysqlclient</code>/<code>easy_install mysql-python</code><br>ubuntu:<code>pip install mysqlclient</code></p>
<p><a href="http://blog.csdn.net/a657941877/article/details/8944683" target="_blank" rel="external">#reference-MySQL database connector for Python</a><br><a href="https://www.zhihu.com/question/19869186/answer/98805967" target="_blank" rel="external">#reference-有哪些比较好的在 Python 中访问 MySQL 的类库?</a></p>
<h2 id="使用"><a href="#使用" class="headerlink" title="使用"></a>使用</h2><p>import mysqldb</p>
<h1 id="可能遇见的问题"><a href="#可能遇见的问题" class="headerlink" title="可能遇见的问题"></a>可能遇见的问题</h1><h2 id="连接远程服务器返回ERROR-2003-HY000-Can-39-t-connect-to-MySQL-server"><a href="#连接远程服务器返回ERROR-2003-HY000-Can-39-t-connect-to-MySQL-server" class="headerlink" title="连接远程服务器返回ERROR 2003 (HY000): Can't connect to MySQL server"></a>连接远程服务器返回<code>ERROR 2003 (HY000): Can't connect to MySQL server</code></h2><p>原因就是Mysql数据库的默认配置文件my.cnf(linux下)中的bind-address默认为127.0.0.1,即只允许本机访问,需要取消该限制。</p>
<p>ubuntu下使用<code>locate my.cnf</code>获取文件地址,如果返回<code>locate: can not stat ()</code>/var/lib/mlocate/mlocate.db’:<code>,执行</code>updatedb<code>解决。
[locate: can not stat ()</code>/var/lib/mlocate/mlocate.db’: No such file or directory](<a href="http://blog.csdn.net/w13770269691/article/details/6987384" target="_blank" rel="external">http://blog.csdn.net/w13770269691/article/details/6987384</a>)<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div></pre></td><td class="code"><pre><div class="line">root@localhost:~# locate my.cnf</div><div class="line">/etc/alternatives/my.cnf</div><div class="line">/etc/mysql/my.cnf</div><div class="line">/etc/mysql/my.cnf.fallback</div><div class="line">/var/lib/dpkg/alternatives/my.cnf</div></pre></td></tr></table></figure></p>
<p>my.cnf一般在/etc/mysql下面,网络绝大部分资源都显示直接修改该文件。<br>root@localhost:~# cat /etc/alternatives/my.cnf<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div><div class="line">19</div><div class="line">20</div><div class="line">21</div></pre></td><td class="code"><pre><div class="line">#</div><div class="line"># The MySQL database server configuration file.</div><div class="line">#</div><div class="line"># You can copy this to one of:</div><div class="line"># - "/etc/mysql/my.cnf" to set global options,</div><div class="line"># - "~/.my.cnf" to set user-specific options.</div><div class="line"># </div><div class="line"># One can use all long options that the program supports.</div><div class="line"># Run program with --help to get a list of available options and with</div><div class="line"># --print-defaults to see which it would actually understand and use.</div><div class="line">#</div><div class="line"># For explanations see</div><div class="line"># http://dev.mysql.com/doc/mysql/en/server-system-variables.html</div><div class="line"></div><div class="line">#</div><div class="line"># * IMPORTANT: Additional settings that can override those from this file!</div><div class="line"># The files must end with '.cnf', otherwise they'll be ignored.</div><div class="line">#</div><div class="line"></div><div class="line">!includedir /etc/mysql/conf.d/</div><div class="line">!includedir /etc/mysql/mysql.conf.d/</div></pre></td></tr></table></figure></p>
<p>根据<a href="http://askubuntu.com/questions/699903/why-etc-mysql-my-cnf-is-empty" target="_blank" rel="external">Why /etc/mysql/my.cnf is EMPTY</a>,配置文件(.cnf文件,一般是mysqld.cnf)locate在<br><code>/etc/mysql/conf.d/</code>和<code>/etc/mysql/mysql.conf.d/</code>中,我的mysqld.cnf地址是:<code>/etc/mysql/mysql.conf.d/mysqld.cnf</code></p>
<p>这才开始修改我的配置(mysqld.cnf)<br>修改前的配置文件为:<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div></pre></td><td class="code"><pre><div class="line"># </div><div class="line"># Instead of skip-networking the default is now to listen only on </div><div class="line"># localhost which is more compatible and is not less secure. </div><div class="line">bind-address = 127.0.0.1</div></pre></td></tr></table></figure></p>
<p>修改后:<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div></pre></td><td class="code"><pre><div class="line"># </div><div class="line"># Instead of skip-networking the default is now to listen only on </div><div class="line"># localhost which is more compatible and is not less secure. </div><div class="line"># bind-address = 127.0.0.1</div></pre></td></tr></table></figure></p>
<p>修改后并未立即生效,需要重启生效(可以找办法restart该服务,我是直接reboot)</p>
<p><a href="http://tk-zhang.iteye.com/blog/735467" target="_blank" rel="external">#reference-远程连接Mysql数据库问题(ERROR 2003 (HY000)</a><br><a href="http://www.jianshu.com/p/d501af0f127c" target="_blank" rel="external">#reference-MySQL数据库无法远程连接的解决办法</a><br><a href="http://www.2cto.com/database/201204/127400.html" target="_blank" rel="external">MySQL远程连接ERROR 2003 (HY000):Can’t connect to MySQL server on’XXXXX’的问题</a><br><a href="https://ihower.tw/rails/advanced-installation.html" target="_blank" rel="external">mac/ubuntu环境安装</a></p>
<h2 id="连接远程服务器返回ERROR-1130-HY000-is-not-allowed-to-connect-to-this-MySQL-server"><a href="#连接远程服务器返回ERROR-1130-HY000-is-not-allowed-to-connect-to-this-MySQL-server" class="headerlink" title="连接远程服务器返回ERROR 1130 (HY000): is not allowed to connect to this MySQL server"></a>连接远程服务器返回<code>ERROR 1130 (HY000): is not allowed to connect to this MySQL server</code></h2><p>服务器连接上mysql后, 授权myuser使用mypassword从任何主机连接到mysql服务器<br><code>GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'192.168.1.3' IDENTIFIED BY 'mypassword' WITH GRANT OPTION;</code></p>
<p><a href="http://www.cnblogs.com/chutianyao/archive/2011/12/28/2304332.html" target="_blank" rel="external">mysql远程连接解决办法</a><br><a href="http://blog.csdn.net/rongjch/article/details/607124" target="_blank" rel="external">无法远程登入MySQL Server解决</a></p>
<h2 id="ERROR-1045-28000-Access-denied-for-user"><a href="#ERROR-1045-28000-Access-denied-for-user" class="headerlink" title="ERROR 1045 (28000): Access denied for user"></a>ERROR 1045 (28000): Access denied for user</h2><p>尝试从本地连接服务器:<br><code>!mysql -h'104.128.92.224' -u<%username> -p<%password></code><br>反馈<code>mysql: [Warning] Using a password on the command line interface can be insecure.</code><br>所以执行<code>mysql -h'104.128.92.224' -uroot</code><br>但返回<code>ERROR 1045 (28000): Access denied for user</code>,属于粗心,正确的执行方式为:<code>`mysql -h'104.128.92.224' -u<%username> -p</code>再输入密码即可。</p>
<p><a href="http://blog.csdn.net/zzq900503/article/details/14163769" target="_blank" rel="external">遇到问题—mysql账户密码以及权限的问题</a><br><a href="http://blog.csdn.net/nel0511/article/details/13091163" target="_blank" rel="external">完整过程解决 ERROR 1045 (28000)</a><br><a href="https://segmentfault.com/a/1190000002514402" target="_blank" rel="external">Ubuntu服务器常用配置-mysql数据库的安装</a></p>
<h2 id="log问题"><a href="#log问题" class="headerlink" title="log问题"></a>log问题</h2><p><a href="http://www.cnblogs.com/jackluo/archive/2013/03/04/2942500.html" target="_blank" rel="external">mysql错误日志分析</a><br><a href="http://blog.csdn.net/lxpbs8851/article/details/7892256" target="_blank" rel="external">IP address could not be resolved: Temporary failure in name resolution</a></p>
<h2 id="mysql连接到远程服务器的思考"><a href="#mysql连接到远程服务器的思考" class="headerlink" title="mysql连接到远程服务器的思考"></a>mysql连接到远程服务器的思考</h2><p>mysql-client连接到mysql-server,通过什么协议发起请求?是否安全?看起来不是https 的<br><a href="http://stackoverflow.com/questions/21386005/python-and-connecting-to-mysql-over-ssh" target="_blank" rel="external">Python and Connecting to MySQL over SSH</a><br><a href="http://stackoverflow.com/questions/12972867/connect-on-remote-mysql-database-through-python" target="_blank" rel="external">Connect on remote MySQL database through Python</a><br><a href="http://python.jobbole.com/87088/" target="_blank" rel="external">python模块paramiko与ssh</a></p>
<p>#<br><a href="http://dev.mysql.com/doc/" target="_blank" rel="external">Standard Mysql Documentation</a><br><a href="http://mysql-python.sourceforge.net/MySQLdb.html" target="_blank" rel="external">MySQLdb User’s Guide</a><br><a href="https://www.python.org/dev/peps/pep-0249/" target="_blank" rel="external">Python Database API Specification v2.0</a></p>
</div>
<div>
</div>
<div>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<font color=#FF4500 size=1> 撰写中</font>
<a class="post-title-link" href="/2016/12/19/数据科学笔记/" itemprop="url">
数据科学笔记
</a>
</h1>
<div class="post-meta">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time itemprop="dateCreated" datetime="2016-12-19T20:59:46+08:00" content="2016-12-19">
2016-12-19
</time>
</span>
<span class="post-comments-count">
|
<a href="/2016/12/19/数据科学笔记/#comments" itemprop="discussionUrl">
<span class="post-comments-count ds-thread-count" data-thread-key="2016/12/19/数据科学笔记/" itemprop="commentsCount"></span>
</a>
</span>
<br />
<!--更新时间-->
<span class="post-meta-item-text">最近更新于</span>
<time itemprop="dateUpdated" datetime="2016-12-20T11:38:01+08:00" content="2016-12-20">
2016-12-20
</time>
</span>
</div>
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
</header>
<div class="post-body" itemprop="articleBody">
<p><a href="http://pandas.pydata.org/pandas-docs/stable/10min.html" target="_blank" rel="external">10 Minutes to pandas</a><br><a href="https://docs.scipy.org/doc/numpy-dev/user/quickstart.html" target="_blank" rel="external">Quickstart tutorial</a><br><strong>STANDARD</strong><br><a href="https://docs.python.org/2/library/array.html" target="_blank" rel="external">array — Efficient arrays of numeric values¶</a><br><a href="https://www.douban.com/group/topic/92144802/" target="_blank" rel="external">Python 中常用的数据类型</a></p>
<p>#了解scikit-learn<br><a href="http://scikit-learn.org/stable/auto_examples/index.html" target="_blank" rel="external">General examples</a><br><a href="http://scikit-learn.org/stable/tutorial/basic/tutorial.html" target="_blank" rel="external">An introduction to machine learning with scikit-learn</a></p>
</div>
<div>
</div>
<div>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<font color=#FF4500 size=1> 撰写中</font>
<a class="post-title-link" href="/2016/12/18/docker初探/" itemprop="url">
docker初探
</a>
</h1>
<div class="post-meta">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time itemprop="dateCreated" datetime="2016-12-18T21:22:56+08:00" content="2016-12-18">
2016-12-18
</time>
</span>
<span class="post-comments-count">
|
<a href="/2016/12/18/docker初探/#comments" itemprop="discussionUrl">
<span class="post-comments-count ds-thread-count" data-thread-key="2016/12/18/docker初探/" itemprop="commentsCount"></span>
</a>
</span>
<br />
<!--更新时间-->
<span class="post-meta-item-text">最近更新于</span>
<time itemprop="dateUpdated" datetime="2016-12-18T21:32:20+08:00" content="2016-12-18">
2016-12-18
</time>
</span>
</div>
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
</header>
<div class="post-body" itemprop="articleBody">
<h1 id="主机的概念"><a href="#主机的概念" class="headerlink" title="主机的概念"></a>主机的概念</h1><h1 id="集群的概念"><a href="#集群的概念" class="headerlink" title="集群的概念"></a>集群的概念</h1><h1 id="利用daocloud管理独立主机-kvm架构vps-amp-docker的加速器dao命令"><a href="#利用daocloud管理独立主机-kvm架构vps-amp-docker的加速器dao命令" class="headerlink" title="利用daocloud管理独立主机/kvm架构vps&docker的加速器dao命令"></a>利用daocloud管理独立主机/kvm架构vps&docker的加速器dao命令</h1><p><a href="http://docs.daocloud.io/cluster-mgmt/advanced-cluster-node-mgmt#-3" target="_blank" rel="external">集群和主机的管理及注意事项</a><br><a href="http://docs.daocloud.io/cluster-mgmt/add-node-by-script" target="_blank" rel="external">使用脚本命令手动添加主机</a><br><a href="http://www.ruanyifeng.com/blog/2016/03/systemd-tutorial-commands.html" target="_blank" rel="external">Systemd 入门教程:命令篇</a><br><a href="https://www.google.com.hk/search?ie=utf-8&oe=UTF-8&hl=zh-CN&q=Failed+to+start+Docker+Application+Container+Engine.&gws_rd=ssl" target="_blank" rel="external">Failed to start Docker Application Container Engine.</a></p>
<p><a href="http://phonzia.github.io/2016/09/Docker%E4%BD%BF%E7%94%A8%E5%AE%98%E6%96%B9mysql%E9%95%9C%E5%83%8F0" target="_blank" rel="external">Docker使用官方mysql镜像</a></p>
</div>
<div>
</div>
<div>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<font color=#FF4500 size=1> 撰写中</font>
<a class="post-title-link" href="/2016/12/07/test-draft-layout/" itemprop="url">
test_draft_layout
</a>
</h1>
<div class="post-meta">
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">发表于</span>
<time itemprop="dateCreated" datetime="2016-12-07T21:13:47+08:00" content="2016-12-07">
2016-12-07
</time>
</span>
<span class="post-comments-count">
|
<a href="/2016/12/07/test-draft-layout/#comments" itemprop="discussionUrl">
<span class="post-comments-count ds-thread-count" data-thread-key="2016/12/07/test-draft-layout/" itemprop="commentsCount"></span>
</a>
</span>
<br />
<!--更新时间-->
<span class="post-meta-item-text">最近更新于</span>
<time itemprop="dateUpdated" datetime="2016-12-07T21:13:47+08:00" content="2016-12-07">
2016-12-07
</time>
</span>
</div>
<span class="post-time">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
</header>
<div class="post-body" itemprop="articleBody">
</div>
<div>
</div>
<div>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>