![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
try adding a single line to the top of your file and then import it USE DATABASENAME; If the user has permissions to the specified database it should process with the import |
#4
| |||
| |||
|
|
On Wed, 20 Apr 2011 15:24:06 -0700 (PDT), dewed duane.lortie (AT) gmail (DOT) com> wrote: try adding a single line to the top of your file and then import it USE DATABASENAME; If the user has permissions to the specified database it should process with the import Thanks. I just now tried it - didn't work. This time I get error 1049 "Unknown database 'cwdb' ". "cwdb" is, of course, the name I specified in the USE statement. Do I need to create this database before I run the import? I thought that the action of importing would create it. And, if I am supposed to create the database before running the script, how do I go about doing that. I don't see anything in MySQLWorkbench that would enable me to do that. |

#5
| |||
| |||
|
|
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". |
#6
| |||
| |||
|
|
try adding a single line to the top of your file and then import it USE DATABASENAME; If the user has permissions to the specified database it should process with the import |
![]() |
| Thread Tools | |
| Display Modes | |
| |