- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我对 mariaDB 还很陌生。我必须将 mysql 导出的 sql 文件迁移到 mariaDB。但它不起作用。
我不断收到此错误(它是一个 wordpress 数据库,没什么特别的)
731 were found during analysis.
Unexpected Character. (near ":" at position 4151)
Unexpected Character. (near "[" at position 4152)
Unexpected Character. (near "]" at position 4168)
Unexpected Character. (near ":" at position 4183)
Unexpected Character. (near "\" at position 5183)
SQL 查询:
SQL 查询:
INSERT INTO `wp1rfk1x_eg_item_skins` VALUES(37, 'Jimmy Carter', 'jimmy-carter', '{"eg-item-skin-element-last-id":"24","choose-layout":"masonry","show-content":"bottom","content-align":"left","element-x-ratio":"4","element-y-ratio":"3","cover-type":"full","container-background-color":"#ffffff","0":"Default","element-container-background-color-opacity":"0","cover-background-size":"cover","cover-background-repeat":"no-repeat","cover-background-image":"0","cover-background-image-url":"","full-bg-color":"#ffffff","full-padding":["30","30","27","30"],"full-border":["0","0","0","0"],"full-border-radius":["0","0","0","0"],"full-border-color":"#e5e5e5","full-border-style":"solid","content-bg-color":"#ffffff","content-padding":["27","0","0","0"],"content-border":["0","0","0","0"],"content-border-radius":["0","0","0","0"],"content-border-color":"#e5e5e5","content-border-style":"solid","all-shadow-used":"none","content-shadow-color":"#000000","content-shadow-alpha":"100","content-box-shadow":["0","3","6","1"],"cover-animation-top-type":"","cover-animation-delay-top":"0","cover-animation-top":"fade","cover-animation-center-type":"","cover-animation-delay-center":"0","cover-animation-center":"fade","cover-animation-bottom-type":"","cover-animation-delay-bottom":"0","cover-animation-bottom":"fade","cover-group-animation":"none","media-animation":"3dturnright","media-animation-delay":"8","google-fonts":["Droid+Serif:400,700","Open+Sans:400,600,700,800"]}', '[{"id":"0","order":"0","container":"c","settings":{"0":"","source":"text","enable-hover":"","font-size":"13","line-height":"15","color":"#363839","font-family":"\\"Open Sans\\"","font-weight":"800","text-decoration":"none","font-style":"","text-transform":"uppercase","display":"inline-block","text-align":"center","float":"left","clear":"both","margin":{"0":"0","1":"0","2":"0","3":"0"},"padding":{"0":"5","1":"10","2":"5","3":"10"},"background-color":"#ffffff","bg-alpha":"75","background-size":"cover","background-repeat":"no-repeat","shadow-color":"#000000","shadow-alpha":"100","box-shadow":{"0":"0","1":"0","2":"0","3":"0"},"border":{"0":"0","1":"0","2":"0","3":"0"},"border-radius":{"0":"0","1":"0","2":"0","3":"0"},"border-radius-unit":"px","border-color":"transparent","border-style":"none","css":"","font-size-hover":"13","line-height-hover":"14","color-hover":"#ffffff","font-family-hover":"","font-weight-hover":"700","text-decoration-hover":"none","font-style-hover":"","text-transform-hover":"uppercase","background-color-hover":"#ffffff","bg-alpha-hover":"15","background-size-hover":"cover","background-size-x-hover":"100","background-size-y-hover":"100","background-repeat-hover":"no-repeat","shadow-color-hover":"#000000","shadow-alpha-hover":"100","box-shadow-hover":{"0":"0","1":"0","2":"0","3":"0"},"border-hover":{"0":"0","1":"0","2":"0","3":"0"},"border-radius-hover":{"0":"0","1":"0","2":"0","3":"0"},"border-radius-unit-hover":"px","border-color-hover":"transparent","border-style-hover":"none","css-hover":"","hideunder":"0","transition":"skewright","delay":"15","link-type":"none","url-link":"","javascript-link":"","attribute":"","class":"","rel":"","padding-unit":"px","border-unit":"px","box-shadow-unit":"px","position":"relative","top-bottom":"0","left-right":"0","limit-type":"none","limit-num":"10","transition-type":"","tag-type":"div","force-important":"","align":"t_l","absolute-unit":"px","margin-unit":"px","source-separate":",","source-text":"I\'m a custom caption"}},{"id":"1","order":"0","container":"m","settings":{"0":"","source":"post","enable-hover":"on","font-size":"20","line-height":"25","color":"INSERT INTO `wp1rfk1x_eg_item_skins` VALUES(38, 'Ronald Reagan', 'ronald-reagan', '{"eg-item-skin-element-last-id":"8","choose-layout":"masonry","show-content":"bottom","content-align":"left","element-x-ratio":"4","element-y-ratio":"3","cover-type":"full","container-background-color":"transparent","0":"Default","element-container-background-color-opacity":"100","cover-background-size":"cover","cover-background-repeat":"no-repeat","cover-background-image":"0","cover-background-image-url":"","full-bg-color":"transparent","full-padding":["0","0","0","0"],"full-border":["0","0","0","0"],"full-border-radius":["0","0","0","0"],"full-border-color":"transparent","full-border-style":"none","full-overflow-hidden":"false","content-bg-color":"#ffffff","content-padding":["20","20","20","20"],"content-border":["0","0","0","0"],"content-border-radius":["0","0","0","0"],"content-border-color":"transparent","content-border-style":"none","all-shadow-used":"none","content-shadow-color":"#000000","content-shadow-alpha":"100","content-box-shadow":["0","0","0","0"],"cover-animation-top-type":"","cover-animation-delay-top":"0","cover-animation-top":"none","cover-animation-center-type":"out","cover-animation-delay-center":"4","cover-animation-center":"fade","cover-animation-bottom-type":"out","cover-animation-delay-bottom":"0","cover-animation-bottom":"fade","cover-group-animation":"none","media-animation":"none","media-animation-delay":"0"}', '[{"id":"0","order":"0","container":"tl","settings":{"0":"","source":"post","enable-hover":"","font-size":"13","line-height":"20","color":"#ffffff","font-family":"","font-weight":"700","text-decoration":"none","font-style":"","text-transform":"uppercase","display":"inline-block","text-align":"center","float":"left","clear":"both","margin":{"0":"0","1":"0","2":"0","3":"0"},"padding":{"0":"10","1":"20","2":"10","3":"20"},"background-color":"#4d384b","bg-alpha":"100","background-size":"cover","background-repeat":"no-repeat","shadow-color":"#000000","shadow-alpha":"100","box-shadow":{"0":"0","1":"0","2":"0","3":"0"},"border":{"0":"0","1":"0","2":"0","3":"0"},"border-radius":{"0":"0","1":"0","2":"0","3":"0"},"border-radius-unit":"px","border-color":"transparent","border-style":"none","css":"","font-size-hover":"13","line-height-hover":"14","color-hover":"#ffffff","font-family-hover":"","font-weight-hover":"700","text-decoration-hover":"none","font-style-hover":"","text-transform-hover":"uppercase","background-color-hover":"#ffffff","bg-alpha-hover":"15","background-size-hover":"cover","background-size-x-hover":"100","background-size-y-hover":"100","background-repeat-hover":"no-repeat","shadow-color-hover":"#000000","shadow-alpha-hover":"100","box-shadow-hover":{"0":"0","1":"0","2":"0","3":"0"},"border-hover":{"0":"0","1":"0","2":"0","3":"0"},"border-radius-hover":{"0":"0","1":"0","2":"0","3":"0"},"border-radius-unit-hover":"px","border-color-hover":"transparent","border-style-hover":"none","css-hover":"","hideunder":"0","transition":"slideup","delay":"6","link-type":"none","url-link":"","javascript-link":"","attribute":"","class":"","rel":"","padding-unit":"px","border-unit":"px","box-shadow-unit":"px","position":"relative","top-bottom":"0","left-right":"0","limit-type":"none","limit-num":"","transition-type":"out","tag-type":"div","force-important":"","align":"t_l","absolute-unit":"px","margin-unit":"px","source-separate":"","hide-on-video":"","show-on-sale":"","show-if-featured":"","source-post":"date_modified"}},{"id":"1","order":"0","container":"br","settings":{"0":"","source":"post","enable-hover":"","font-size":"20","line-height":"23","color":"#ffffff","font-family":"\\"Droid Serif\\"","font-weight":"300","text-decoration":"none","font-style":"","text-transform":"none","display":"block","text-align":"left","float":"none","clear":"both","margin":["0","0","10","10"],"padding":["5","10","5","10"],"background-color":"#ffffff","bg-alpha":"0","background-size":"cover","background-repeat":"no-repeat","shadow-color":"#000000","shadow-alpha":"100","box-shadow":["0","0","0","0"],"border":["0","0","0","0"],"border-radius":["0","0","0","0"],"border-radius-unit":"px","border-color":"transparent","border-style":"none","css":"","font-size-hover":"13","line-height-hover":"14","color-hover":"#ffffff","font-family-hover":"","font-weight-hover":"700","text-decoration-hover":"none","font-style-hover":"","text-transform-hover":"uppercase","background-color-hover":"#ffffff","bg-alpha-hover":"15","background-size-hover":"cover","background-size-x-hover":"100","background-size-y-hover":"100","background-repeat-hover":"no-repeat","shadow-color-hover":"#000000","shadow-alpha-hover":"100","box-shadow-hover":["0","0","0","0"],"border-hover":["0","0","0","0"],"border-radius-hover":["0","0","0","0"],"border-radius-unit-hover":"px","border-color-hover":"transparent","border-style-hover":"none","css-hover":"","hideunder":"0","transition":"slidedown","delay":"15","link-type":"none","url-link":"","javascript-link":"","attribute":"","class":"","rel":"","padding-unit":"px","border-unit":"px","box-shadow-unit":"px","position":"relative","top-bottom":"0","left-right":"0","limit-type":"words","limit-num":"10","transition-type":"out","tag-type":"div","force-important":"","align":"t_l","absolute-unit":"px","margin-unit":"px","source-separate":",","source-post":"title"}},{"id":"2","order":"0","container":"m","settings":{"0":"","source":"post","enable-hover":"on","font-size":"12","line-height":"14","color":"#999999","font-family":"\\"Open Sans\\"","font-weight":"400","text-decoration":"none","font-style":"","text-transform":"none","display":"inline-block","text-align":"center","float":"none","clear":"none","margin":["0","20","0","0"],"padding":["0","0","0","0"],"background-color":"#ffffff","bg-alpha":"0","background-size":"cover","background-repeat":"no-repeat","shadow-color":"#000000","shadow-alpha":"100","box-shadow":["0","0","0","0"],"border":["0","0","0","0"],"border-radius":["0","0","0","0"],"border-radius-unit":"px","border-color":"transparent","border-style":"none","css":"","font-size-hover":"12","line-height-hover":"14","color-hover":"#000000","font-family-hover":"\\"Open Sans\\"","font-weight-hover":"400","text-decoration-hover":"none","font-style-hover":"","text-transform-hover":"none","background-color-hover":"#ffffff","bg-alpha-hover":"0","background-size-hover":"cover","background-size-x-hover":"100","background-size-y-hover":"100","background-repeat-hover":"no-repeat","shadow-color-hover":"#000000","shadow-alpha-hover":"100","box-shadow-hover":["0","0","0","0"],"border-hover":["0","0","0","0"],"border-radius-hover":["0","0","0","0"],"border-radius-unit-hover":"px","border-color-hover":"transparent","border-style-hover":"none","css-hover":"","hideunder":"0","transition":"slideright","delay":"34","link-type":"none","url-link":"","javascript-link":"","attribute":"","class":"","rel":"","padding-unit":"px","border-unit":"px","box-shadow-unit":"px","position":"relative","top-bottom":"0","left-right":"0","limit-type":"none","limit-num":"10","transition-type":"","tag-type":"div","force-important":"true","align":"t_l","absolute-unit":"px","margin-unit":"px","source-separate":", ","border-hover-unit":"px","border-radius-hover-unit":"px","box-shadow-hover-unit":"px","border-unit-hover":"px","box-shadow-unit-hover":"px","source-post":"cat_list"}},{"id":"8","order":"0","container":"c","settings":{"0":"Default","source":"icon","enable-hover":"on","font-size":"20","line-height":"28","color":"#ffffff","font-family":"","font-weight":"400","text-decoration":"none","font-style":"","text-transform":"none","display":"inline-block","text-align":"center","float":"none","clear":"none","margin":["0","0","0","0"],"padding":["17","17","17","17"],"background-color":"#000000","bg-alpha":"100","background-size":"cover","background-repeat":"no-repeat","shadow-color":"#000000","shadow-alpha":"100","box-shadow":["0","0","0","0"],"border":["0","0","0","0"],"border-radius":["60","60","60","60"],"border-radius-unit":"px","border-color":"#ffffff","border-style":"solid","font-size-hover":"20","line-height-hover":"28","color-hover":"#000000","font-family-hover":"","font-weight-hover":"400","text-decoration-hover":"none","font-style-hover":"","text-transform-hover":"none","background-color-hover":"#ffffff","bg-alpha-hover":"100","background-size-hover":"cover","background-size-x-hover":"100","background-size-y-hover":"100","background-repeat-hover":"no-repeat","shadow-color-hover":"#000000","shadow-alpha-hover":"100","box-shadow-hover":["0","0","0","0"],"border-hover":["0","0","0","0"],"border-radius-hover":["60","60","60","60"],"border-radius-unit-hover":"px","border-color-hover":"#ffffff","border-style-hover":"solid","hideunder":"0","transition":"rotatescale","delay":"10","link-type":"post","url-link":"","javascript-link":"","padding-unit":"px","border-unit":"px","box-shadow-unit":"px","position":"relative","top-bottom":"0","left-right":"0","source-separate":",","limit-type":"none","limit-num":"10","transition-type":"","attribute":"","class":"","rel":"","tag-type":"div","force-important":"true","align":"t_l","absolute-unit":"px","margin-unit":"px","border-hover-unit":"px","border-radius-hover-unit":"px","box-shadow-hover-unit":"px","border-unit-hover":"px","box-shadow-unit-hover":"px","source-icon":"eg-icon-link"}},{"id":"4","order":"1","container":"m","settings":{"0":"Default","source":"post","limit-type":"none","limit-num":"10","enable-hover":"on","font-size":"12","line-height":"14","color":"#999","font-family":"\\"Open Sans\\"","font-weight":"400","text-decoration":"none","font-style":"","text-transform":"none","position":"relative","align":"t_l","absolute-unit":"px","top-bottom":"0","left-right":"0","display":"inline-block","text-align":"center","float":"none","clear":"none","margin":["0","0","0","0"],"padding":["0","0","0","0"],"background-color":"#ffffff","bg-alpha":"0","background-size":"cover","background-repeat":"no-repeat","shadow-color":"#000000","shadow-alpha":"100","box-shadow":["0","0","0","0"],"border":["0","0","0","0"],"border-radius":["0","0","0","0"],"border-radius-unit":"px","border-color":"transparent","border-style":"none","font-size-hover":"12","line-height-hover":"14","color-hover":"#000000","font-family-hover":"\\"Open Sans\\"","font-weight-hover":"400","text-decoration-hover":"none","font-style-hover":"","text-transform-hover":"none","background-color-hover":"#ffffff","bg-alpha-hover":"0","background-size-hover":"cover","background-size-x-hover":"100","background-size-y-hover":"100","background-repeat-hover":"no-repeat","shadow-color-hover":"#000000","shadow-alpha-hover":"100","box-shadow-hover":["0","0","0","0"],"border-hover":["0","0","0","0"],"border-radius-hover":["0","0","0","0"],"border-radius-unit-hover":"px","border-color-hover":"transparent","border-style-hover":"none","hideunder":"0","transition":"slideright","transition-type":"","split":"full","delay":"34","link-type":"none","url-link":"","javascript-link":"","tag-type":"div","force-important":"true","attribute":"","class":"","rel":"","padding-unit":"px","border-unit":"px","box-shadow-unit":"px","margin-unit":"px","source-separate":",","border-hover-unit":"px","border-radius-hover-unit":"px","box-shadow-hover-unit":"px","border-unit-hover":"px","box-shadow-unit-hover":"px","source-post":"num_comments"}},{"id":"5","order":"2","container":"m","settings":{"0":"Default","source":"post","limit-type":"words","limit-num":"20","enable-hover":"","font-size":"15","line-height":"20","color":"#444444","font-family":"\\"Droid Serif\\"","font-weight":"300","text-decoration":"none","font-style":"","text-transform":"none","position":"relative","align":"t_l","absolute-unit":"px","top-bottom":"0","left-right":"0","display":"block","text-align":"left","float":"none","clear":"none","margin":["7","0","0","0"],"padding":["15","0","0","0"],"background-color":"#ffffff","bg-alpha":"0","background-size":"cover","background-repeat":"no-repeat","shadow-color":"#000000","shadow-alpha":"100","box-shadow":["0","0","0","0"],"border":["1","0","0","0"],"border-radius":["0","0","0","0"],"border-radius-unit":"px","border-color":"#e5e5e5","border-style":"solid","font-size-hover":"13","line-height-hover":"14","color-hover":"#ffffff","font-family-hover":"","font-weight-hover":"300","text-decoration-hover":"none","font-style-hover":"","text-transform-hover":"none","background-color-hover":"#ffffff","bg-alpha-hover":"15","background-size-hover":"cover","background-size-x-hover":"100","background-size-y-hover":"100","background-repeat-hover":"no-repeat","shadow-color-hover":"#000000","shadow-alpha-hover":"100","box-shadow-hover":["0","0","0","0"],"border-hover":["0","0","0","0"],"border-radius-hover":["0","0","0","0"],"border-radius-unit-hover":"px","border-color-hover":"transparent","border-style-hover":"none","hideunder":"0","transition":"slideright","transition-type":"","split":"full","delay":"34","link-type":"none","url-link":"","javascript-link":"","tag-type":"div","force-important":"","attribute":"","class":"","rel":"","padding-unit":"px","border-unit":"px","box-shadow-unit":"px","margin-unit":"px","source-post":"excerpt"}}]', NULL)
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Ronald Reagan', 'ronald-reagan', '{"eg-item-skin-element-last-id":"8","choose-la' at line 1
我还尝试先将其导出为 CSV,但这也不起作用。
最佳答案
导出时出现问题。
例如,在您的查询中的某个位置,您可以看到以下内容:"line-height":"25","color":"插入...
这当然是不正确的,您需要寻找类似的东西来修复它,或者直接从 PHPAdmin 进行新的转储
希望这个回答对你有帮助
关于mysql - 导入mysql出错,意外字符(mariaDB),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39268233/
我在 CentOS 6.4 上运行 MariaDB (10.0.2-MariaDB) 并且想使用 MariaDB 的 CONNECT-Engine 从一些日志文件中读取。由于日志文件很大,我用两个 C
MariaDB 是否支持嵌套事务(不是保存点)? 我希望能够在存储过程中使用嵌套事务。目前在 MySQL 中,我将一个参数“useTransaction”传递给每个存储过程,它控制我是否在该存储过程的
MariaDb 的默认端口是什么? 我是编程新手。我正在创建我的第一个连接到 MariaDB 的 Java 应用程序。我需要指定数据库端口。 最佳答案 Mariadb 的默认端口是 3306。 它与
ubuntu:~$ sudo apt-get install mariadb-server Reading package lists... Done Building dependency tr
我在Ubuntu 18.04上使用的是Mariadb 10.4.10,工具客户端是DBeaver 6.2.5 我想充分利用 Mariadb 中的约束检查功能来确保数据完整性,因为它是从 10.2.1
当我在 phpmyadmin 中运行这个 sql 时 SELECT @@SQL_MODE, @@GLOBAL.SQL_MODE; 表明 @@SQL_MODE STRICT_TRANS_TABLES,E
我正在尝试使用 MariaDB 10.1.12 的联合引擎来创建基于远程数据库中的表的表。关注MariaDB instructions关于如何使用 FederatedX 实现,在数据库 db1 中我创
我在该数据库中有此列,其中包含空格键,我想更改它。 ALTER TABLE . CHANGE COLUMN `Anzahl Personen` AnzahlPersonen int(11); 在命令行
我正在尝试安装 maria db 并遇到以下问题。 [root@localhost ~]# service mysqld start Redirecting to /bin/systemctl sta
我已经基于 mariadb:10.1 构建了一个图像这基本上添加了一个新的 cluster.conf但是在第一个节点开始成功工作后,在第二个节点上面临以下错误。有人可以帮我在这里调试吗? 错误日志尾部
我已阅读 the docs用于 MariaDB REGEX_REPLACE但无法让我的查询工作。我将链接存储在一列中,link并想更改链接的结尾: 来自 www.example.com/至 www.e
我在 MariaDB 的 ColumnStore 上发现的每一项分析都声称它使用的磁盘空间比 InnoDB 等常规引擎少,例如:https://www.percona.com/blog/2017/03
如何在 MariaDB 中重置密码?我使用 Windows 而不是 Linux。谁知道如何重置我的 MySQL MariaDB 密码?我尝试在 Google 上搜索但没有帮助。 最佳答案 我遇到了同样
我正在尝试将 Quarkus 与 MariaDB 图像一起用于测试。 使用 mvn integration-test 启动测试时,我得到以下信息: Unable to start devservice
我正在尝试更新存储在 MariaDB 的 json 列中的数据(libmysql 版本 - 5.6.43,服务器:10.3.34-MariaDB-cll-lve - MariaDB 服务器)。 我的数
我有一个使用 MariaDB 中的表定义的多对多关系。我正在尝试将 Entity Framework Core 中的导航属性用于相关实体,但它们没有水合。 roles | role_id | role
Entity Framework Core 是否支持 MariaDB? 我看到它不在 supported providers 的列表中,但 MySQL 是。也许 MySQL 提供程序会针对 Maria
我在 MariaDb (10.4.10-MariaDB-1:10.4.10+maria~bionic) 中有一个巨大的表,我正在使用添加一个新列 alter table Appointment add
有没有一种方法可以监听 MySQL/MariaDB 中的数据库更改,就像您可以跟踪 MongoDB oplog 一样?我在网上找不到关于此的信息。也许它只适用于 Postgres 而不适用于 MySQ
我刚刚在 Centos 7 中安装了 MariaDB 10.3 数据库服务器。 一切顺利,但在执行“systemctl status mariadb”命令时。这是完整的输出: root@vps [/e
我是一名优秀的程序员,十分优秀!