# Ghost install - database and config problem

**URL:** <https://forum.ghost.org/t/ghost-install-database-and-config-problem/2241>\
**Category:** Installation\
**Created:** [August 2, 2018, 3:55pm UTC](https://forum.ghost.org/t/ghost-install-database-and-config-problem/2241 "2018-08-02T15:55:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Doubrovski](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@Doubrovski](https://forum.ghost.org/u/Doubrovski)\
**Post date:** [August 2, 2018, 3:55pm UTC](https://forum.ghost.org/t/ghost-install-database-and-config-problem/2241/1 "2018-08-02T15:55:47Z")

</div>

Hello,

2 years ago I installed ghost on a vps (debian6) :

- node 4.5.0
- ghost 0.9

Today I wanted to work on my website locally on windows 10 but I was not able to launch Ghost.

After some research I realized that it was very complicated to update ghost (0.9\>1.25). And I realized that it was impossible to use my old database or config file…

So I just restarted :  
1/ downloaded Ghost 1.25.3 with node 8.9,  
2/ npm install  
3/ i made a config.development.json in order to use mysql

{  
“url”: “[http://localhost:1337/](http://localhost:1337/)”,  
“server”: {  
“port”: 1337,  
“host”: “127.0.0.1”  
},  
“database”: {  
“client”: “mysql”,  
“connection”: {  
“host” : “127.0.0.1”,  
“user” : “root”,  
“password” : “”,  
“database” : “ghostbase”,  
“charset” : “utf8”  
}  
}  
}

4/ i launched mysql, and I used knex-migrator init in order to generate the fresh database

I just get an error…

 ![error](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/b522c8b964ae08ba32ee4d693fabe3c9254c2a70.jpg)

I just want to install a new fresh Ghost with Mysql, but it seems really complicated…  
Do you have an idea ?

another solution would be to keep my old configuration with node 4.5.0 but it seems risky?

Thanks

---

<div class="post-metadata">

**Author:** ![Kurisu](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kurisu/32/708_2.png) [@Kurisu](https://forum.ghost.org/u/Kurisu)\
**Post date:** [August 8, 2018, 6:30pm UTC](https://forum.ghost.org/t/ghost-install-database-and-config-problem/2241/2 "2018-08-08T18:30:37Z")

</div>

Hello!

U now try to integrate a updates from 0.9 up to 1.25. Its impossible.

1. Save a backup your post.
2. Reinstall your server from CentOS 6 into Ubuntu 16.04.
3. Create your root MySQL user with u REAL root-password.
4. Integrate backup with your new blog.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [August 22, 2018, 6:30pm UTC](https://forum.ghost.org/t/ghost-install-database-and-config-problem/2241/3 "2018-08-22T18:30:40Z")

</div>

Closed on August 22, 2018, 6:30pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
