<?xml version="1.0" encoding="utf-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>苦茶舍</title><link>https://www.niuhongwei.com/</link><description>仰望星空</description><item><title>MySQL5.7精简教程</title><link>https://www.niuhongwei.com/?id=6</link><description>&lt;p style=&quot;text-indent: 2em; line-height: 150%; text-align: left;&quot;&gt;官网上下载MySQL5.7大小是1.86GB,占用的空间相比较而言挺大的,为了满足实际的需求,对数据库进行精简。&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; line-height: 150%; text-align: left;&quot;&gt;精简前的MySQL5.7的目录:文件夹:bin、docs、include、lib、share ;COPYING、README&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; line-height: 150%; text-align: left;&quot;&gt;精简后的MySQL5.7的目录:&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; line-height: 150%; text-align: left;&quot;&gt;1.只保留MySQL下的文件夹。(COPYING、README保持不变)&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; line-height: 150%; text-align: left;&quot;&gt;bin /share&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; line-height: 150%; text-align: left;&quot;&gt;2.bin文件下只留下:mysql.exe (客户端) 、mysqladmin.exe、mysqld.exe&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; line-height: 150%; text-align: left;&quot;&gt;3.share文件下只留下:charsets 、english&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; line-height: 150%; text-align: left;&quot;&gt;4.由于MySQL5.7中并没有my.default.ini,自己创建文件my.ini,在my.ini中进行配置。(在mysql中查SQL模式的命令是:select @@global.sql_mode,记住配OUP_置sql_mode,如果您需要导入的sql是5.6版本的在配置的时候就要去掉ONLY_FULL_GROUP_BY;如果还在导入sql的时候报错data的错也去掉:NO_ZERO_IN_DATE,NO_ZERO_DATE)&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; line-height: 150%; text-align: left;&quot;&gt;5.配置成功后可进行安装。&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; line-height: 150%; text-align: left;&quot;&gt;6.进入到MySQL/bin下,mysqld --install MySQL5.7 --defaults-file=&amp;quot;D:MySQL/my.ini&amp;quot;(使用此命令直接指定文件,mysqld --install MySQL5.7也是可以的,但这样的操作小编在测试多个MySQL服务的过程中有可能会用的是同一个文件, 为了避免使用同一个,小编就指定文件安装)&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; line-height: 150%; text-align: left;&quot;&gt;7.mysqld --initialize-insecure&amp;nbsp; --user =mysql(mysql5.7版本的初始化的时候安全性加强,mysqld --initialize 命令初始化的时候会初始化一个随机的密码,需要大家记住,在后面登录的时候需要用到。mysqld --initialize-insecure命令是初始化的时候默认的是空,这样就不需要记了)&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; line-height: 150%; text-align: left;&quot;&gt;8.初始化的时候MySQL5.7的data文件夹就会自动生成。(如果您之前安装过通过命令sc delete MySQL5.7,再次安装的初始化之前一定要删除data文件夹)&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; line-height: 150%; text-align: left;&quot;&gt;9.接下来就是登陆了,mysql -u root -P3308 -p 登录成功。(如果您的端口不是默认的3306,请加上端口,否则登录不成功)&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; line-height: 150%; text-align: left;&quot;&gt;10.登录成功后要修改密码,set password for root@localhost =password(&amp;#39;123456&amp;#39;); root 是用户名;123456是您的密码&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; line-height: 150%; text-align: left;&quot;&gt;11.一切准备ok后,精简的就OK了,请开始你的表演。(精简后的MySQL你可以导入sql进行查看,是否满足实际的需求,若存在不符可进行sql语句优化)&lt;/p&gt;</description><pubDate>Fri, 03 Apr 2026 13:42:20 +0800</pubDate></item><item><title>Windows 设置 本地连接 IP地址命令</title><link>https://www.niuhongwei.com/?id=5</link><description>&lt;p&gt;Echo off&lt;/p&gt;&lt;p&gt;echo 手动设置IP地址&lt;/p&gt;&lt;p&gt;Netsh interface IP Set Addr &amp;quot;本地连接&amp;quot; Static 192.168.0.2 255.255.255.0 192.168.0.1&lt;/p&gt;&lt;p&gt;echo 手动设置DNS地址&lt;/p&gt;&lt;p&gt;Netsh interface IP Set dns &amp;quot;本地连接&amp;quot; static 223.5.5.5 primary&lt;/p&gt;&lt;p&gt;echo 手动设置备份DNS地址&lt;/p&gt;&lt;p&gt;Netsh interface IP add dns &amp;quot;本地连接&amp;quot; 114.114.114.114&lt;/p&gt;&lt;p&gt;Echo 设置成功 您的IP为192.168.0.2&lt;/p&gt;&lt;p&gt;Pause&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Fri, 03 Apr 2026 13:39:37 +0800</pubDate></item><item><title>吕氏春秋·察微</title><link>https://www.niuhongwei.com/?id=4</link><description>&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;鲁国之法，鲁人为人臣妾于诸侯，有能赎之者，取其金于府。子贡赎鲁人于诸侯，来而让不取其金。孔子曰：“赐失之矣。自今以往，鲁人不赎人矣。取其金则无损于行，不取其金则不复赎人矣。”子路拯溺者，其人拜之以牛，子路受之。孔子曰：“鲁人必拯溺者矣。”&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;这是《吕氏春秋·察微》中记载的一个典故，大体意思说的是：鲁国的法律规定，鲁国人在别的诸侯国家做奴隶，如果有人能帮助他们赎身，可以回来从国库领取酬金。这条法律让许多鲁人得以重返故乡。孔子的学生子贡从别的诸侯国赎回了一个鲁人，但是回来后却辞让，不肯领取政府的酬金。孔子对他说：“端木赐（就是子贡）你这样做是不对的。从今以后，鲁人不再会赎人了。领取国库的金钱并不会损害一个人的品行，但是不领取酬金就不再会赎人了。”孔子的另一个学生子路救了一个落水的人，那个人用一头牛来答谢他，子路接受了。孔子说：“鲁人以后都会勇于搭救落水者了。”&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;从表面上看，两人都做了好事，但是子贡却不求回报，似乎更加接近我们传统教育中的无私奉献精神；相比而下，子路就逊色了很多，一头牛在农耕社会的春秋时期可算是价值不菲的一笔馈赠，接受如此贵重的回报离我们所颂扬的雷锋精神自然相去甚远。然而，孔子对他们的行为的评价则是恰恰相反，他认为子贡的行为是“不对”的，据说还因此要将子贡逐出师门；他对于子路的行为则非常认可，并且给予了鼓励。&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;孔夫子这样评价自然是有他的道理的。子贡的行为虽然看上去十分高尚和洒脱，但是他私自抬高了“仁”的标准。在他这里“仁”就不仅仅是解救同胞了，而且必须加上不求回报。子贡是孔子弟子中的首富，领取的酬金相对于他的万贯家财来说不算什么，可是对其他人来讲，反赠的酬金可是一笔不小的数目，在现实的生活面前，大多数人无法像他这样“洒脱”，毕竟“洒脱”是需要资本的。于是很多人会在子贡的高大形象面前选择退却，也就是向孔子断言的那样“鲁人不赎人矣”。如果子贡是为了成就自己的名声，我们可以认为他是自私的，甚至其中还不乏一种炫耀的成分；如果子贡纯粹是仗义疏财，那么至少他并不那么聪明，总之，孔夫子的评价是对的——“赐失之矣”。&lt;/p&gt;</description><pubDate>Mon, 23 Mar 2026 15:41:06 +0800</pubDate></item><item><title>我曾在那一角落患过伤风</title><link>https://www.niuhongwei.com/?id=3</link><description>&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;曾经恋爱过的人都明白，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;最爱的，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;总是得不到的。　&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;得与失，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;得当然喜；&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;得而复失、&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;患得患失、&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;乍得还失，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;更悲！　&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;曾经恋爱过的都明白，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;童话式的天长地久只属于童话，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;属于现实，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;难得，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;所以可贵，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;所以童话！&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;现实中的爱情，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;最爱的，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;总是得不到的。　&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;伤风，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;能够用药治好，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;中药太慢，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;西药太伤身体，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;所以，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;我总是选择自然好。　&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;我的伤风断断续续，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;蔓延开来，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;咳嗽，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;头痛。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;然而，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;反反复复，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;讳疾忌医。　&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;我害怕中药太苦，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;从来不喝。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;害怕西药伤身，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;尽量少吃。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;终于，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;还是有那么一天，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;我发现我的伤风好了，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;以前痛苦挣扎，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;以为就这样一辈子沉重地背着伤风病。&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;一瞬间，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;却发现早已全愈。　&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;爱情，&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-indent: 2em; text-align: left;&quot;&gt;&lt;span style=&quot;text-wrap-mode: nowrap;&quot;&gt;也不过如此。&lt;/span&gt;&lt;/p&gt;</description><pubDate>Mon, 23 Mar 2026 15:37:14 +0800</pubDate></item><item><title>点一盏灯 刘墉</title><link>https://www.niuhongwei.com/?id=1</link><description>&lt;p style=&quot;text-align: left; text-indent: 2em;&quot;&gt;今夜，我为你点亮门灯，因为实在太晚了！我知道那盏小小的灯，不可能照亮你漆黑的路，但是我不由得将它点亮，告诉你在家中有着许多悬念的心。是的！那是许多悬念的心，大家装作若无其事的样子，看电视、聊天，但是每个人的耳朵都在门外，每一双眼睛都情不自禁地向门口瞟。　&lt;/p&gt;&lt;p style=&quot;text-align: left; text-indent: 2em;&quot;&gt;直到你的脚步声，在前门石阶上出现，那许多颗悬着的心，才放了下来。你说打电话时家里正占线，因为歌剧团等着你伴奏，所以没再拨；练完则急着赶车，心想不久就能到家，便也省了。这番话听来似乎有道理，问题是，你有没有想到亲人悬念，可不是只悬念一下，就不再悬念了？那是一直地念，且愈念愈焦，愈悬愈高的？这许多颗心，竟不值得你多拨几次电话吗？　&lt;/p&gt;&lt;p style=&quot;text-align: left; text-indent: 2em;&quot;&gt;其实我不应该苛责你，因为那是许多年轻人都犯的毛病，他们只顾自己玩，很少想到以父母的心来思想。“己所不欲，勿施于人”，对于孩子来说，他们还不是父母，当然没有所谓的“己所不欲”，也便难免将这些牵挂痛苦施之于父母了。　&lt;/p&gt;&lt;p style=&quot;text-align: left; text-indent: 2em;&quot;&gt;记得我在你的年岁，每次读到《孝经》或《论语》中“身体发肤，受之父母，不敢毁伤”和“父母在，不远游，游必有方”，都心想孔子说得有点过分，父母是父母，子女是子女，大家是独立的个体，也当然有自主权。但是今天，再看到这两句话，感觉就不同，我坚信：当孔子说的时候，他一定已经有了孩子，因为只有自己经历到看见子女受伤的痛苦，以及对出门在外的孩子的悬念之后，才可能说出这样的话。为什么子女爱父母，似乎总不如父母爱子女的多呢？因为他们对父母的牺牲与奉献，远不及父母所给予的。你应当记得我在《点一盏心灯》那本书里讲的故事。　&lt;/p&gt;&lt;p style=&quot;text-align: left; text-indent: 2em;&quot;&gt;一个原本对邻人漠不理睬的主妇，偶然听见邻居孩子的哭声，又见一股浓烟从邻人的屋里冒出来。当她冲进去将孩子抱起时，原本不怎么大的火势突然扩大了，使她几乎陷身火窟，从此，她居然对那救出的孩子特别关心。而当人问她原因时，她说：“因为我差点为这孩子送了命！”　&lt;/p&gt;&lt;p style=&quot;text-align: left; text-indent: 2em;&quot;&gt;说实在的，如果她事先知道火势会突然变大，恐怕不敢进去救孩子。但是她既然冒了生命的危险，作出那样的牺牲，也就会增加对那孩子的爱同样的道理，哪个父母不是对子女做了万般的牺牲与奉献？而子女有几个在青少年时，就大大地回馈父母？当然，那奉献愈多的人，愈会付出爱！　&lt;/p&gt;&lt;p style=&quot;text-align: left; text-indent: 2em;&quot;&gt;所以，这世上不是被爱得愈多的人，愈懂得回报爱。反而爱得愈多的人，愈会加深地去爱！直到有一天：他自己做了父母，才知道来自前人的爱有多么伟大。所以，今夜我点亮了门灯。希望当你在漆黑的夜色和寒冷的北风中归来时，能远远看见家门前一盏灯。你敢说当你看到这晕黄的灯光时，没有一股温馨从心底升起吗？　&lt;/p&gt;&lt;p style=&quot;text-align: left; text-indent: 2em;&quot;&gt;我相信，当有一天你独自生活，踏过今夜这样的路，走到自己漆黑的阶前时，必然会怀念我的这一盏灯。而后你结婚，寒夜归来，看见门灯正亮，便在心里高兴地说：看！我的妻子为我点了灯，她在等我呢！　&lt;/p&gt;&lt;p style=&quot;text-align: left; text-indent: 2em;&quot;&gt;而后，你有了孩子，大到可以深夜未归，你更会为他点上门前的灯！　&lt;/p&gt;&lt;p style=&quot;text-align: left; text-indent: 2em;&quot;&gt;于是，你终于深深地体验到：每盏门灯后，都有一颗，甚至许多颗悬念的心！　&lt;/p&gt;</description><pubDate>Mon, 23 Mar 2026 15:24:17 +0800</pubDate></item></channel></rss>