-
Notifications
You must be signed in to change notification settings - Fork 39
Database Name is not safe scape #147
Description
This is a guideline to help us to understand SQLTools Issues.
You don't need to stick to this, but please try to guide us to reproduce the errors or understand your feature requests.
Issue Type
-
Feature Request
-
Bugfix/Errors
The database name is not safe scape. Give the same error:
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-client.actions' at line 1
Because my database name is: development-client. -
Questions
-
Other
Prerequisites (For bugfixes)
- Are you running the latest version?
Yes - Did you check the logs?
No - Did you check the Setup?
Yes
Description
The database name is not safe scape. Give the same error:
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-client.actions' at line 1
Because my database name is: development-client.
I try all the thing,
"development-client": {
"type": "mysql",
"host": "db",
"port": "3306",
"username": "root",
"password": "control",
"database": "{development-client}"
}
[Description of the bug or feature]
Steps to Reproduce (For bugfixes)
- [First Step]
Adding database configuration - [Second Step]
CTRL+e CTRL+d
Select the database and then table.
Expected behavior: [What you expected to happen]
Get result from table.
Actual behavior: [What actually happened]
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-client.actions'
Versions
MacOS 10.12.6
Using SQLTools v0.9.5