Database settings are stored in wp-config.php:
- DirectAdmin → File Manager
- Open
public_html→wp-config.php
define( 'DB_NAME', 'your_database_name' ); define( 'DB_USER', 'your_database_user' ); define( 'DB_PASSWORD', 'your_database_password' ); define( 'DB_HOST', 'localhost' );