Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need help with mysqldump...

 
Justin Fox
Ranch Hand
Posts: 802
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Paul Campbell
Ranch Hand
Posts: 338
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic