I was trying to export the database from phpmyadmin and this error is showing up
"Fatal error: Uncaught TypeError: Argument 5 passed to PhpMyAdminExport::getFilenameAndMimetype() must be of the type string, null given, called in C:xamppphpMyAdminexport.php on line 380 and defined in C:xamppphpMyAdminlibrariesclassesExport.php:270 Stack trace: #0 C:xamppphpMyAdminexport.php(380): PhpMyAdminExport->getFilenameAndMimetype('database', '', Object(PhpMyAdminPluginsExportExportSql), '', NULL) #1 {main} thrown in C:xamppphpMyAdminlibrariesclassesExport.php on line 270"
And i tried to remove the cookies of phpmyadmin from the browser but this is not helping.
This is only happening in moodle database other databases exporting fine.
So how can i resolve this.
2
Answers
You have 2 possible ways to do that.
1) By using command line
Open up a command prompt: Start -> Run -> cmd
cd c:xamppmysqlbin
Enter the following command in terminal
Or
Paste the password when prompted
2) Or use phpmyadmin (usually installed with XAMP), or something like that and export it from browser
I would recommend you to go with first option.
In php.ini, first remove comma to uncomment and increase value of
max_input_vars
. Default value would be 1000 increase it