# MyWeb Tutorials: Connect to DB remotely

<span style="font-size: 12.0pt; line-height: 107%;">In addition to accessing your database through phpMyAdmin on MyWeb, you may also connect to your database directly from your own computer using tools such as HeidiSQL, MySQL Workbench, DBeaver, or the MySQL command-line client. Remote database access allows you to manage tables, run queries, and test your applications more easily while developing locally. In this guide, you will learn how to enable remote access to your database on MyWeb (DirectAdmin) and how to configure your database client to connect securely to the server.</span>

- <span style="font-size: 12.0pt; line-height: 107%;">Login to [https://myweb.cs.uwindsor.ca](https://myweb.cs.uwindsor.ca) with your username and password</span>
- <span style="font-size: 12.0pt; line-height: 107%;">From "Account Manager" -&gt; Databases. Select or create the database you want to connect to:  
    </span>  
    [![image.png](https://help.cs.uwindsor.ca/uploads/images/gallery/2026-03/scaled-1680-/image.png)](https://help.cs.uwindsor.ca/uploads/images/gallery/2026-03/image.png)
- <span style="font-size: 12.0pt; line-height: 107%;">Click on “Manage”  
    </span>
    
      
    [![image.png](https://help.cs.uwindsor.ca/uploads/images/gallery/2026-03/scaled-1680-/3g9image.png)](https://help.cs.uwindsor.ca/uploads/images/gallery/2026-03/3g9image.png)
    
    <span style="font-size: 12.0pt; line-height: 107%;">  
    </span>
- <span style="font-size: 12.0pt; line-height: 107%; font-family: 'Aptos',sans-serif; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Aptos; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-CA; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">Select the user you want to connect with, and click on “Manage”  
    </span>  
    [![image.png](https://help.cs.uwindsor.ca/uploads/images/gallery/2026-03/scaled-1680-/AEcimage.png)](https://help.cs.uwindsor.ca/uploads/images/gallery/2026-03/AEcimage.png)
- <span style="font-size: 12.0pt; line-height: 107%;">Scroll down to “Allowed Hosts” and add % in the “Allow access from” and click on “Add Host”  
    </span>
    
      
    [![image.png](https://help.cs.uwindsor.ca/uploads/images/gallery/2026-03/scaled-1680-/QNeimage.png)](https://help.cs.uwindsor.ca/uploads/images/gallery/2026-03/QNeimage.png)
    
    *<span style="font-size: 12.0pt; line-height: 107%;">Note: % means any host</span>*
- <span style="font-size: 12.0pt; line-height: 107%;">That’s it.   
      
    </span>
- <span style="font-size: 12.0pt; line-height: 107%;">Now you can test connecting to the database from your computer (after connecting to [VPN](https://help.cs.uwindsor.ca/books/cs-help/page/vpn "VPN")).  
      
    *Example:*</span>
    
    ```
    Host: myweb.cs.uwindsor.ca
    Port: 3306
    Database: testproj1_myDB
    Username: testproj1_myDB
    Password: <DB password> 
    ```

<span style="font-size: 12.0pt; line-height: 107%;">You can use any client to connect and manage the database from your computer. I recommend HeidiSQL [https://www.heidisql.com/download.php](https://www.heidisql.com/download.php)   
  
</span>

[![image.png](https://help.cs.uwindsor.ca/uploads/images/gallery/2026-03/scaled-1680-/KHMimage.png)](https://help.cs.uwindsor.ca/uploads/images/gallery/2026-03/KHMimage.png)