You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/07/09 15:49:57 UTC
[GitHub] [shardingsphere] terrymanu opened a new issue, #18980: Split DataSourceSegment to url based and hostname+port based
terrymanu opened a new issue, #18980:
URL: https://github.com/apache/shardingsphere/issues/18980
The current DataSourceSegment is composed by url based and hostname+port based.
The `url` and `hostname, port` can not appear together.
The scenario of `url` is:
```sql
ADD/ALTER RESOURCE foo_resource (
URL=jdbc:mysql://127.0.0.1:3306/foo_ds,
USER=root,
PASSWORD=root
);
```
The scenario of `hostname, port` is:
```sql
ADD/ALTER RESOURCE bar_resource (
HOST=127.0.0.1,
PORT=3306,
DB=bar_ds,
USER=root,
PASSWORD=root
);
```
It is better to split DataSourceSegment as 2 class: `URLBasedDataSourceSegment` and `HostnameAndPortBasedDataSourceSegment`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] yx9o commented on issue #18980: Split DataSourceSegment to URL based and hostname+port based
Posted by GitBox <gi...@apache.org>.
yx9o commented on issue #18980:
URL: https://github.com/apache/shardingsphere/issues/18980#issuecomment-1179641786
Let me try.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] RaigorJiang closed issue #18980: Split DataSourceSegment to URL based and hostname+port based
Posted by GitBox <gi...@apache.org>.
RaigorJiang closed issue #18980: Split DataSourceSegment to URL based and hostname+port based
URL: https://github.com/apache/shardingsphere/issues/18980
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org