Skip to content
Home Support Status Legal Account Game Panel
ProRedLine Support
  • Docs
  • My Tickets

Old Categories

124
  • Legacy ProRedLine App – Discontinuation Notice
  • What is a prepaid model?
  • Does the System Retry Failed Payments?
  • Why Did My Payment Fail?
  • Can I Avoid the Reactivation Fee?
  • Why a Reactivation Fee Exists
  • What happens if I don’t renew on time?
  • How renewal reminders work
  • How to Update Your Payment Method
  • How to renew/cancel a subscription
  • My Server Won’t Start
  • Error Connecting to Server
  • Email Notifications Not Arriving
  • Our websites and Their Purpose
  • Performance Issues on My Server
  • How to Request a Plan Change
  • Reporting Incidents
  • WordPress Add-ons Availability
  • Payment Rules for Plan Changes
  • Changing Your Billing Cycle (30 -> 90 days, etc.)
  • Downgrade Requests (Less Resources or Lower Plan)
  • Upgrade Requests (More Resources or Features)
  • Calendars and Contacts in cPanel
  • Forwarders and Autoresponders Explained
  • Spam Filters in cPanel Explained
  • Email Accounts in cPanel Explained
  • DNS Changes and Propagation Time
  • Using a Domain with Web Hosting
  • Custom Error Pages in cPanel
  • Cron Jobs Explained
  • Logging In to Webmail for the First Time
  • Domain Parking vs Addon Domains Explained
  • Using a Domain with External Providers
  • Using a Domain with Email Hosting
  • Using Your Domain with Web Hosting
  • DNS Propagation and Email Delays
  • SPF, DKIM and DMARC Explained
  • MX Records Explained
  • Using Email Hosting with Your Domain
  • Mobile Email Setup (iOS and Android)
  • Setting Up Email in Outlook, Apple Mail and Thunderbird
  • Creating Your First Email Account
  • Apache Handlers Explained
  • Indexes and MIME Types Explained
  • Optimize Website Explained
  • Site Publisher Explained
  • Updating WordPress Core, Plugins and Themes
  • Understanding Users, Roles and Permissions in WordPress
  • First Steps After Installing WordPress
  • Installing WordPress Using WP Toolkit
  • WordPress and Hosting Responsibilities Explained
  • What WordPress Is (and Is Not) Suitable For
  • Recommended WordPress Security Plugins (Personal Advice)
  • Common Causes of a Slow WordPress Website
  • Image Optimization Basics for WordPress
  • Caching Explained for WordPress
  • PHP Versions and WordPress Compatibility
  • Staging Explained in WP Toolkit
  • Cloning a WordPress Website
  • Security policy update: change your email password
  • WordPress White Screen Explained
  • Common WordPress Security Mistakes
  • Account Management
    • Legacy ProRedLine App – Discontinuation Notice
  • Security & Trust
    • Security policy update: change your email password
  • Troubleshooting
    • My Server Won’t Start
    • Error Connecting to Server
    • Email Notifications Not Arriving
    • Performance Issues on My Server
  • Platform & Tools
    • Reporting Incidents
    • Our websites and Their Purpose
  • Payments & Billing
    • Failed payments & retry logic
      • Does the System Retry Failed Payments?
      • How to Update Your Payment Method
      • Why Did My Payment Fail?
    • Reactivation fee explained
      • Can I Avoid the Reactivation Fee?
      • Why a Reactivation Fee Exists
    • Prepaid model explained
      • How renewal reminders work
      • What happens if I don’t renew on time?
      • How to renew/cancel a subscription
      • What is a prepaid model?
    • Switching Plans (Consumer)
      • How to Request a Plan Change
      • Upgrade Requests (More Resources or Features)
      • Downgrade Requests (Less Resources or Lower Plan)
      • Changing Your Billing Cycle (30 -> 90 days, etc.)
      • Payment Rules for Plan Changes
  • Web Hosting
    • Domains & DNS
      • Using Your Domain with Web Hosting
    • Website Management
      • Optimize Website Explained
      • Site Publisher Explained
    • Advanced
      • Apache Handlers Explained
      • Indexes and MIME Types Explained
  • Email Hosting
    • Getting Started
      • Mobile Email Setup (iOS and Android)
      • Setting Up Email in Outlook, Apple Mail and Thunderbird
      • Creating Your First Email Account
      • Logging In to Webmail for the First Time
    • DNS & Deliverability
      • DNS Propagation and Email Delays
      • SPF, DKIM and DMARC Explained
      • MX Records Explained
      • Using Email Hosting with Your Domain
  • cPanel
    • cPanel Domains & DNS
      • DNS Changes and Propagation Time
    • cPanel Email
      • Calendars and Contacts in cPanel
      • Forwarders and Autoresponders Explained
      • Spam Filters in cPanel Explained
      • Email Accounts in cPanel Explained
    • Security & Advanced
      • Custom Error Pages in cPanel
      • Cron Jobs Explained
  • Domains & DNS
    • Use Cases
      • Domain Parking vs Addon Domains Explained
      • Using a Domain with External Providers
      • Using a Domain with Email Hosting
      • Using a Domain with Web Hosting
  • WordPress
    • Overview
      • WordPress and Hosting Responsibilities Explained
      • What WordPress Is (and Is Not) Suitable For
    • Getting Started
      • Understanding Users, Roles and Permissions in WordPress
      • First Steps After Installing WordPress
      • Installing WordPress Using WP Toolkit
    • WP Toolkit
      • Staging Explained in WP Toolkit
      • Cloning a WordPress Website
      • Updating WordPress Core, Plugins and Themes
    • Performance
      • Common Causes of a Slow WordPress Website
      • Image Optimization Basics for WordPress
      • Caching Explained for WordPress
      • PHP Versions and WordPress Compatibility
    • Security
      • Common WordPress Security Mistakes
      • Recommended WordPress Security Plugins (Personal Advice)
    • Troubleshooting
      • WordPress Add-ons Availability
      • WordPress White Screen Explained

New Docs

55
  • Finished New Docs
    • Invoices and Billing Documents
    • Payments and Billing Basics
    • Common WordPress Problems
    • WordPress Security Basics
    • Managing WordPress with WP Toolkit
    • What is WordPress
    • Suspension vs Closure
    • Closing your Account and Data Requests
    • Account Suspension Explained
    • Account Security Basics
    • Password Resets & Access Issues
    • Managing Additional User Access
    • Managing Your Account Details
    • Domain Transfers and Authorization Codes
    • Domain Ownership and Responsibilities
    • Managing Domains and DNS
    • Domain and DNS Basics
    • Common Email Problems
    • Managing Email Features
    • Email Deliverability and Authentication
    • What is Email Hosting?
    • PHP Settings in Web Hosting
    • Databases for Web Hosting
    • Managing your Website
    • What is Web Hosting?
    • Security Features in cPanel
    • Databases in cPanel
    • Backups in cPanel
    • File management Tools
    • Why some cPanel features are disabled
    • What is cPanel and how does it work
    • Backups and Restores
    • Creating Scheduled Tasks
    • Using the File Manager
    • Getting Started with the Game Panel
    • Visual Studio Code
    • Uptime Kuma
    • LanguageTool
    • Discord Bot
    • BeamMP
    • Ark Survival Evolved
    • Unturned
    • Satisfactory
    • Rust
    • Minecraft Bedrock
    • Minecraft Java
    • Insurgency
    • Euro Truck Simulator 2
    • Ark Survival Ascended
  • Unfinished New Docs
    • WordPress
    • cPanel
    • Email
    • Web Hosting
    • App Servers
    • Game Servers
View Categories
  • Docs
  • New Docs
  • Finished New Docs
  • Databases for Web Hosting

Databases for Web Hosting

ProRedLine
Updated on March 30, 2026

3 min read

AI Doc Summarizer Doc Summary
AI Doc Summarizer Thinking Thinking

Introduction #

A database stores the structured data your website needs, and your hosting account provides the tools to create and connect that database through cPanel. The most important part is making sure the database, user, permissions, and website configuration all match correctly, you’ll learn more about that in this doc.


What are databases for Web Hosting #

Databases are an important part of many modern websites. If a website uses dynamic content, user accounts, settings, forms, or application data, it will usually rely on a database to store and retrieve that information. On ProRedLine Web Hosting and Site Hosting packages, MySQL databases can be used for this purpose.

This is especially relevant for websites or applications that are installed manually or configured outside of automatic tools. For example, WordPress installations created through WP Toolkit handle much of the database setup automatically. In other cases, the database may need to be created and connected manually.


What a Database Is Used For #

A MySQL database stores structured data that a website or web application needs in order to function. Instead of keeping everything inside static files, dynamic websites store important information in a database and load it when needed.

Examples of data that may be stored in a database include:

  • website content
  • user accounts
  • passwords or authentication-related data
  • settings and configuration values
  • form submissions
  • e-commerce data such as orders or customer details

Because of this, databases are essential for many PHP-based websites and applications. Static websites, on the other hand, usually do not require a database at all.


When You Need a Database #

A database is typically required when you are hosting a dynamic website or application. This includes many content management systems, custom PHP applications, and other software that needs to store and update data over time.

You may not need a database if your website is fully static and consists only of files such as HTML, CSS, JavaScript, and images.

If you are manually installing a website or application, it is important to know in advance whether that software requires a database and what type of access details it expects.


Before You Create a Database #

Before setting up a database, you should make sure that:

  • you have an active Web Hosting or Site Hosting service
  • you have access to cPanel
  • you know which website or application will use the database
  • you understand the database limits of your hosting package

It is also helpful to know whether the application expects a new empty database or whether you will later import existing database content from a backup or migration.


Creating and Assigning a Database (User) #

After creating the database, you also need to create a database user and assign that user to the database with the correct permissions. Without this step, the website or application will not be able to connect.

For most websites and applications, the database user should be assigned with All Privileges, so the application can fully manage its own data.

Because the full database setup inside cPanel is explained in more detail elsewhere, see: Databases in cPanel


Using the Database with Your Website #

After the database and user have been created, the website or application still needs to be configured to use them. In most cases, the following details are required:

  • database name
  • database username
  • database password
  • database host

These details are usually entered into the application during installation or placed in a configuration file.

For many normal hosting setups, the database host is the local server environment unless the application or setup instructions state otherwise. The most important part is that the credentials entered into the website exactly match what was created in cPanel.

If any of these values are wrong, the website will not be able to connect to the database.


Common Use Cases #

Manual database setup is commonly needed when:

  • manually installing WordPress or another CMS
  • setting up a PHP-based website outside of automatic tools
  • migrating an existing website to your ProRedLine hosting account
  • restoring a database from backup
  • configuring a custom web application

In these situations, creating the database is only part of the setup. The site or application must also be correctly linked to it.


Common Problems #

Database-related issues are often caused by one of the following:

  • the wrong database name being used
  • the wrong database user being used
  • an incorrect password
  • the user not being assigned to the database
  • missing permissions
  • the wrong database host being entered
  • importing or restoring data into the wrong database

Because these errors often look similar from the website side, it is important to check all connection details carefully if the site cannot connect.


Verifying the Setup #

After the database has been connected to the website, the connection should be tested through the application itself. If the website installs correctly or starts loading dynamic content as expected, the database connection is usually working.

If the website reports a database connection error, the first step is to review the database name, username, password, assigned permissions, and host value exactly as they are configured in cPanel.


Final Notes #

Databases are one of the core building blocks of dynamic websites on Web Hosting and Site Hosting. While automatic tools may handle this setup in some cases, manual database creation is still an important part of hosting websites that are installed, migrated, or configured manually.


Still need help after reading this article?

Create a Ticket
PHP Settings in Web HostingManaging your Website
Table of Contents
  • Introduction
  • What are databases for Web Hosting
  • What a Database Is Used For
  • When You Need a Database
  • Before You Create a Database
  • Creating and Assigning a Database (User)
  • Using the Database with Your Website
  • Common Use Cases
  • Common Problems
  • Verifying the Setup
  • Final Notes

Share This Article:

  • Facebook
  • X
  • LinkedIn
  • Pinterest

Was it helpful?

  • Happy
  • Normal
  • Sad
ProRedLine

Reliable EU-based hosting for web, game and app services, built with clarity, performance and personal support in mind.

Hosting

  • Web Hosting
  • Game Servers
  • App Servers
  • Status
  • Support

Company

  • About Us
  • News
  • Information
  • Game Panel

Legal

  • Terms of Service
  • Privacy Policy
  • Acceptable Use Policy
  • Cookie Policy
  • Contact & Support Policy

Contact

info@proredline.com

P.O. Box 5449
3299 ZG, Maasdam
Netherlands

Stay updated

Receive occasional ProRedLine updates by email.

Subscribe to newsletter »

© 2025 - 2026 ProRedLine. All rights reserved.

KVK: 95892494 VAT: NL005177436B09
  • Docs
  • My Tickets
Type your search
Loading...

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.