[Bug] Special chars in database options
See original GitHub issueIf DB_USER consist a special chars like “-” (for example: pathfinder-my-alliance-short-name
) setup will crash after pressing “Setup tables” button with error:
Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘-my-alliance-short-name CHARACTER SET utf8 COLLATE utf8_general_ci’ at line 1
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Errors using special characters in Access databases - Office
Lists the special characters to avoid using when you work with the database object names or the field names in all versions of...
Read more >28162: Problems with german special characters as öäü etc.
Description: Mysql does not handle special characters such as 'öäü' ... The bug should have been fixed on a previous version but is...
Read more >Why special characters are not shown correctly in Metabase?
Honestly nut sure yet if this is a Metabase bug or related to environment/configuration. I think it's a matter of narrowing further down...
Read more >Bug #1714868 “mysql special characters. utf8mb4 collation”
MySQL database as we have in Mahara does not support special characters. ... "Some characters, like '𝑅' or emoticons '😊', produce the error."....
Read more >c# - Special characters in database - Stack Overflow
Show activity on this post. I'm running into an error exporting my database data into an excel spreadsheet: ""\v', hexadecimal value 0x0B, is ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just tried reproducing this with a throwaway DigitalOcean LEMP (Ubuntu 16.04 LTS, nginx 1.10.0, PHP 7.0.15, mysqld 5.7.17) instance, but couldn’t find any issue with hyphens in username, password or DB name.
Do you by any chance have a
,
in any of your DB settings? Apparently FatFreeFramework parses these config values differently. Additionally, you could try enclosing the config values that cause issues in double quotes"
, which might help with possible config parsing issues according to the SMTP wiki page.An example screenshot with a similar name to the one you mentioned (couldn’t use the full one since it was longer than 32 chars):
Thank you. Fix works fine. I’m successfully installed DB.