Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.

Get Started Now!

How to Insert Database Using Command in Local XAMPP Server

To insert data into a database using command in local XAMPP, you can follow these steps:

  1. Start the XAMPP control panel and ensure that Apache and MySQL services are running.

2. Open your web browser and visit http://localhost/phpmyadmin. This will open the phpMyAdmin interface.

3. Create a new database or Select the database where you want to insert the data from the left-hand side panel.

4. Open command prompt and changing directory like- C:\xampp\mysql\bin in your command prompt

5. Next write mysql -u root YourDatabaseName< C:\YourSqlFile.sql and press enter.

These are general steps, Ensure that your XAMPP server is running during these steps.

Related Posts

How to Install and Enable GMP Extension in XAMPP PHP on Linux (Step-by-Step Guide)

Introduction If you are using XAMPP PHP on a Linux server and encounter errors like: then this usually means the GMP extension is not installed, not just Read More

Read More

Error : MySQL shutdown unexpectedly. This may be due to a blocked port, missing dependencies , improper privileges, a crash, or a shutdown by another method.

Step 1: First, stop Apache and MySQL in the XAMPP server, then go to C:\xampp\mysql and back up the data folder. Step 2: After backing up the Read More

Read More

You probably tried to upload a file that is too large. Please refer to documentation for a workaround for this limit.

For Upload large size data in using phpmyadmin Do following steps. than after restart wamp server or restart all services Now Upload data using import function in Read More

Read More

phpMyAdmin Troubleshooting Advance Guides

Here are some advanced troubleshooting guides for PHPMyAdmin: 1. Performance Issues Slow Loading Times: 2. Connection Issues Error Messages like “Access Denied for User”: 3. Session Timeout Read More

Read More

ERROR 1153 (08S01) at line 1582: Got a packet bigger than ‘max_allowed_packet’ bytes

When I’m trying to add a big file to my WordPress phpmyadmin database, I keep getting errors like this:- ERROR 1153 (08S01) at line 1582: Got a Read More

Read More

Setting Up Virtual Hosts in XAMPP for Windows: A Step-by-Step Guide

To create a virtual host in XAMPP, you need to follow these steps: 2. Configure Apache: 3. Restart Apache: 4. Access Your Virtual Host: Make sure that Read More

Read More
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x