How do I change the SQL database for WordPress?

Using the wp-config.php file available on the FTP server, you can check what database your website uses. For example, WordPress database SQL. In the file you will find information about the database name and password to access the SQL database.

The SQL database name and password are needed to, for example: log in to the phpMyAdmin panel. In phpMyAdmin, you can change the contents of tables and perform import or export of a database.

Access to the wp-config.php file on the FTP server also allows you to change the access data to the database. If you want the WordPress CMS to be connected to another SQL database, indicate its name and password. WordPress database SQL contains the content of posts, pages, information about WordPress users and configuration of the website address.

Secure mail? Fast website? Always online? Check our offer: servers, domains, SSL certificates, antivirus software or Office 365. Any questions? 24h/7/365 technical support. We are talking in English.

How do I change the SQL database for WordPress?

  • Log in to the home.pl Control PanelCheck how to log in to the Control Panel.
  • Go to the section: Usługi WWW (WWW services), which is located on the left side of the screen.Customer Panel - Go to the section WWW services
  • Click the name of the server on which CMS WordPress is installed.
  • Optional: Click Przypisane domeny > Wszystkie / Assigned domains > All to check which folder with the files indicates the domain (in which folder I will find the WordPress CMS files).
    Where can I find domain list?
  • In the new window, read the folder path to CMS WordPress files, for example: /webpageWhere can I find domain list?
  • In the server configuration window, go to Konta FTP > Opcje > WebFTP / FTP accounts > Options > WebFTP.
  • On the FTP server, go to the directory where WordPress CMS is installed. Find the file wp-config.php and Edycja/ Edit or Podgląd/ Open it.
    FTP server view with CMS WordPress installation files.
  • In the wp-config.php file you will find information about the name of the database, the database user and the password to access the SQL database. FTP server view with CMS WordPress installation files.
  • If you have the name of the new database created on the server, enter it in the DB_NAME, DB_USER fields. In the DB_PASSWORD field, complete the password for the new SQL database.
    Remember that this change may result in unavailability of the website. the SQL database contains most information about the website, its configuration and content (posts, pages, comments, user data).

How to create a new MySQL database?

  1. Log in to the home.pl Control PanelCheck how to log in to the Control Panel.
  2. Go to the section: Usługi WWW (WWW services), which is located on the left side of the screen.Customer Panel - Go to the section WWW services
  3. Click the name of the server.
  4. Find the section named: Databases (Bazy danych) (at the bottom of the screen displayed) and click: Create (Utwórz) to create a new database on the selected server. Read more how to create a new SQL database. 
    Customer Panel - WWW services - Server - Databases - Click Create to create a new database on the selected server

Gmail z domeną Twojej firmy? To możliwe!

G Suite to m.in. poczta Gmail, której możesz używać z domeną swojej firmy. Zyskasz także pakiet praktycznych aplikacji Google.


  • Czy artykuł był pomocny ?
  • Tak   Nie