MySQL databases: create, connect, remote access

Updated on 10 November 2026

Create a database

  1. In cPanel, open MySQL Database Wizard.
  2. Name the database, then create a user with a strong password.
  3. Give it all privileges on the database.

Database and user names start with your cPanel username followed by _ (for example mysite_wp).

Connect from your site

SettingValue
Hostlocalhost
Database, user, passwordthe ones created above

To manage the database content: cPanel → phpMyAdmin.

Remote access

To connect from another computer or server: cPanel → Remote MySQL, add that computer’s IP address. The host is then your server’s name, port 3306. If the connection is still refused, write to us.