wood burning stoves
The moose likes JDBC and Relational Databases and the fly likes need help with mysqldump... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "need help with mysqldump..." Watch "need help with mysqldump..." New topic

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...
It's not a secret anymore!