Check that the php code is connecting correctly to your database. Check username and password. In some databases the servername is “localhost” and in others you have to put a url.
Which server do you use?
Show your code to see if it has any error. If you put a wrong comma or write a wrong space it doesn’t work …
If I use deep host extension, this php script works ok, so no error with connection on my php
Do you right “my secret pass” as sql key
There is a connection error…
Here’s the code that connects to your database. I get “Bad Request”. I think it means it’s not connecting to your database.
man, my secret pass is S1@@md:g
my secert pass is S1@@md:g
after I will change
I’m talking about your sqlkey. Is it: my secret pass
NO, it is:
S1@@md:g
Just a sample man above,
I am using like that:
/************************************CONFIG****************************************/
//DATABSE DETAILS//
$DB_ADDRESS="localhost";
$DB_USER="u109863032_financas";
$DB_PASS="S1@@md:g";
$DB_NAME="u109863032_financas";
//SETTINGS//
//This code is something you set in the APP so random people cant use it.
$SQLKEY="S1@@md:g";
/************************************CONFIG****************************************/
Solved!
I Just changed SQLKEY to string without special caracter and now works
I think this is import to say on tutorial
You’re welcome happy you got your solution.
note added in the documentation
thank you
Taifun
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.