Creating MySQL Database Print

  • 0

How to create a new MySQL database in DirectAdmin.

Steps

  1. DirectAdmin → Account Manager → MySQL Management
  2. Click Create New Database
  3. Enter:
    • Database Name: yourname_dbname
    • Password: Generate or create strong password
  4. Click Create Database

Save These Details

  • Database: username_dbname
  • Username: username_dbname
  • Password: [your password]
  • Hostname: localhost

Connection Info

For applications, use:

Host: localhost
Database: username_dbname
Username: username_dbname
Password: [your password]
Port: 3306

Notes

  • Database name = username automatically
  • Name format: accountname_yourname
  • Use password generator for security
  • phpMyAdmin access available in same section

Common Issues

  • Can't connect: Check password, use 'localhost' not IP
  • Name too long: Keep under 16 characters
  • Access denied: Database user must match database name in DirectAdmin

Was this answer helpful?

« Back

WHOIS Information

×
Loading WHOIS information...