Mysql database not connecting

I moved my web site after many years to a different account at the same host howeverI copied the files and "thought" I reconnected the database connection but I get permission errors when it load. PHP, Mysql

Where do I start?

In the wappler database manager the connection tests fine

Using Wappler, can you reach the DB server's shell?

Can you include some screen shots of where you are getting the permission errors?

I only see terminal

image

I reset the password also to be sure

Does your target under Project Options have all the right info? Can you give more info on your configuration? Is this a local environment or production? Are you using Docker? How have you tried connecting to the DB other than through Wappler?

its a production environment, never figured out docker,

I switched hosting at the same company because i wnated to split from my work account (retiring) so I'm doing the exact same thing as before

mysql

I don't know any other way than wappler sorry

I added another account and connected. sorry

actually still broken ugh
created a blank site and connected page and data but still not working
pasprintseries.com
if anyone can help

That link is just a blank page.

i just reloaded the original

It's just a blank white page with no HTML code. Dev tools show it is completely blank.

really when I uploaded page with cpanel in changed like this showing only the data connection issue

You have lots of issues.

PA Sprint Series - (with the index.php at the end) comes up.
https://pasprintseries.com/ - Is a blank page.

When it does come up your data shows a lot of 500 errors. Try turning on Debugging in your settings and check the error details in the browser dev tools.

I moved the whole site to new hosting and reconnecting database. Can't connect in wappler

If you look at the response headers in the dev tools, the IP address suggests that you are connecting to a database running in a local environment.

Remote Address: 192.254.227.4:443

hmm that is the ip of the hosting server. only way i get it to connect successful in database connector

I changed to pasprintseries.com and it worked!

Thanks so much, I seem to serve as the bad example among very wise peope and I appreciate your help. really

2 Likes

Yes, I can confirm the data is loading correctly now.

I'm glad to know that it is working :slight_smile:

It's is still not coming up for me in Chrome without the index.php at the end of the address.

I'm trying to fix errors since moving this over and I notice that when I save a file in wappler it goes blank.

If i use an ftp connection and push the local file up it is ok?

I have always used just one target (development) for theweb page. I basically work on it live. Has something changed since the beginning when I set this up that causes this behavior? Do i have my target wrong?