posts - 325,  comments - 25,  trackbacks - 0
            2011年9月22日
               摘要:   閱讀全文
          posted @ 2020-04-02 09:40 長春語林科技 閱讀(152) | 評論 (0)編輯 收藏
          https://blog.csdn.net/qq_31122833/article/details/83992085
          posted @ 2020-03-05 13:34 長春語林科技 閱讀(330) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2020-02-15 10:14 長春語林科技 閱讀(141) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2020-02-06 11:08 長春語林科技 閱讀(158) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2019-10-08 16:15 長春語林科技 閱讀(123) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2019-10-08 11:35 長春語林科技 閱讀(152) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2019-09-25 11:06 長春語林科技 閱讀(448) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2019-07-12 13:41 長春語林科技 閱讀(116) | 評論 (0)編輯 收藏
          將博客搬至CSDN
          posted @ 2019-04-14 14:57 長春語林科技 閱讀(112) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2019-01-10 17:19 長春語林科技 閱讀(125) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-12-19 10:23 長春語林科技 閱讀(162) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-12-10 12:54 長春語林科技 閱讀(168) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-08-16 16:33 長春語林科技 閱讀(195) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-06-08 10:12 長春語林科技 閱讀(216) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-06-08 10:00 長春語林科技 閱讀(252) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-06-08 09:03 長春語林科技 閱讀(162) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-05-29 14:00 長春語林科技 閱讀(336) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-05-29 11:28 長春語林科技 閱讀(429) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-05-29 11:01 長春語林科技 閱讀(129) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-05-27 22:28 長春語林科技 閱讀(299) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-05-25 17:28 長春語林科技 閱讀(136) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-05-16 12:37 長春語林科技 閱讀(180) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-05-16 10:34 長春語林科技 閱讀(234) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-05-12 20:19 長春語林科技 閱讀(138) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-05-10 15:23 長春語林科技 閱讀(201) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-03-23 20:16 長春語林科技 閱讀(125) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-03-06 08:44 長春語林科技 閱讀(210) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-03-06 08:42 長春語林科技 閱讀(149) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-03-06 08:40 長春語林科技 閱讀(511) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-03-06 08:38 長春語林科技 閱讀(120) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-03-06 08:36 長春語林科技 閱讀(130) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-03-06 08:35 長春語林科技 閱讀(127) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-03-06 08:33 長春語林科技 閱讀(325) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2018-03-06 08:32 長春語林科技 閱讀(138) | 評論 (0)編輯 收藏
          es
               摘要:   閱讀全文
          posted @ 2017-12-27 16:22 長春語林科技 閱讀(132) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2017-10-19 10:42 長春語林科技 閱讀(130) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2017-07-19 20:28 長春語林科技 閱讀(176) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2017-06-15 10:21 長春語林科技 閱讀(189) | 評論 (0)編輯 收藏


          一.MYSQL的命令行模式的設置:
          桌面->我的電腦->屬性->環(huán)境變量->新建->PATH=";path/mysql/bin;"  其中path為MYSQL的安裝路徑。
          二.命令行進入MYSQL的方法:
          1.C:\>mysql -h hostname -u username -p
          按ENTER鍵,等待然后輸入密碼,這里hostname為服務器的名稱,如localhost,username為MYSQL的用戶名,如root.進入命令行就可以直接操作MYSQL了。
          三.從數(shù)據(jù)庫導出數(shù)據(jù)庫文件:
          1.將數(shù)據(jù)庫mydb導出到e:\mysql\mydb.sql文件中:
          打開開始->運行->輸入cmd進入命令行模式
          c:\>mysqldump -h localhost -u root -p mydb >e:\mysql\mydb.sql
          然后輸入密碼,等待一會導出就成功了,可以到目標文件中檢查是否成功。
          2.將數(shù)據(jù)庫mydb中的mytable導出到e:\mysql\mytable.sql文件中:
          c:\>mysqldump -h localhost -u root -p mydb mytable >e:\mysql\mytable.sql
          3.將數(shù)據(jù)庫mydb的結構導出到e:\mysql\mydb_stru.sql文件中:
          c:\>mysqldump -h localhost -u root -p mydb --add-drop-table >e:\mysql\mydb_stru.sql
          //-h localhost可以省略,其一般在虛擬主機上用
          四.從外部文件導入數(shù)據(jù)到數(shù)據(jù)庫:
          從e:\mysql\mydb2.sql中將文件中的SQL語句導入數(shù)據(jù)庫中:
          c:\>mysql -h localhost -u root -p mydb2 <e:\mysql\mydb2.sql
          然后輸入密碼,就OK了
          五.關于導入文件大小限制問題的解決:
          默認情況下:mysql對導入的文件大小有限制的,最大為2M,所以當文件很大時,直接無法導入,解決列舉如下:
          1.在php.ini中修改相關參數(shù):
          影響Mysql導入文件大小的參數(shù)有三個:
          memory_limit=128M, upload_max_filesize=2M, post_max_size=8M
          修改upload_max_filesize=200M這里修改滿足你需要的大小,可以同時修改其他兩項memory_limit=250M ,post_max_size=200M.這樣就可以導入200M以下的.sql文件了。

          上文是把mysql放置在系統(tǒng)路徑下,其實不放也可以。如我的mysql安裝目錄為D:\MySQL Server 5.0;
          則首先打開dos窗口,然后輸入D:(沒有'\')回車
          此時應該會出現(xiàn)D:\>這樣的標志,然后在其后輸入D:\MySQL Server 5.0\bin回車
          出現(xiàn)D:\MySQL Server 5.0\bin>接著輸入mysqldump -u root -p 數(shù)據(jù)庫名 >數(shù)據(jù)庫名.sql(也可以輸入路徑); (具體參照上面)
          導入文件同樣,只是改了'>'為'<'就可以了,或者直接用source也許:
          常用source命令
          進入mysql數(shù)據(jù)庫控制臺  : 如 mysql -u root -p
          mysql>use 數(shù)據(jù)庫
          然后使用source命令,后面參數(shù)為腳本文件(這里用到的是.sql)
          mysql>source d:\mydb.sql

          posted @ 2017-05-24 17:17 長春語林科技 閱讀(191) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2017-03-14 17:02 長春語林科技 閱讀(134) | 評論 (0)編輯 收藏
               摘要: 環(huán)境:阿里云ECS、centos 7一、防火墻配置不知道為什么,云主機沒有開啟firewall 或iptables,記錄一下配置iptables防火墻的步驟1、檢測并關閉firewall12345systemctl status firewalld.service #檢測是否開啟了firewall systemctl stop firewalld.service #關閉firewall&...  閱讀全文
          posted @ 2017-03-02 11:23 長春語林科技 閱讀(164) | 評論 (0)編輯 收藏
          cat /etc/redhat-release
          posted @ 2017-03-02 10:48 長春語林科技 閱讀(115) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2017-02-25 16:24 長春語林科技 閱讀(148) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2017-02-06 15:44 長春語林科技 閱讀(127) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2017-01-09 13:32 長春語林科技 閱讀(141) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2016-12-07 13:22 長春語林科技 閱讀(86) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2016-11-11 21:35 長春語林科技 閱讀(199) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2016-09-27 16:55 長春語林科技 閱讀(412) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2016-04-25 16:29 長春語林科技 閱讀(231) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2016-04-07 11:22 長春語林科技 閱讀(252) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2016-04-07 11:12 長春語林科技 閱讀(273) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2016-03-29 15:18 長春語林科技 閱讀(164) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2016-03-10 15:38 長春語林科技 閱讀(146) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2015-08-20 13:04 長春語林科技 閱讀(224) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2015-08-12 09:41 長春語林科技 閱讀(816) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2015-08-12 09:30 長春語林科技 閱讀(267) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2015-08-07 14:38 長春語林科技 閱讀(189) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2015-08-07 13:03 長春語林科技 閱讀(195) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2015-03-24 11:06 長春語林科技 閱讀(162) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2014-08-06 14:54 長春語林科技 閱讀(331) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2012-11-27 17:54 長春語林科技 閱讀(15466) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2012-05-10 12:30 長春語林科技 閱讀(2950) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2012-05-03 15:32 長春語林科技 閱讀(238) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2012-04-28 16:31 長春語林科技 閱讀(440) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2012-04-28 15:19 長春語林科技 閱讀(892) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2012-04-28 12:42 長春語林科技 閱讀(4103) | 評論 (1)編輯 收藏
               摘要:   閱讀全文
          posted @ 2012-04-19 22:16 長春語林科技 閱讀(1077) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2012-04-19 10:26 長春語林科技 閱讀(748) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2011-12-09 13:51 長春語林科技 閱讀(311) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2011-10-12 14:37 長春語林科技 閱讀(233) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2011-10-12 14:08 長春語林科技 閱讀(3458) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2011-10-08 09:55 長春語林科技 閱讀(1490) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2011-09-28 15:42 長春語林科技 閱讀(1200) | 評論 (0)編輯 收藏
               摘要:   閱讀全文
          posted @ 2011-09-22 18:06 長春語林科技 閱讀(181) | 評論 (0)編輯 收藏
          <2011年9月>
          28293031123
          45678910
          11121314151617
          18192021222324
          2526272829301
          2345678

           

          長春語林科技歡迎您!

          常用鏈接

          留言簿(6)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          相冊

          收藏夾

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 黔江区| 天祝| 辽中县| 定陶县| 互助| 乌兰察布市| 秦皇岛市| 镇赉县| 平阳县| 麻城市| 宁明县| 揭西县| 德安县| 德化县| 马边| 石台县| 延庆县| 忻城县| 襄垣县| 汶川县| 车险| 通州市| 潼南县| 饶阳县| 夏津县| 桐城市| 永兴县| 元阳县| 平安县| 和硕县| 阳高县| 磴口县| 汪清县| 六安市| 招远市| 南汇区| 乐东| 常宁市| 黎川县| 准格尔旗| 台中市|