简体   繁体   中英

Importing a mysql-dump into an empty PhpMyAdmin database

Hello stackoverflow community,

I'm fairly new to the whole programma together with databases so i dont know all the ins and outs but im trying to learn.

Currently i received multiple sql-dump's of my companies database. These files contain both tables and data (i dont know if this is obvious or not). The problem i'm experiencing is that the files are to large to import at once. I browsed the web and even these forums but there are no specific solutions to my problem. I'm hosting everything locally using Xampp . The thing i'm trying to achieve is to link the backup i'm importing to a newly created Magento shell to create a testing environment for us to work in.

Edit

So i've changed the values in php.ini (xampp\\php\\php.ini) from > to

post_max_size=2M --> post_max_size=1000M

and

upload_max_filesize=2M --> upload_max_filesize=1000M

Cheers for the help in advance,

Thefellowes

If you are using LAMPP or XAMPP, Here is the solution: Open the php.ini file at the path of /opt/lampp/etc and at the line of 735, you can see as post_max_size = 20M and at line no: 886, upload_max_filesize = 20M

Here in both the places, enter your desired file size, perferably more than as required. then restart the server that you use may be apache or anything.

EDIT:

If you change the above suggested values and if u restart the server, the value near the browse button will change and you given. See the below screenshot for ur reference.

在此处输入图片说明

If you change both the values and restart the server the value displayed here also has to get changed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM