question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] Special chars in database options

See original GitHub issue

If 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:closed
  • Created 7 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
MorpheusXAUTcommented, Mar 7, 2017

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): GitHub Logo

0reactions
SergeyABcommented, Mar 7, 2017

Thank you. Fix works fine. I’m successfully installed DB.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found