Hi
Does anyone know how to use mysql.exe ?
I am trying to export my mysql so that I can upload it to a server.
I am using this, but it has an error in it !
mysql\bin\mysql.exe -u root -p mypass -D mydatabase > databs.sql
It gives asks me to enter my password
( which I already did after -p )
So I re-enter it and it then says
Error 1049 " Unknown database 'mypass'
Obviously I am doing something wrong!
Can you help /
Also - perhaps I should be using msqldump ? If so how do I use it ?
Thanks.