Phpmyadmin Import file size

Asked

Viewed 384 times

1

I’m having trouble importing a 600mb . sql file.

My PHP is already authorized to receive files of this size:

memory_limit =1000M
post_max_size = 1000M
upload_max_filesize = 1000M
max_execution_time = 30000
max_input_time = 30000

but still in Phpmyadmin the limit is 128mb:


inserir a descrição da imagem aqui

When I try to import it results in the following error:
inserir a descrição da imagem aqui

I do not understand why this happens, I thank you in advance.

  • 2

    You restarted the web server after changing the file?

  • Yes, several times.

1 answer

0

I suggest you do the import from the database, accessing mysql by command prompt, is much faster and you will not have problems with the size of your file and will not need to change your PHP settings.

Example:

mysql -u username -p nome_banco < nome_do_arquivo.sql

Browser other questions tagged

You are not signed in. Login or sign up in order to post.