Skip to main content
    ZeHoster
    Hosting Management

    Create and Manage MySQL Databases

    Set up databases in cPanel and connect them to your application.

    3 min read

    Create a database

    1. Open cPanel → MySQL Databases.
    2. Under Create New Database, enter a name and click Create Database.
    3. Scroll to MySQL Users → Add New User with a strong password.
    4. Under Add User To Database, select the user and database, then Add.
    5. Grant ALL PRIVILEGES and click Make Changes.

    Connect your app

    Use localhost as the database host. The full database name and username include your cPanel prefix (e.g. cpaneluser_dbname). Find exact values in cPanel → MySQL Databases.

    phpMyAdmin access

    Open cPanel → phpMyAdmin to browse tables, run SQL queries, and import/export backups. Always back up before running manual SQL.

    Still need help?

    Open a ticket or WhatsApp — we reply around the clock.

    Contact Support