Someone help me,my sites sql says connection timed out
is this in your account? however you cannot connect to databases from another server
its in the same server,the website is http://willies.rf.gd/willies/home.php or more like http://willies.rf.gd/willies/db.php
Then on the database configuration file, youâve most likely put localhost
or 127.0.0.1
as database host. That is NOT working here on InfinityFree. You can find the database host from the âMySQL Databasesâ section of the Control Panel.
Can you share your connection codes? If youâre connecting by mysqli_connect. Youâd try PDO Connection
@Ergastolator1 I have found the mysql databases but i dont know where to find or change the localhost/127.0.01
define ( âDB_HOSTâ, âsql1O3.epizy.comâ );
define ( âDB_USERâ, âepiz_24355568â );
define ( âDB_PASSWORDâ, â****â );
define ( âDB_NAMEâ, âepiz_24355568_ecommerce_xxxxâ );
$con = mysqli_connect(DB_HOST,DB_USER,DB_PASSWORD,DB_NAME);
if (mysqli_connect_errno())
{
echo âFailed to connect to MySQL:â . mysqli_connect_error();
}
use sql103.epizy.com
instead of sql1O3.epizy.com
âOâ letter cannot used as â0â
Im a dude but i love you bro.Thanks
Youâre welcome ^^
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.