友情提示:
错误发生的原因是我们在从库上插入了一条数据,又马上在主库上插入相同的数据,这样就造成主从不同步了.
系统:centos 7.x(64位)
软件版本:mysql 5.7(64位)
以下错误都是事后找的:
第一个错误:
2018-03-21T08:39:48.606372Z 8 [ERROR] Slave SQL for channel '': Worker 0 failed executing transaction 'c4e174e2-1368-11e7-8120-00163e12b9a9:401338043' at master log master-bin.001906, end_log_p...
php编译中遇到各种error解决办法
1) Configure: error: xml2-config not found. Please check your libxml2 installation.
Solutions :
Quote:
# yum install libxml2 libxml2-devel
2) Checking for pkg-config… /usr/bin/pkg-config configure: error: Cannot find OpenSSL’s <evp.h>
Solutions :
Quote:
# yum install openssl openssl-devel
3) Configure...
linux安装rails失败的解决办法
其实当ruby安装成功后,然后在gem install --no-ri --no-rdoc rails的时候,报出了下面的错误:
Fetching: thread_safe-0.3.4.gem (100%) Successfully installed thread_safe-0.3.4 Fetching: minitest-5.5.1.gem (100%) Successfully installed minitest-5.5.1 Fetching: tzinfo-1.2.2.gem (100%) Successfully installed tzinfo-1.2.2 Fetching: i18n-0.7.0.gem (100%) Successfully installed i18n-0.7.0 Fetching: activesupport-4.2.0.gem (100%) Successfully installed activesupport-4.2.0 Fetching: rails-deprecated_sanitizer-1.0.3.gem (100%) Successfully installed rails-deprecated_sanitizer-1.0.3 Fetching: mini_portile-0.6.2.gem (100%) Successfully installed mini_portile-0.6.2 Fetching: nokogiri-1.6.6.2.gem (100%) Building native extensions. This could take a while... ERROR: Error installing rails...
解决svn: Can’t convert string from ‘UTF-8′ to native encoding
今天同事在新服务器上更新svn代码的时候,出现如下错误:
Can't convert string from native encoding to 'UTF-8':
svn:
5?\228?\189?\141?\227?\128?\128950?\231?\130?\185?\227?\128?\128?\229?\138?\160?\232?\151?\164?\227?\128?\128?\230?\133?\142?\228?\186?\140.jpg
svn: Can't convert string from 'UTF-8' to native encoding:
svn:
docroot/new_interview/images/?\230?\151?\165?\230?\156?\172?\229?\183?\165?\229?\173?\166?\233?\153?\162?\227?\128?\128?\230?\173?\163?\231?\148?\176.jpg
然后代码也没有下载下来,找到docroot/new_interview/images/文件夹下面一看...