Hi, Eric.
DDL SQL will be routed to all the databases configured in setting file,
please notice, not just all the instances.
But the first thing is that you need to create a Sharding rule to tell
ShardingSphere which databases tables are created.
---------------------------------
Juan Pan (Trista)
Apache ShardingSphere


Eric <etmpoon...@gmail.com> 于2019年9月8日周日 上午12:42写道:

> Hi,
>
> I tried following statement, it returned an error "Cannot find table rule
> and default data source with logic table: 'test1'". I think ShardingSphere
> route DDL statement to all database instances by default?
>
> Please help.
>
> create table test1 (
>     field1 varchar(40));
>
> Best Regards,
> Eric Poon
>

Reply via email to