Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
I am plowing ahead with trying to use Digital Ocean's managed database function, figuring that I might get further with their service because DO's docs tend to be much more complete and beginner-friendly than say AWS's.
Perhaps they're easier in this case, but they assume you know a lot about MySQL that I didn't know. So it's a slog. Very slow going. But -- I finally did get my app running somewhat.
The problem I'm currently dealing with is that I use double-quotes for string literals. Their MySQL isn't prepared for that, and throws an error every time I do it. It says "1.234" isn't the name of a column.
I've figured out what's going on, from the String Literals page in the MySQL docs,
I'm going to change the app to use single quotes, but not today. I need to figure out how to turn xxx off. And that's where I'm kind of stuck.
When I got a list of modes, this is what I got back.
Sure enough ANSI_QUOTES is there.
Now to figure out how to get it out of there. And leave a note behind so I know I have to do it if I provision another database.
Apparently that did not fix the problem. Here's a bit of SQL, followed by the error it generates.
ER_BAD_FIELD_ERROR: Unknown column 'podcasts.opml' in 'where clause'
I have another system where I installed MySQL myself, and this is what sql_mode is there.
I think I will try setting the DO database to that string for sql_mode and see what happens. I can always delete the database and start over whenever.