Groups | Search | Server Info | Login | Register


Groups > comp.databases.mysql > #640

Re: Problem importing a database

From "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid>
Newsgroups comp.databases.mysql
Subject Re: Problem importing a database
Date 2011-04-25 09:36 +0200
Organization http://alvaro.es/
Message-ID <ip389f$em2$2@dont-email.me> (permalink)
References <ibbuq61pmsvl52qa1jsnggleffhi3qiblg@4ax.com>

Show all headers | View raw


El 20/04/2011 21:02, Martin escribió/wrote:
> I have Exported a database from a MySQL installation (creating the
> DatabaseName-20808-1303309022.sql file).
>
> On another computer (with a new installation of MySQL) when I try to
> import this file (using MySQL Workbench) the process aborts with
> error: "No database selected".

Run this query:

USE databasename;

... where databasename is the name of the database where you want to 
insert stuff.





-- 
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--

Back to comp.databases.mysql | Previous | NextPrevious in thread | Find similar


Thread

Problem importing a database Martin <ironwoodcanyon@gmail.com> - 2011-04-20 12:02 -0700
  Re: Problem importing a database "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2011-04-25 09:36 +0200

csiph-web