Title: Transfert server : problem
Last modified: August 20, 2016

---

# Transfert server : problem

 *  Resolved [theophile76](https://wordpress.org/support/users/theophile76/)
 * (@theophile76)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/transfert-server-problem/)
 * Hello, I transfered my contents and my database in my new server.
    Then I edited“
   wp-config.php”. I only edited those lines :
 *     ```
       efine('DB_NAME', '******');  
   
       /** Utilisateur de la base de données MySQL. */
       define('DB_USER', '******');  
   
       /** Mot de passe de la base de données MySQL. */
       define('DB_PASSWORD', '******');  
   
       /** Adresse de l'hébergement MySQL. */
       define('DB_HOST', 'localhost');
       ```
   
 * “table_prefix” no changed
 * When I go on my website, an error occured : Databse error.
 * Do you know what is the problem ?
 * Thanks

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

 *  [fonglh](https://wordpress.org/support/users/fonglh/)
 * (@fonglh)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/transfert-server-problem/#post-3103615)
 * One of those values is wrong.
 *  Thread Starter [theophile76](https://wordpress.org/support/users/theophile76/)
 * (@theophile76)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/transfert-server-problem/#post-3103629)
 * True : it’s not **localhost** but **localhost:/tmp/mysql5.sock**
 * But it not working perfectely : image not loading et bad writings.
 * My website here : [http://reponsefacile.fr/capture-image-sur-lecran-avec-windows-7-vista-ou-xp/](http://reponsefacile.fr/capture-image-sur-lecran-avec-windows-7-vista-ou-xp/)
 *  Thread Starter [theophile76](https://wordpress.org/support/users/theophile76/)
 * (@theophile76)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/transfert-server-problem/#post-3103638)
 * I thin i found the problem :
    In my old database : **Jeu de caractères pour MySQL:
   UTF-8 Unicode (utf8)** In my new database : **Jeu de caractères pour MySQL: (
   utf8)**
 * But how to hcange “(utf8)” to “UTF-8 Unicode (utf8)” ?
 *  [ALVAW3](https://wordpress.org/support/users/alvaw/)
 * (@alvaw)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/transfert-server-problem/#post-3103722)
 * It appears you have this fixed now yes? If so please mark resolved.
 *  Thread Starter [theophile76](https://wordpress.org/support/users/theophile76/)
 * (@theophile76)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/transfert-server-problem/#post-3103725)
 * No, I deleted my new database.
    So now I have my old base and my new base (empty).
   And I have to import my old database in my new database using putty.
 * So i did it :
 * `mysql --user='dbo***' --password='*******' db*** < db***.sql`
 * user : new database user name
    password : new database password then here name
   db***.sql because at the root of my server
 * But I have error : `acces denied for user : db***@localhost`
 *  [fonglh](https://wordpress.org/support/users/fonglh/)
 * (@fonglh)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/transfert-server-problem/#post-3103726)
 * You need to grant the user the necessary privileges to the database.
 * You can find the necessary instructions in the MySQL documentation.
 *  Thread Starter [theophile76](https://wordpress.org/support/users/theophile76/)
 * (@theophile76)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/transfert-server-problem/#post-3103728)
 * I have not found anything :/
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/transfert-server-problem/#post-3103729)
 * Try asking your hosts for assistance.
 *  Thread Starter [theophile76](https://wordpress.org/support/users/theophile76/)
 * (@theophile76)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/transfert-server-problem/#post-3103730)
 * I did it, i’m just waiting.
 *  Thread Starter [theophile76](https://wordpress.org/support/users/theophile76/)
 * (@theophile76)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/transfert-server-problem/#post-3103734)
 * I’s ok to convert in utf8_unicode and import a db :
 * mysql –host=localhost –user=dbo*** –password=***** –default-character-set=utf8-
   S /tmp/mysql5.sock db*** < ***.sql

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

The topic ‘Transfert server : problem’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 10 replies
 * 4 participants
 * Last reply from: [theophile76](https://wordpress.org/support/users/theophile76/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/transfert-server-problem/#post-3103734)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
