-
Notifications
You must be signed in to change notification settings - Fork 2.3k
-
go-sql-driver does not support prepared sql for mysql5.7 and mysql8.0, could you please support prepared sql for mysql5.7 and mysql8.0 user create/rename/drop etc...?
mysql official doc claim mysql5.7 and mysql8.0 support prepared statement for user create/rename/drop etc...
https://dev.mysql.com/doc/refman/5.7/en/sql-prepared-statements.html
https://dev.mysql.com/doc/refman/8.0/en/sql-prepared-statements.html
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 2 replies
-
Do not abuse issue template. It looks like spam to me.
Why do you think go-sql-driver does not support prepared sql?
Beta Was this translation helpful? Give feedback.
All reactions
-
go-sql-driver does not support prepared sql. but go-sql-driver does not support prepared sql for mysql user management, like drop user/rename user/create user.
mysql user management is important for us, we need go-sql-driver support prepared sql for mysql user management.
Beta Was this translation helpful? Give feedback.
All reactions
-
Why do you think so? Please provide runnable code.
The driver just sends a query and receive result.
If you saw any error, it might come from MySQL server. E.g. you just don't have permission to create users.
Beta Was this translation helpful? Give feedback.