Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Q2A Core by

I used to have a Q2A website then I shut it down. I have a SQL backup of the website. How can I integrate my older SQL to a fresh Q2A website?


1 Answer

+1 vote
selected by
Best answer
You can simply create a new database, import the old database to that and give the details in qa-config.php. I suppose you might be missing some incompatible plugins - thats all.

create database qa;

grant all privileges on qa.* to myuser@'localhost' identified by 'mypassword';

Then import the database

mysql -u myuser -p qa <qadump.sql
Thank you for your answer, I will try it tonight. Do you mind if I asked you more questions considering that I could'nt import it.
I have done it, It was really as you told. Thanks for your help mate!
You are welcome. Glad it worked nicely :)

Welcome to the Q&A site for Question2Answer.

If you have a question about Q2A, please ask here, in English.

To report a bug, please create a new issue on Github or ask a question here with the bug tag.

If you just want to try Q2A, please use the demo site.