Wikipedia
A compact wiki for email, FTP, MySQL, SSL, cron jobs, apps, statistics and more. Find step-by-step guides, tips and technical details here.
Create and connect a MySQL database
Wiki topic
Databases are needed for WordPress, shops, forums and custom PHP applications. You create a database name, database user and password, then enter these values in your application.
Steps
- 1 Click "MySQL" on the left, then "New database".
- 2 Choose database name, database user and password. Store all three values carefully.
- 3 Save. The database is ready immediately.
- 4 Enter the credentials in your application. The database host is always localhost.
- 5 Install phpMyAdmin from the apps section if you want to manage databases in the browser.
Connection details at a glance
- DB host
- localhost
- DB port
- 3306
- DB name
- as created
- DB user
- as created
- DB password
- as set
- phpMyAdmin URL
- https://yourdomain.com/dbx/
Connect WordPress (wp-config.php)
- 1 Rename wp-config-sample.php to wp-config.php.
- 2 Open wp-config.php via FTP or a file manager.
- 3 Set DB_NAME to the database name.
- 4 Set DB_USER to the database user.
- 5 Set DB_PASSWORD to the database password.
- 6 Keep DB_HOST as localhost.
- 7 Save the file and open your domain in the browser to start the WordPress installer.
Was this content helpful?
·
Knowledge Assistant
Answers straight from our own page content