View Categories

What is my MySQL Server Hostname?

🌐This guide is also available in Arabic
← اقرأ بالعربية

If you want to connect to your database from an application or a PHP script on your Tarweig hosting account, you can simply use localhost as MySQL hostname.

If you’re accessing your database from a remote server, you need to grant it access first following the instructions in our Remote MySQL tutorial and then use your domain name as the hostname.

Updated on 11/10/2026

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top