Answers for "how to import sample database in mysql"

SQL
1

import database mysql

#!/bin/sh
mysql -u root --password="${MYSQL_ROOT_PASSWORD}" --database=projectdb </tmp/projectdb.sql &&
  rm /tmp/projectdb.sql
Posted by: Guest on September-18-2021
0

import database mysql command line

mysql> create new_database;
mysql> use new_database;
mysql> source (Here you need to import the path of the SQL file);

E.g.:
mysql> source E:/test/dump.sql;
Posted by: Guest on January-13-2022

Code answers related to "how to import sample database in mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language