If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > mysqldump giving ERROR 1102 and I don't know why

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-03-04, 16:28
superiorlobe superiorlobe is offline
Registered User
 
Join Date: Feb 2004
Posts: 1
mysqldump giving ERROR 1102 and I don't know why

This should be very simple. I am trying to use mysqldump on a table in one of my databases and it isn't working. The command I am issuing is:

C:\mysl\bin>mysqldump -uusername -ppassword database_name.table_name > table_name.sql

I get the following error message:

ERROR 1102: Incorrect database name 'database_name.table_name'

Now I know that my database name is correct and I know that my table name is correct. That is, I do have a database by that name and it does contain a table by that name. This is certain. Also, I can go to the DOS prompt and issue the command:

C:\mysql\bin>mysqldump -uusername -ppassword database_name > database.sql

and everything works fine. (This creates a huge file, however, and is not what I want to do.)

Someone please tell me why I am getting the 1102 error.

Thanks,

Jon
Reply With Quote
  #2 (permalink)  
Old 02-03-04, 16:47
aus aus is offline
Registered User
 
Join Date: Oct 2003
Location: Denver, Colorado
Posts: 137
Re: mysqldump giving ERROR 1102 and I don't know why

Try this:
Code:
C:\mysl\bin>mysqldump -uusername -ppassword database_name table_name > table_name.sql
You can specify multiple tables with: dbname table1 table2
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On