# This websit isn’t working

**URL:** <https://forum.infinityfree.com/t/this-websit-isn-t-working/90300>\
**Category:** Hosting Support\
**Created:** [February 21, 2024, 8:44pm UTC](https://forum.infinityfree.com/t/this-websit-isn-t-working/90300 "2024-02-21T20:44:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Meishin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/meishin/32/59902_2.png) [@Meishin](https://forum.infinityfree.com/u/Meishin)\
**Post date:** [February 21, 2024, 10:42pm UTC](https://forum.infinityfree.com/t/this-websit-isn-t-working/90300/2 "2024-02-21T22:42:32Z")

</div>

```auto
mysqli_connect('localhost', 'root', Object(SensitiveParameterValue), 'video_player3')

```

Obviously you are using `localhost` as DB host which is never correct here. And you used `root` as DB user which is also incorrect.

See

> [@Common MySQL Connection Errors](https://forum.infinityfree.com/t/common-mysql-connection-errors/49338):
>
> Many websites use MySQL databases to store information and settings. However, there are some reasons why the connection to the database may fail. This article describes some commonly seen error messages when connecting to a database, as well as some general tips to keep in mind when setting up a database connection. Common Error Messages Using MySQL is great, but the error message returned if there is an issue logging in to your database can be quite confusing. Here are some commonly seen error…

> [@How to connect with MySQL](https://forum.infinityfree.com/t/how-to-connect-with-mysql/49340):
>
> Both the popular PDO and MySQLi libraries are available on all accounts and PHP versions, which are the libraries all (modern) scripts use to connect to a MySQL database. However, to use a database, you need to configure a few things first. Before you can use a database, you need to create the database first. You can create a database through your control panel in the section called MySQL Databases. Simply enter a desired name in the text box and click Create Database. To use the database with…

* * *

BTW, your domain looks suspicious. Take note that we usually don’t allow sites entirely about videos here. (Normally it’s because copyright issues.)

---

_[View the full topic](https://forum.infinityfree.com/t/this-websit-isn-t-working/90300)._
