We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
master 8fa4725
ShardingSphere-Proxy
Create table successfully and no error
If user does not have SELECT privilege, create table successfully but prompts syntax error
REGISTER STORAGE UNIT ds_0 ( URL="jdbc:mysql://127.0.0.1:3306/demo_ds_0?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true", USER="jeffrey", PASSWORD="123456", PROPERTIES("maximumPoolSize"=10) ); CREATE TABLE `t_order` ( `order_id` bigint(20) NOT NULL, `user_id` int(11) NOT NULL, `status` varchar(50) COLLATE utf8mb4_bin DEFAULT NULL, create_time timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`order_id`) );
CREATE USER 'jeffrey' IDENTIFIED BY '123456'; grant create,drop on *.* to 'jeffrey'; show grants for 'jeffrey';
The text was updated successfully, but these errors were encountered:
Pick apache#32044, Check privilege when register or alter storage unit
a668c3c
RaigorJiang
No branches or pull requests
Bug Report
Which version of ShardingSphere did you use?
master 8fa4725
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-Proxy
Expected behavior
Create table successfully and no error
Actual behavior
If user does not have SELECT privilege, create table successfully but prompts syntax error
User prifilege
The text was updated successfully, but these errors were encountered: