Disclosure: This post contains affiliate links. We earn a commission at no extra cost to you if you purchase through our links.
Accessing Database Management in hPanel
All database management on Hostinger is done through hPanel. Login to hpanel.hostinger.com → click Databases in the left sidebar. Here you can create MySQL databases, manage users, and access phpMyAdmin.
Get Hostinger with Full Database Access
MySQL databases, phpMyAdmin, full database control. From $1.99/mo.
Get Hostinger 80% OffCoupon S0TABIDHULP1 · 30-day money-backHow to Create a MySQL Database on Hostinger
- hPanel → Databases → MySQL Databases
- Click Create Database
- Enter a database name
- Enter a database username
- Set a strong password
- Click Create
- Note the database name, username, password, and host — needed for WordPress
How to Access phpMyAdmin
- hPanel → Databases → phpMyAdmin
- Click Enter phpMyAdmin next to your database
- phpMyAdmin opens in a new tab — no separate login needed
phpMyAdmin is a web-based interface for viewing and editing your database directly. Use it to browse tables, run SQL queries, and export/import data.
How to Export (Backup) Your Database
- Open phpMyAdmin
- Select your database from the left panel
- Click Export tab at the top
- Method: Quick, Format: SQL
- Click Export
- Save the .sql file to your computer
How to Import a Database
- Open phpMyAdmin
- Select your database from the left panel
- Click Import tab
- Click Choose File → select your .sql file
- Click Import
- Wait for import to complete
Large databases: If your .sql file is over 50MB, the phpMyAdmin upload may time out. Use Hostinger's hPanel → Databases → import tool instead, or split the SQL file into smaller chunks.
Common WordPress Database Tasks
Change WordPress Admin Password via Database
- phpMyAdmin → your database → wp_users table
- Click edit on your admin user row
- Find user_pass field → change Function to MD5
- Enter new password in Value field
- Click Go to save
Fix WordPress Database Connection Error
If you see "Error Establishing Database Connection" on your WordPress site:
- hPanel → File Manager → public_html → wp-config.php
- Check DB_NAME, DB_USER, DB_PASSWORD, DB_HOST match your hPanel database details
- DB_HOST is usually localhost on Hostinger
- Save wp-config.php and refresh your site
Always backup before database changes: Database edits are immediate and irreversible. Export a backup copy before making any changes in phpMyAdmin. One wrong delete can break your entire WordPress site.