<job version="8.21">
<!--This document documents the schema that will be used for SJA for scheduled ODBC import. Unlike other options of SJA which are cross platform, this one is not. ODBC import uses strict Win32 ODBC functions and thus is non-portable.-->
<odbcimport>
<source>
<!--Specifies the MySQL server information where to import the data-->
<tunnelinfo type="http">
<!--Specifies tunnel information. Tunneling can be either SSH/HTTP-->
<url>http://localhost/tunnel/SQLyogTunnel.php</url>
</tunnelinfo>
<host>localhost</host>
<user>root</user>
<pwd>root</pwd>
<port>3306</port>
<db>dbtoimportto</db>
</source>
<dsn type="system">
<!--Dsn section specifes information about the dsn-->
<!--Type attribute specifes the type of dsn used in the import. Possible values are *file* or *system*. Default results to system.-->
<name>hugetable</name>
<user>sarat</user>
<pwd/>
</dsn>
<import source="file"><!--Source attribute specifes whether to import data from the data source or from result returned from a query. possible values are *query* or *data*. If not specified it will default to data.--></import>
<tables>
<!--Sepcifes options for which table to import and table importing related options.-->
<table source="sourcetable1" target="targettable1" comment="Comment to be used for the target table" type="MyISAM">
<!--Describes each table that will be imported-->
<!--Source table. This table exist in the ODBC source and will be imported to MySQL.-->
<!--Target table. The source table will be imported to the target table.-->
<ddl create="yes">
<!--Specifes option for DDL statements.-->
<!--Create spcifies whether to execute DDL statement for the table.-->
<!--What happens if there is a confilct? *recreate* or *ignore*-->
<onconflict>recreate</onconflict>
<!--What happens on error? *ignore* or *abort* are the possible values.-->
<onerror>abort</onerror>
</ddl>
<dml create="yes">
<!--Specifies option for DML statements.-->
<!--Create attribute is similar to ddl *create*-->
<!--Onconflict has same meaning like *DDL* onconflict. Possible values are *ignore*, *replace*, *abort*-->
<onconflict>ignore</onconflict>
<!--OnError is similar to DDL onerror.-->
<onerror>continue</onerror>
</dml>
<columns>
<column source="col2" target="col2"/>
</columns>
</table>
<table source="srctable2" target="tgttable2">
<ddl create="yes">
<onconflict>ignore</onconflict>
<onerror>abort</onerror>
</ddl>
<dml>
<onconflict>replace</onconflict>
<onerror>continue</onerror>
</dml>
<columns>
<!--Specifies how to map each column from source to target. Each element provides details about each columns.-->
<column>
<source>col1</source>
<target>col1</target>
<type>char</type>
<length>10</length>
<default>sqlyog</default>
<primary>yes</primary>
<binary>yes</binary>
<notnull>yes</notnull>
<unsigned>no</unsigned>
<autoincr>yes</autoincr>
<zerofill>no</zerofill>
<comment>comment for something</comment>
</column>
</columns>
</table>
<table>
<source>srctable3</source>
<target>tgttable3</target>
<ddl create="no">
<onconflict>na</onconflict>
<onerror>na</onerror>
</ddl>
<dml create="yes">
<onconflict>abort</onconflict>
<onerror>continue</onerror>
</dml>
<columns>
<!--Specifies how to map each column from source to target. Each element provides details about each columns.-->
<column>
<source>col1</source>
<target>(NULL)</target>
<type>char</type>
<length>10</length>
<default>sqlyog</default>
<primary>yes</primary>
<binary>yes</binary>
<notnull>yes</notnull>
<unsigned>no</unsigned>
<autoincr>yes</autoincr>
<zerofill>no</zerofill>
<comment>comment for something</comment>
</column>
</columns>
</table>
<table>
<source>srctable4</source>
<target>tgttable4</target>
<ddl create="no">
<onconflict>na</onconflict>
<onerror>na</onerror>
</ddl>
<dml create="no">
<onconflict>na</onconflict>
<onerror>na</onerror>
</dml>
<columns>
<column source="col2" target="col2"/>
</columns>
</table>
</tables>
<smtp>
<!--Provides SMTP server information to which the email will be sent.-->
<displayname>Webyog Support</displayname>
<toemail>support@webyog.com</toemail>
<fromemail>sales@webyog.com</fromemail>
<cc>hr@webyog.com</cc>
<bcc>admin@webyog.com</bcc>
<replyemail>somename@webyog.com</replyemail>
<host>smtp.someserver.com</host>
<port>25</port>
<auth required="yes">
<user>bkavas</user>
<pwd>aaaaaa</pwd>
</auth>
<subject>Subject</subject>
</smtp>
<!--Specifies what happens if there is any error. *ignore* and *continue* are the possible values. By default, *ignore* has to be taken.-->
<onerror>ignore</onerror>
</odbcimport>
</job>
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
sja1319.x86_64.tar.gz (25个子文件)
sja-sample3.xml 745B
exportjob-alltables.xml 1KB
libssl.so 505KB
scheduledexportasbatchscriptschema.xml 5KB
sha256_password.so 10KB
sja 27.5MB
mysql_clear_password.so 7KB
auth_gssapi_client.so 11KB
exportjob-seltables.xml 1KB
datasync-seltables.xml 1KB
dialog.so 10KB
diagramschema.xml 4KB
odbcimport-dsnless.xml 1019B
sja-sample1.xml 561B
odbcimport-withwhere.xml 4KB
exportjobs-alldbs.xml 1KB
libcrypto.so 2.56MB
datasync-alltables.xml 954B
odbcimportschema.xml 6KB
sja-sample2.xml 824B
notification.xml 1KB
caching_sha2_password.so 13KB
odbcimport-withtrigger.xml 4KB
odbcimport-general.xml 4KB
libmariadb_old.so 505KB
共 25 条
- 1
资源评论
段子手-168
- 粉丝: 4179
- 资源: 2745
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 典型降维算法的探讨与实践博文对应的数据和代码
- JAVA的SpringBoot微信小程序商城源码(前台+后台)数据库 MySQL源码类型 WebForm
- GST-FH-N8001防火门监控器说明书
- 基于SpringBoot+Vue的校园招聘管理系统(前端代码)
- C++期末大作业-2024-QT仓库商品管理系统,经过老师审定过的,应该能够满足学习、使用需求,如果有需要的话可以放心下载使用
- DH-GSTN5600 剩余电流式电气火灾监控探测器 安装使用说明书
- 天津理工大学信息系统设计实验
- jsp ssm 学校录取查询系统 高校志愿填报录取 项目源码 web java【项目源码+数据库脚本+项目说明+软件工具】毕设
- jsp ssm 网上购物系统 在线购物 在线商城平台 项目源码 web java【项目源码+数据库脚本+项目说明+软件工具】毕设
- 29网课交单平台源码最新修复全开源版本
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功