如何实现财务自由

本文最后更新于 2018年8月13日。

所谓财务自由,说浅了就是自己赚钱自己花,说得深一点就是了解钱的规则,并利用规则给自己生钱。刚毕业,才拿到工资,或许对比那些大多数家境富裕金钱教育又好的人来说,我落后了很多,但是我在开始学习区块链,学习python,学习金融的规则,了解游戏规则。日后,某一天,自己掌握规则,让自己掌握金钱,不被金钱掌握。
现在全职工作,业余时间写书,第一本去年出版,现在每年拿两次版税,比较可观。

阅读更多

A PHP Error……real_connect(): Headers and client解决办法

本文最后更新于 2018年8月13日。

这是一个数据头格式与library不符,将sql驱动改为sqld驱动即可解决

<span class="hljs-attribute" style="color: #EEDC70; word-wrap: inherit !important; word-break: inherit !important;">php</span> -i|grep Client<br>

查询当前Client 版本,结果如下:

Client API version => <span class="hljs-number" style="color: #AE87FA; word-wrap: inherit !important; word-break: inherit !important;">5.6</span>
<span class="hljs-number" style="color: #AE87FA; word-wrap: inherit !important; word-break: inherit !important;">.31</span>
<br>Client API <span class="hljs-keyword" style="color: #F82375; word-wrap: inherit !important; word-break: inherit !important;">library</span> version => <span class="hljs-number" style="color: #AE87FA; word-wrap: inherit !important; word-break: inherit !important;">5.6</span>
<span class="hljs-number" style="color: #AE87FA; word-wrap: inherit !important; word-break: inherit !important;">.31</span>
<br>Client API header version => <span class="hljs-number" style="color: #AE87FA; word-wrap: inherit !important; word-break: inherit !important;">5.5</span>
<span class="hljs-number" style="color: #AE87FA; word-wrap: inherit !important; word-break: inherit !important;">.47</span>-MariaDB<br>Client API version => <span class="hljs-number" style="color: #AE87FA; word-wrap: inherit !important; word-break: inherit !important;">5.6</span>
<span class="hljs-number" style="color: #AE87FA; word-wrap: inherit !important; word-break: inherit !important;">.31</span>
<br>

header version => 5.5.47-MariaDB版本号不一样,因此报错。
卸载安装命令(仅限PHP7.0,其他版本需要更改名字)

阅读更多