THOSTHelp guides

Web hosting

Create a MySQL database and use phpMyAdmin

Create a database for WordPress or any app on THOST web hosting, connect your site to it, and import or export with phpMyAdmin single sign-on.

Checked against the live THOST dashboard on

WordPress and most PHP apps need a MySQL database. The one-click WordPress installer creates its own, so you only need this guide for other apps or a manual install.

Steps

  1. Open the Databases tab. In the dashboard open Websites, the site, then Databases.
  2. Press New database. Give it a short name. We add your account prefix to the database name and user, and create a strong password, shown once.
  3. Copy the details into your app's settings (for example wp-config.php): the database name, user, password, host as shown in the list (db.t-host.co.uk), port 3306.
  4. Open phpMyAdmin with the phpMyAdmin button on the database's row. It signs you in to that database, with no password to type.

Import or export

In phpMyAdmin choose the database, then Import to load a .sql file (up to 64 MB) or Export to download a copy. For bigger imports, the free website move takes a .sql file of any size up to your plan's free space.

Questions

Can I connect to the database from my own computer?

No. Databases can be reached from your website on THOST's servers only, not from the internet. Use phpMyAdmin to browse, import and export.

I lost the database password.

Use the password option on the database's row to set a new one. Your website cannot reach the database until you put the new password in its settings.

Can I give someone read-only access?

Yes. You can create a read-only user for a database from its row.

How many databases can I have?

Starter includes 2, Business 10 and Pro unlimited. The tab shows how many you use.

Did this not solve it? Open a support ticket and tell us which guide you followed. We answer every ticket ourselves.