Cannot create new MySQL database – panel says “invalid name”

I understand your reasoning. But there are still many other reasons why your website could be crashing: a configuration error related to the new database, a schema error in the database, or something else that was changed or some latent bug that was triggered throughout all of this.

If you’ve enabled Display Errors, then the errors should appear on your website. However, that only works if your website is not overriding the configuration, or the error handler entirely. Scrolling back now, you’ve just configured the same as what you configured through PHP before with the ini_set line,

If so, the question should be directed to the developer of the software as to how they recommend you troubleshoot issues if they are preventing you from seeing errors this way.

Thanks again. I have written an ultra-simple script to change one record and it worked. So I need to start debugging.Thanks for your help. I was rather sent up the wrong path by our AI friends, who are often very useful, but sometimes less so!

When it comes to niche tasks, such as problems with a specific hosting provider in often fine their knowledge lacking

Ah, yes, that’s a typical AI pitfall.

Using AI to troubleshoot issues can be very useful because they can name possible explanations or troubleshooting steps that you didn’t even think about. But they can come up with incorrect explanations and will then confidently stick to it until proven wrong. And AI is a lot better at being confident all the time than being right all the time.

It helps to always remain critical of what it suggests, and show proof, or provide instructions on how to verify what they say. And it’s important to mentally separate the things you know and can verify yourself, and the things your AI came up with.

And then when you do ask a human for help: focus on sharing the things you do actually know, not just ask them to do what your AI thinks is needed. Because very often, the request makes no sense to an expert, and it requires backtracking first to the actual issue you were having to be able to help you, as we saw here. Giving the expert the information you have and let them make a decision using their actual intelligence works much better than just using them as a meat proxy for the thing your AI wants to do but doesn’t have access to.