Hi I’ve Been Tested my website in XAMPP before I put it in http://valorantlfg.rf.gd/
But when i try using Infinityfree database it get me into this.
I used XAMPP to test it out.
But when I use XAMPP phpMyAdmin Database its actually fine.
Anyone know how to Solve It?
connection php:
<?php
$dbhost = "sql306.epizy.com";
$dbuser = "epiz_29705176";
$dbpass = "uszZWW4FypnNcl";
$dbname = "login_sample_db";
if(!$con = mysqli_connect($dbhost,$dbuser,$dbpass,$dbname))
{
die("failed to connect!");
}
@AllMateds , external connections are not allowed (blocked) on free hosting Read this:
Sometimes, you may want to connect to your MySQL database on your free hosting account using external software, like a desktop database manager (like MySQL Workbench) or an external program you wrote yourself (like an Android or iOS app).
You cannot connect to a free hosting MySQL database from outside your hosting account.
You can only interact with your free hosting database through PHP scripts uploaded to your free hosting account, or through our phpMyAdmin installation.
The ability to con…
1 Like
I didn’t used a program for mysql besides I used PHP script for this.
Only browsers can access your website!
InfinityFree is a website hosting service. That means that the hosting accounts we provided are intended for hosting websites. Websites contain pages that are accessed through web browsers. InfinityFree is not intended to be used for file sharing, API hosting, database hosting or background tasks/tools.
To help enforce this, free hosting enforces a security system that makes sure that anyone trying to access your website is using a normal web browser. This is done by checking whether the web br…
Admin
September 12, 2021, 10:47am
#6
Our database servers are not accessible from the internet. That means you can only connect to it using PHP code on your hosting account , or by using our phpMyAdmin installation.
So the PHP code running on your local XAMPP server cannot access our database.
Also, NEVER EVER EVER SHARE YOUR PASSWORD ON A PUBLIC FORUM . I reset your password now. Feel free to change it if you want, but do not use this password again. And check your account for any intrusions.
1 Like
system
Closed
September 19, 2021, 10:48am
#7
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.