[Solved]: Importing huge DB

When importing a file using bigdump.php on my Ubuntu, I got this error :

Can’t open table.sql for import

Please, check that your dump file name contains only alphanumerical characters, and rename it accordingly, for example: table.sql.
Or, specify $filename in bigdump.php with the full filename.
Or, you have to upload the table.sql to the server first.

The problem was that the file was not readable.

Simply chmod the file temporarily to 777, allowed the database to be imported.

Leave a comment

Your email address will not be published. Required fields are marked *