Monday, August 22, 2022

Import SQL file into mysql database

Import SQL file into mysql database:
1. login into your mysql client by command line:

mysql -uroot -p [hit enter] and [give password]

2. Create database be below command:

create database name_of_your_datebase;

3. Select your database by below command:

use name_of_your_database;

4. Import command:

source path_of_your_sql_file;

No comments:

Post a Comment

Workflow of WordPress project in a team with Git

1. We should not push any Wordpress core folders or files to github. 2. Only push custom theme and custom plugin into github. 3. So, in this...