techinfoBiT
  • News
  • Startups
  • Tech
    • Internet
    • Security
  • WebMaster
    • All
    • SEO
    • Server & Hosting
    • Tools
    • WordPress
    'Sorry, This File Type Is Not Permitted for Security Reasons' How To Fix This Error in WordPress Website Development-techinfoBiT

    ‘Sorry, This File Type Is Not Permitted for Security Reasons’ How To Fix This Error in WordPress

    What is DMARC Record in DNS and Why It is Important For Email Security-techinfoBiT

    What is DMARC Record in DNS and Why It is Important For Email Security?

    How To Generate SHA-256 Hash From the Command Line on Ubuntu Server - techinfoBiT-SHA-256,Ubuntu Server, Server Solution, Linux Hashing, File Integrity, Cryptographic Hash, sha256sum, Hash Generation

    How To Generate SHA-256 Hash From the Command Line on Ubuntu Server

    Cloudflare To Deprecate Auto Minify Feature On August 5, 2024 - techinfoBiT

    Cloudflare To Deprecate Auto Minify Feature On August 5, 2024

    What is Google Analytics 4 and How to Setup GA4 for Websites - techinfoBiT

    What is Google Analytics 4 and How to Setup GA4 for Websites?

    How To Use Multiple SPF Records In A Domain | Merge Multiple SPF Easily - techinfoBiT

    How To Use Multiple SPF Records In A Domain | Merge Multiple SPF Easily

  • Science Space
  • Gadgets
    • Laptop & PCs
    • Mobile Phones
    • Wearables
  • More
    • How-To Guides
    • Reviews
    • Telecom
    • Applications
    • Press Release
No Result
View All Result
Services
techinfoBiT
  • News
  • Startups
  • Tech
    • Internet
    • Security
  • WebMaster
    • All
    • SEO
    • Server & Hosting
    • Tools
    • WordPress
    'Sorry, This File Type Is Not Permitted for Security Reasons' How To Fix This Error in WordPress Website Development-techinfoBiT

    ‘Sorry, This File Type Is Not Permitted for Security Reasons’ How To Fix This Error in WordPress

    What is DMARC Record in DNS and Why It is Important For Email Security-techinfoBiT

    What is DMARC Record in DNS and Why It is Important For Email Security?

    How To Generate SHA-256 Hash From the Command Line on Ubuntu Server - techinfoBiT-SHA-256,Ubuntu Server, Server Solution, Linux Hashing, File Integrity, Cryptographic Hash, sha256sum, Hash Generation

    How To Generate SHA-256 Hash From the Command Line on Ubuntu Server

    Cloudflare To Deprecate Auto Minify Feature On August 5, 2024 - techinfoBiT

    Cloudflare To Deprecate Auto Minify Feature On August 5, 2024

    What is Google Analytics 4 and How to Setup GA4 for Websites - techinfoBiT

    What is Google Analytics 4 and How to Setup GA4 for Websites?

    How To Use Multiple SPF Records In A Domain | Merge Multiple SPF Easily - techinfoBiT

    How To Use Multiple SPF Records In A Domain | Merge Multiple SPF Easily

  • Science Space
  • Gadgets
    • Laptop & PCs
    • Mobile Phones
    • Wearables
  • More
    • How-To Guides
    • Reviews
    • Telecom
    • Applications
    • Press Release
No Result
View All Result
techinfoBiT

How to Import & Export Database Without Any Extra Installation

Nishant Kumar by Nishant Kumar
January 6, 2019
Reading Time: 5 mins read
Share on FacebookShare on Twitter > XShare via WhatsAppShare on LinkedIn

I’m posting after a really long time and in fact, this is the first post after shifting my site to new Nginx based VPS. I was using apache earlier but apache was causing some database issues. Nginx is most popular with small server and WordPress so it was quite convincing to try Nginx before doing an upgrade on the server. It’s been three days and my site is working perfectly fine with Nginx. So it seems there is no need to upgrade server near soon.

What I learned during this whole process is that people should think twice before installing any extra plugins/packages if they have small VPS or shared hosting, because directly or indirectly it’s going to use your server resources. On my old server, I have used DigitalOcean’s one-click WordPress installation method, which comes with Ubuntu, Apache, MySQL, PHP, and WordPress.

You might also like

Jio and Azure Partnership- Revolutionising India’s Cloud Landscape - techinfoBiT

Jio and Azure Partnership: Revolutionising India’s Cloud Landscape

July 4, 2025
Ubuntu Server How To Find Largest File In Directory Recursively - techinfoBiT

Ubuntu Server: How To Find Largest File In Directory Recursively

March 24, 2025

Being a beginner I have used tons of plugins and packages without having any second thought, but you shouldn’t make those mistakes. Install only the necessary plugins and packages, it will keep your server fast and healthy. I followed these methods while configuring my new server and that’s why I searched options to import database without installing phpMyAdmin.

I have found few commands and few plugins also but the available plugins weren’t working for me and I was a bit confused with SSH command option because there are too many commands for the same job and I’m not that good at using Linux commands.

Finally, I came to know about a small PHP tool a tiny PHP file actually, called Adminer. I had never used the Adminer till then so thought to give it a try and I am glad that it worked like a charm, I was able to do almost all the jobs that I was doing on the phpMyAdmin.

So What is Adminer?

It is a tool to manage contents in MySQL database, formerly known as phpMinAdmin. Adminer is a single tiny PHP file(around 300KB in Size). It is a lightweight and perfect alternative to phpMyAdmin.

Read More details about Adminer on Wikipedia

Here I’m going to brief about Adminer like how to import, export and execute SQL command without phpMyAdmin.

  • Download Adminer PHP files from here.
  • Upload the PHP file in your root web directory (eg. www/html/…).
  • You can either zip & upload your SQL file to the directory where you uploaded the Adminer.php or you can browse and upload directly from the Adminer page later.
  • Remember by default Adminer will take the file name “adminer.sql.bz2” so make sure you have compressed in the right format and used the right file name.
  • Open a browser and access the Adminer PHP file in browser eg. techinfobit.com/adminer.php
    Import Database Without phpMyAdmin | Run SQL Queries Without phpMyAdmin - techinfoBiT
  • Login with your credentials, you will see a window somewhat like phpMyAdmin home window.
    Import Database Without phpMyAdmin | Run SQL Queries Without phpMyAdmin - techinfoBiT
  • Now you can do all the important work like export, import database, create new tables and run SQL commands.
    • If you don’t have a backup SQL file and want to take it from old site upload Adminer to the old server and click on export it will create the backup of your database
      Import Database Without phpMyAdmin | Run SQL Queries Without phpMyAdmin - techinfoBiT
  • Now to import a database click on import
    Import Database Without phpMyAdmin | Run SQL Queries Without phpMyAdmin - techinfoBiT
  • If you have already uploaded the SQL file on the server then click on run file or click on choose file to upload old SQL file and click on execute.
    Import Database Without phpMyAdmin | Run SQL Queries Without phpMyAdmin - techinfoBiT
  • You can run SQL command according to your need by just clicking on SQL Command. You will have a text field to execute the SQL command.
    Import Database Without phpMyAdmin | Run SQL Queries Without phpMyAdmin - techinfoBiT

There is also a WordPress plugin called Adminer but I’m recommending to use the Adminer PHP file. I’ve tried both and found that Adminer PHP file works more smoothly. For those who don’t have the FTP/SFTP access can use the plugin.

Note:- You can delete the Adminer if you are not going to access your database regularly or if you don’t want to reveal the database access option.

I hope it will help someone like me who may be looking for similar solutions. Just leave a comment if you have any idea or suggestions to make this post better or if you have any query.

Tags: Apps/WebAppsExport Database Without Any Extra InstallationHow to Export DatabaseHow to Import DatabaseImport & Export DatabaseWebMaster
ShareTweetSendShare
Previous Post

How to Install Android Lollipop Preview on Nexus 5 or Nexus 7 | Review Android Lollipop Preview On Nexus 5

Next Post

Review JBL T100A

Nishant Kumar

Nishant Kumar

Nishant is a passionate tech blogger and has been writing about technology since 2007. His insatiable love for gadgets has made him closely follow the advancements & innovations our society has made in terms of technology since a long while now. Nishant is a highly sought after reviewer with many manufacturers requesting his opinions about their products. He covers Mobile Phones, Gadgets, Tools and all kind of tech products to give consumers Genuine Reviews, Buying Guides and reliable news.

Related Articles

Jio and Azure Partnership- Revolutionising India’s Cloud Landscape - techinfoBiT

Jio and Azure Partnership: Revolutionising India’s Cloud Landscape

by Nishant Kumar
July 4, 2025
0

The collaboration of Reliance Jio and Microsoft Azure was indeed a landmark for the Indian cloud ecosystem. Reliance Jio, the telecom giant under Reliance Industries Limited, partnered with Microsoft in...

Ubuntu Server How To Find Largest File In Directory Recursively - techinfoBiT

Ubuntu Server: How To Find Largest File In Directory Recursively

by Nishant Kumar
March 24, 2025
0

When managing an Ubuntu Server, disk space can quickly become an issue, especially if large files accumulate unnoticed. If you need to identify the biggest file within a directory (including...

Buying an Affordable & High-Performance VPS or Web Hosting-Best VPS Offer-Hostinger-techinfoBiT Blog For-Best WordPress Hosting

Buying an Affordable & High-Performance VPS or Web Hosting

by Nishant Kumar
March 9, 2025
0

The Virtual Private Server (VPS) is now becoming a mainstream and popular hosting option for all kinds of websites and applications. The market share of Virtual Private Servers (VPS) has...

How To Generate SHA-256 Hash From the Command Line on Ubuntu Server - techinfoBiT-SHA-256,Ubuntu Server, Server Solution, Linux Hashing, File Integrity, Cryptographic Hash, sha256sum, Hash Generation

How To Generate SHA-256 Hash From the Command Line on Ubuntu Server

by Nishant Kumar
October 12, 2024
0

The SHA-256 hash is a cryptographic algorithm widely used to check the integrity of the data; especially when downloading software or managing large datasets, ensuring that files remain unaltered during...

Load More
Next Post
Review JBL T100A | JBL T100A Review | Facts About J100A - techinfoBiT

Review JBL T100A

Leave a Reply Cancel reply

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


This site uses Akismet to reduce spam. Learn how your comment data is processed.

techinfoBiT | Startup & Tech News, Reviews | WebMaster, How-To Guides-Tech Blog-Startup Blog India

techinfoBiT is your go-to source for the latest startup & tech news, technology reviews; WebMaster, SEO tips and how-to guides to help you stay updated and navigate the digital world know more

  • About
  • Contacts
  • Disclaimer
  • Privacy Policy

© 2012-2025 techinfoBiT | All Rights Reserved

No Result
View All Result
  • News
  • Startups
  • Tech
  • WebMaster
  • Gadgets
  • How-To Guides
  • Science Space
  • Services

© 2012-2025 techinfoBiT | All Rights Reserved