This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes JDBC and the fly likes need help with mysqldump... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "need help with mysqldump..." Watch "need help with mysqldump..." New topic
Author

need help with mysqldump...

Justin Fox
Ranch Hand

Joined: Jan 24, 2006
Posts: 802
ok I have phptriad.

and I need to make a dump file of my mysql database so I can connect to it via php.

I've tried a million different ways, and nothing seems to work.

This is what I last tried.



now, it says I have a syntax error and thats it, no specification or anything like that.

and also when i do:



Thanks for the help,

Justin Fox


You down with OOP? Yeah you know me!
Paul Campbell
Ranch Hand

Joined: Oct 06, 2007
Posts: 338
Two things... there shouldn't be a space between -u and root.

If you are in windows do the following.

mysqldump is standalone application

Copy the path to your MySQL bin folder.

Open a command prompt

Paste your path and type mysqldump -uroot -p mycustomballs >backup.sql
Enter your password
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: need help with mysqldump...