Hi everyone, I’m trying to connect a MySQL database to my App using 000webhost.
However, I am only receiving “Bad Request”.
I configured the script as described in the
link. However, I have no return from the bank.
It’s currently just testing, so:
My 000webhost db:
From what I read in the community, it seems I can’t use special characters in the password, is that right?
If yes, how can I add a password without special characters using 000webhost? I couldn’t when I tried!
Did You try with http instead HTTPS ?
Did You clear browser cache ?
Did You check your URL ?
Yes, I tested it with “http” and “https”.
About the cache, yes, and nothing has changed.
When I use an anderline “_” in the password, I get this:
Why not use the sql extension
Well, from what I’ve read, deep host extensions aren’t really recommended. However, I believe the result is the same, am I right?
User without access privileges
I’m using 000webhost. I didn’t see how to register a new user or change permissions. Could you guide me through this process? Just give me a hint on the way!
Generally, in the host’s control panel (in your case, 000webhost ) there is the database maintenance area.
Check if this user has access and if his password is the same one you set in the PHP script.
If I failed to use this method, I will follow the video. Thank you very much!
You will not fail.
You don’t need this Extension.
In addition to this script there is another one by Juan
But the error that is occurring is not caused by the script
The menu is extremely limited. Even in phpmyadmin, I don’t see options to register or change privileges.
I am using MySql database extension with 000webhosting and trying to connect it but getting this error.
I am new in MySql. I have searched about it on community but not found anything.
I am getting this error : Access denied for user
This is my database details from database manager:
This is my uploaded mysql.php file in File manager.
All details are filled.
Screenshot from Kodular:
Well I don’t have 000webhost. I use hostinger and as I said, you must configure privileges.
That’s what I thought. I didn’t notice anything wrong either in the script or in the other settings. It worked without problems on another bank when I tested it.
I will test on another hosting!!
Sorry for not following the video you recommended
@_FTTX. Is that using the blocks I mentioned, the whole process becomes simpler by using simple SQL commands.
No, sorry. It was with local testing.
Did You check passwords , the database and host access password?
It was on that page right now
I’ll run some tests.
Yes, the password is the same.