1

The database is not exporting completely from phpmyadmin in my local server xampp.

Please tell me the way to export the entire database.

2
  • Please add some more information. Are some tables missing or the file cuts in some point. If so is it always in the same place or does it differ and sometimes you receive a little more.
    – Zefiryn
    Jun 9, 2017 at 10:37
  • Which operation system are you used? Jun 9, 2017 at 10:59

2 Answers 2

2

I have added the following lines at the bottom of php.ini file on my project

max_input_vars = 5000
suhosin.request.max_vars = 5000
suhosin.post.max_vars = 5000

After added this, You must restart your Apache server.

0

Run this command through terminal.

mysqldump -h localhost -u root -p mydemo123 > mydatabase.sql

  • -h = Host Name
  • -u = User Name
  • mydemo123 = Database Name
  • mydatabase.sql = Set file name with .sql extension
2
  • sorry can you please tell me how to run this command
    – user51829
    Jun 9, 2017 at 10:08
  • Run this command through terminal. Jun 9, 2017 at 10:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.