this is my old file:
<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘old_dbname’); // The name of the database
define(‘DB_USER’, ‘old_dbuser’); // Your MySQL username
define(‘DB_PASSWORD’, ‘old_pass’); // …and password
define(‘DB_HOST’, ‘dbserveraddress’); // 99% chance you won’t need to change this value
// You can have multiple installations in one database if you give each a unique prefix
$table_prefix = ‘wp2_’; // Only numbers, letters, and underscores please!
// Change this to localize WordPress. A corresponding MO file for the
// chosen language must be installed to wp-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to ‘de’
// to enable German language support.
define (‘WPLANG’, ‘pl_PL’);
/* That’s all, stop editing! Happy blogging. */
define(‘ABSPATH’, dirname(__FILE__).’/’);
require_once(ABSPATH.’wp-settings.php’);
?>
—
and this is my new one:
<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘new_dbname’); // The name of the database
define(‘DB_USER’, ‘new_dbuser’); // Your MySQL username
define(‘DB_PASSWORD’, ‘new_pass’); // …and password
define(‘DB_HOST’, ‘now-it-is-localhost’); // 99% chance you won’t need to change this value
// You can have multiple installations in one database if you give each a unique prefix
$table_prefix = ‘wp2_’; // Only numbers, letters, and underscores please!
// Change this to localize WordPress. A corresponding MO file for the
// chosen language must be installed to wp-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to ‘de’
// to enable German language support.
define (‘WPLANG’, ‘pl_PL’);
/* That’s all, stop editing! Happy blogging. */
define(‘ABSPATH’, dirname(__FILE__).’/’);
require_once(ABSPATH.’wp-settings.php’);
?>
——
This is address to new host with WP:
https://www.grafer.prothost.pl/wordpress/
Old one is here:
https://www.grafer.webpages.pl/wordpress/
Even address is similar!