I’m working on moving a project from Heroku to Digital Ocean as my host that was hosting my database decided to stop allowing remote MySQL (without telling me!!). Anywho - all is going well, except I’m having an issue with a bunch of my queries. I’m getting “this is incompatible with sql_mode=only_full_group_by”
It looks like I should be able to set sql_mode=’’ to fix this but I have no idea where I might do that.
Can you not use something like Workbench (under the menu for Administration) to connect to the database and update the configuration? Otherwise connect via the SSH console in Wappler or Putty and try running grep to locate it and make the changes manually within the my.cnf? Apologies we never run our database within the container so not familiar with that scenario personally…
I’m very new to all this so not really sure exactly what to do and a bit worried about mucking it up. Kind of hoping there’s an option to just add a line to one of the Wappler files, like in the Connections.php from that other post!
I ended up getting a db cluster. Having issues deploying to DO now, but the database seems to be working as I can connect to it and use it from localhost.