[Phpmyadmin-devel] Create database with export multiple databases

Marc Delisle marc at infomarc.info
Tue Jun 24 16:24:51 CEST 2014

Le 2014-06-24 09:31, Isaac Bennetch a écrit :
> It seems that current behavior is that, by default, when exporting
> multiple databases at once the CREATE DATABASE statement is omitted. I
> suppose it's possible that someone would want to export multiple tables
> for import in to only one database, but that's certainly not what I
> would think is normally expected behavior.
> I'd like to discuss how we can make this better. I propose that we make
> the default $cfg['Export']['sql_create_database'] = true; (it's
> currently false) in all cases, but I don't recall from the initial
> commit 77e67c3f whether there was a reason this was false by default.
> Any comments on this idea?

After reading

I notice that I set the default to false, to help users on shared
hosting where db creation is done via an external control panel.

Default values for parameters cannot be right for all situations; we
have to pick the best one for the majority, which is probably users on
shared hosting.

Marc Delisle | phpMyAdmin

More information about the Developers mailing list