About 282,000 results
Open links in new tab
  1. How to import an SQL file using the command line in MySQL?

    Jul 16, 2013 · To dump a database into an SQL file use the following command. mysqldump -u username -p database_name > database_name.sql To import an SQL file into a database …

  2. mysqldump - How to import a .sql file in MySQL? - Database ...

    I am trying to import a .sql file using MySQL Workbench and I get this error: ERROR 1046 (3D000) at line 28: No database selected I have first created an empty database called with …

  3. How can I import a database with MySQL from terminal?

    Dec 28, 2010 · Change to the database you want to use for importing the .sql file data into. Do this by typing: USE your_database_name Now locate the .sql file you want to execute. If the …

  4. Import SQL file into mysql - Stack Overflow

    Mar 1, 2011 · I haven't created any tables there. But I have a SQL file which contains all the necessary data for the database. The file is nitm.sql which is in C:\ drive. This file has size of …

  5. How can I import data into mysql database via mysql workbench?

    Apr 8, 2013 · Regarding selection of the schema. MySQL Workbench (5.2.47 CE Rev1039) does not yet support exporting to the user defined schema. It will create only the schema for which …

  6. mysql - How to export and import a .sql file from command line …

    Jul 10, 2012 · $ mysql -u username -p -h localhost DATA-BASE-NAME < data.sql In this example, import 'data.sql' file into 'blog' database using vivek as username: $ mysql -u vivek -p -h …

  7. How to easily import multiple sql files into a MySQL database?

    Jan 25, 2012 · puts multiple sql file into one file named as data.sql. cat /path/to/**/*.sql > data.sql enter into database(I will take a example Postgres, because I'm not so familar with Mysql) psql …

  8. Importing larger SQL files into MySQL - Stack Overflow

    I have a 400 MB large SQL backup file. I'm trying to import that file into MySQL database using WAMP → import, but the import was unsuccessful due to many reasons such as upload file …

  9. importing sql file into a database using wamp - Stack Overflow

    Oct 11, 2014 · The easiest way to import a sql file into a database in WAMP, using command line is as follows: 1. Open Command Prompt (CMD - DOS) get into the mysql folder, which in my …

  10. Importing a .sql file into mysql - Stack Overflow

    Apr 28, 2018 · I downloaded MySQL Versio 8.0 and want to open this file in MySQL workbench. I tried opening the .sql file through MySQL workbench but it ended with errors and did not …

Refresh