Skip to content

Fixes issues with database names needing backticks (`)#80

Closed
IncubuzzCC wants to merge 1 commit intoDBDiff:masterfrom
IncubuzzCC:master
Closed

Fixes issues with database names needing backticks (`)#80
IncubuzzCC wants to merge 1 commit intoDBDiff:masterfrom
IncubuzzCC:master

Conversation

@IncubuzzCC
Copy link

Quotes database names with backticks (`) to prevent "PHP Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax;" for names containing characters like '-'.

Quotes database names with backticks (`) to prevent "PHP Fatal error:  Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax;" for names containing characters like '-'.
@IncubuzzCC
Copy link
Author

Superseded by:
fix(SQL): Escape Database Names
#92 opened on May 19, 2019 by janfa • Review required

@IncubuzzCC IncubuzzCC closed this Jul 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant