I’m trying to connect my project to my database, but i can’t get it to work.
I’ve succesfully connected to the server (i have access to the files on the server via Wappler), but i’m not able to complete the database connection. Whatever I type in, I get the same error message:
I’ve watch a bunch of tutorial video’s on youtube:
e.g. Making a database connection in Wappler and webinar 1 (server connect) and webinar 2 (database connect), but without any succes.
Hey @TeamManager
You should “connect” to your database using the two options like you see in my following pic.
Once it’s done, save everything, and refresh your server actions panel, you should be able to select the connection after that.
This error may be caused by your internet provider when using Direct Connect instead of the regular Server Connect. I am on Ziggo and am unable to use Direct Connect because of restrictions by Ziggo.
Try using regular Server Connect to see if the Dbase connection can be established that way.
Thanks for your response. The problem is that I can configure succesfully via Direct Database Connection, but not via Server Connect Connection (using the same information).
Thanks for your response, for me it is the other way around. i’m able to do the direct connect, but not to do the regular server connect. (see screenshots in my other replies in this topic)
Ensure you ftp connection points to your web root, not your ftp root I.e. if your files need to go into a folder like public_html, hotdocs, www etc make sure your ftp connects to that folder by adding it in the folder section of the ftp connection. If you dont the connection will fail as files will be uploaded to the wrong place.
But when following the exact steps from the tutorial " Your first database connection. Presenting a database query in a bootstrap table", i don’t see any results / fields from the query in my table:
What will have happened is that when your ftp connection was pointing to the wrong place your app connect scripts will have also been loaded into the wrong place. Nice all is working, check your server and you may find files uploaded above your web root which can be deleted now.