Domanda

Here is my problem: I export a database A_DB using "export" function of Phppgadmin. The dump file A_dump.sql includes both the database structure and data. Then I try to create another blank database B_DB, and import A_dump.sql into it.

Every time I do that, the transaction failed with no error reported:

SQL error:

In statement:

Is there some logs that I can find in phppgadmin that would allow me to investigate this problem? I have tried searching for an hour, but still not find anything.

È stato utile?

Soluzione

In the end, it turns out that the uploaded SQL file size exceed the limit of uploading set on the server. Hence phppgadmin "silently" dropped the uploaded file, which leaded to the "blank" SQL error.

When I split that imported SQL file to smaller files, it works.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top