> ## Documentation Index
> Fetch the complete documentation index at: https://kb.hosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Remote access for MySQL TCP/IP connections on cPanel

> Learn how to manage MySQL TCP/IP connections on shared hosting by whitelisting Client IPs, including 127.0.0.1, using cPanel's Remote MySQL tool.

For any application using TCP/IP to connect to a MySQL database on a shared hosting account, the IP address *must* be whitelisted in the [cPanel Remote MySQL tool](/docs/remote-mysql-access). This includes connections using the local loopback address (**127.0.0.1** ), which cPanel also treats as a remote connection.

<Warning>
  **Important**

  Make sure you specify **127.0.0.1** in the cPanel Remote MySQL tool. Specifying **localhost** does not work.
</Warning>

For step-by-step instructions on how to configure remote MySQL access in cPanel, please see [this article](/docs/remote-mysql-access).

## Related articles

* [Configuring remote MySQL access](/docs/remote-mysql-access)

* [Remote MySQL connections](/docs/remote-mysql-connections)

* [Connecting to MySQL from the command line](/docs/connect-to-mysql-from-the-command-line)

* [Connecting to MySQL using Python](/docs/connecting-to-mysql-using-python)

* [Connecting to MySQL using PHP](/docs/connect-to-mysql-using-php)

* [Connecting to MySQL using Node.js](/docs/connecting-to-mysql-using-node-js)
