Title: ERROR after migration
Last modified: November 17, 2020

---

# ERROR after migration

 *  [zazzou](https://wordpress.org/support/users/zazzou/)
 * (@zazzou)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-after-migration-7/)
 * Hello !
    I try to migrate my website from an URL to another. So I follow the 
   steps in a tutorial : [https://wpmarmite.com/migrer-wordpress-manuellement/](https://wpmarmite.com/migrer-wordpress-manuellement/)
 * Now when I go on my new URL i have part of my website (menu and header only) 
   and I have this message :
    Erreur : SQLSTATE[HY000] [2002] php_network_getaddresses:
   getaddrinfo failed: Name or service not known
 * I understand that I have problems with the connection with my database.. ??
    
   How can I fix this ? Thansk for help
    -  This topic was modified 5 years, 6 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-after-migration-7/#post-13673314)
 * check the value you have for DB_HOST in wp-config.php. Is it what your host says
   you should be using?
 *  Thread Starter [zazzou](https://wordpress.org/support/users/zazzou/)
 * (@zazzou)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-after-migration-7/#post-13673335)
 * I think… I put an adresse that ends with “mysql.db”
    Not correct ?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-after-migration-7/#post-13673399)
 * No, it doesn’t seem like it. It should be something like “127.0.0.1”, “localhost”,
   or the address or name of the server on which the mysql server is running. Again,
   ask your host.
 *  Thread Starter [zazzou](https://wordpress.org/support/users/zazzou/)
 * (@zazzou)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-after-migration-7/#post-13673639)
 * I hava asking HOST and it is correct.
    So the problem is not there…
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-after-migration-7/#post-13673749)
 * Clearly not, because your site is unable to interpret it. What is the exact content
   of that DB_HOST line?
 *  Thread Starter [zazzou](https://wordpress.org/support/users/zazzou/)
 * (@zazzou)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-after-migration-7/#post-13673844)
 * Here the line DB_HOST :
    define(‘DB_HOST’, ‘xxxxxxxx.mysql.db’);
 * I have another website and this is a similar adress in the line and it works…
   So i don’t understand…
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-after-migration-7/#post-13673862)
 * The domain “mysql.db” is not registered. Contact your host.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘ERROR after migration’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/error-after-migration-7/#post-13673862)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
