Havenswift Hosting Ltd
All guides

Managing your MySQL databases

Everything to do with databases is in cPanel, in two places: MySQL Databases for creating and managing them, and phpMyAdmin for looking inside them.

MySQL Databases

Use this to create a database, create a user, and grant that user access. It also shows the size of each database and lets you rename or remove them. See Creating a database and a database user for the steps – the part people miss is granting the user access after creating both.

phpMyAdmin

This is where you look at and change the data itself. You can browse tables, run queries, export a backup and import one. It is genuinely useful and it has no undo, so export before you change anything – see Using phpMyAdmin without breaking anything.

Routine things worth knowing

What your application needs

Database name, username, password, and a host of localhost – not your domain name. Name and username both carry your account prefix.

If something goes wrong

Errors mentioning a specific table, or telling you to repair one, are covered in Repairing and optimising database tables. If you are unsure what a query will do, ask us before running it rather than afterwards.

Other guides

Still stuck? Sign in and raise a ticket, and somebody will answer it.

Sign in