PDA

View Full Version : mysql and mysqldump from telnet ?


dean
01-25-1999, 07:31 PM
darn dang and whoops -

Is it possible to use mysqldump from the telnet command line ?
I did a:
mysqldump -ppassword databasename >filename

I cant seem to get this to work http://www.aota.net/ubb/frown.gif
Anybody use this to backup the database ?

Dean

P.S. I am new here, but in this time I have posted a mysql/php message board, mysqladmin and a few little databases. I have had to use either php code to create a mysql table or the admin. Sometime it is easier to use mysql or mysqldump from telenet.

dean
01-25-1999, 08:15 PM
I figured it out. Seems as soon as I asked the question out loud, I was modivated to find the answer.

I needed the -u switch becase my database login is different then my telnet login names.

mysqldump -uname -ppassword databasename >filename