Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Importing a large SQL file in php my andin

Featured Replies

Hi Guys

 

Im just wondering how I can import a large file in phpmyadmin the file is 5mg but the limit is 2mg?

 

Is there a work around?

 

Thanks Ben

You can tell phpmyadmin to split the file up into segments whilst uploading. I believe there is a tick box in the upload section.

if you have access to your php ini file (ie on a localhost) you can change the settings for a permanent affect.

 

To find the location of your php.ini file (php settings), type:

<?php
phpinfo();
?>

into a file and save as "info.php". Load it up in your browser and search for "php.ini"

 

Open the named file and search for "2M", replacing it with something more useful (like 20M)

You could also ask your host for assistance - they control the limits! All I usually do with big databases is upload the .sql file to the server, then submit a support ticket asking them to do the import. saves a lot of hassle :)

The best way to import it is from command line, if you have access.

 

If not try something like navicat, it has no file upload so won't be a problem.

Navicat Free Trial

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.