Skip to content

Instantly share code, notes, and snippets.

@serweb-labs
Created October 27, 2015 23:23
Show Gist options
  • Select an option

  • Save serweb-labs/0ca523b4d92e84641cb0 to your computer and use it in GitHub Desktop.

Select an option

Save serweb-labs/0ca523b4d92e84641cb0 to your computer and use it in GitHub Desktop.
Importar base de datos desde la consola

Login en mysql

$ mysql -u [user] -p

Seleccionar Base de datos

mysql> use [database_name];

Volcar archivo sql

mysql> source [path_of_your_.sql_file]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment