By hari49pf on
Hi,
I need to install drupal on existing DB, In general Drupal creates new DB while installing,
Can anyone suggest me how can I install Drupal-7.x on existing database which has been created by Drupal-8.2.2 Plz...
Or,
any suggestion on what can be done.
Comments
~
Drupal 7 cannot use a Drupal 8 database. You will need to at least delete all of the tables in the DB before you can use it.
Then you can go into your settings.php and change it to use the existing db. See https://www.ostraining.com/blog/drupal/change-the-database-connection/
migration ...
A Drupal 8 website uses a Drupal 8 database and a Drupal 7 website uses a Drupal 7 database.
It is not possible to mix and match any of the above components.
If your actual intent is to migrate the contents of a Drupal 7 website to a Drupal 8 website, you are going to have to use a different approach.
You will have to export the various forms of content from the Drupal 7 website and then import all those items into the Drupal 8 website: nodes, comments, taxonomy, blocks, menus, views, and so on.
spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...
No problem using the same database
You can have as many installations in the database you want. As long as you use the prefix for the tables to separate different installations. See https://www.drupal.org/docs/7/installing-drupal-7/step-4-run-the-install... The prefix can be set in the Advanced section.
@mmvjb
@mmvjb
As helpful as you are trying to be, your adroit response is surely way, way, way, over the head of the original poster hari49pf
Surely the concept of using database table prefixes to store multiple Drupal sites in a single SQL database is beyond his purview and skill set at the moment.
spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...
Regards
OK guys thanks for the help, actually! The issue is I had deleted the module Youtube using FTP Clint, after that no content is loading even content Types has the same issue. Toughed of different approach.