# What do I put here for connecting to my SQL database

**URL:** https://forum.infinityfree.com/t/what-do-i-put-here-for-connecting-to-my-sql-database/68858
**Category:** Hosting Support
**Created:** [November 27, 2022, 4:20am UTC](https://forum.infinityfree.com/t/what-do-i-put-here-for-connecting-to-my-sql-database/68858 "2022-11-27T04:20:48Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Oxy](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/oxy/32/37989_2.png) [@Oxy](https://forum.infinityfree.com/u/Oxy)
#### Post date: [November 27, 2022, 11:28am UTC](https://forum.infinityfree.com/t/what-do-i-put-here-for-connecting-to-my-sql-database/68858/3 "2022-11-27T11:28:51Z")

</div>

> [@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…

Most of the answers can be found here [Docs](https://forum.infinityfree.com/docs)

---

_[View the full topic](https://forum.infinityfree.com/t/what-do-i-put-here-for-connecting-to-my-sql-database/68858)._
