natehuangting opened a new issue, #18208:
URL: https://github.com/apache/shardingsphere/issues/18208

   ## Feature Request
   
   ### Describe the feature you would like.
   When I use Narayana's JDBCStore, the user I use does not have the Create 
privilege, which causes the startup to fail.
   ```
   Caused by: com.arjuna.ats.arjuna.exceptions.ObjectStoreException: 
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: CREATE command 
denied to user 'test2'@'xxxx' for table 'ActionJBossTSTxTable'
        at 
com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCStore.<init>(JDBCStore.java:261)
        ... 34 more
   Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: CREATE 
command denied to user 'test2'@'10.43.1.41' for table 'ActionJBossTSTxTable'
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
        at com.mysql.jdbc.Util.getInstance(Util.java:408)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:944)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3978)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3914)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2491)
        at 
com.mysql.jdbc.StatementImpl.executeUpdateInternal(StatementImpl.java:1552)
        at 
com.mysql.jdbc.StatementImpl.executeLargeUpdate(StatementImpl.java:2607)
        at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1480)
        at 
com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCImple_driver.createTable(JDBCImple_driver.java:782)
        at 
com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCImple_driver.initialise(JDBCImple_driver.java:754)
        at 
com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCStore.<init>(JDBCStore.java:256)
        ... 34 more
   
   Process finished with exit code 1
   ```


-- 
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: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to