You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot reproduce it on current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Which version of ShardingSphere did you use?
master
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-Proxy For MySQL
Expected behavior
create table successfully
Actual behavior
create table failed
Reason analyze (If you can)
The default schema was not created after logic database created.
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
mysql> create database test_db;
Query OK, 0 rows affected (0.06 sec)
mysql> use test_db;
Database changed
mysql>
mysql>
mysql> REGISTER STORAGE UNIT ds_0 (
-> URL="jdbc:mysql://127.0.0.1:3306/pipeline_it_3?rewriteBatchedStatements=true&useServerPrepStmts=true&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=UTC&characterEncoding=utf-8&useLocalSessionState=true",
-> USER="root",
-> PASSWORD="123456",
-> PROPERTIES("maximumPoolSize"="50","idleTimeout"="30000")
-> );
Query OK, 0 rows affected (3.46 sec)
mysql> load single table *.*;
Query OK, 0 rows affected (3.24 sec)
mysql> show tables;
Empty set (0.01 sec)
mysql> create table test_1(id int not null);
ERROR 10001 (42S02): Schema 'test_db' does not exist.
mysql> create table test_1(id int not null);
ERROR 2013 (HY000): Lost connection to MySQL server during query
No connection. Trying to reconnect...
Connection id: 1
Current database: test_db
ERROR 10001 (42S02): Schema 'test_db' does not exist.
Example codes for reproduce this issue (such as a github link).
The text was updated successfully, but these errors were encountered:
Bug Report
For English only, other languages will not accept.
Before report a bug, make sure you have:
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot reproduce it on current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Which version of ShardingSphere did you use?
master
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-Proxy For MySQL
Expected behavior
create table successfully
Actual behavior
create table failed
Reason analyze (If you can)
The default schema was not created after logic database created.
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
Example codes for reproduce this issue (such as a github link).
The text was updated successfully, but these errors were encountered: