Re: MySQL backup script
From: Peter Afonin (peter_at_gudzon.net)
Date: 12/23/04
- Next message: Gordon Burditt: "Re: MySQL backup script"
- Previous message: Janwillem Borleffs: "Re: cant read cookies"
- In reply to: Gordon Burditt: "Re: MySQL backup script"
- Next in thread: Gordon Burditt: "Re: MySQL backup script"
- Reply: Gordon Burditt: "Re: MySQL backup script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 23 Dec 2004 12:40:51 -0800
Thank you, Gordon.
Sorry, I'm not that Unix-aware to work with ssh. I can use commands in
Windows, but not Unix. Could you please just tell me what is incorrect? Or
tell me what command should I use to login to mysql database - I can try.
My account login is pva,
My database login is test, so it should be pva_test.
My database password is test.
Thank you,
Peter
"Gordon Burditt" <gordon@hammy.burditt.org> wrote in message
news:cqer85$ujc@library1.airnews.net...
> In article <C_adnQM9S9ej6lfcRVn-2g@speakeasy.net>,
> Peter <pva@speakeasy.net> wrote:
> >Thank you, Gordon.
> >
> >Tried to follow your recommendations.
> >
> >Created a user test with password test, gave all rights, database
ddt2_dmf.
> >Now my file looks like this:
> >
> >#!/bin/sh
> >date=`date '+%m-%d-%y'`
> >mysqldump -utest -ptest ddt2_dmf >
> >/home/ddt2/mysql_backup/ddt2_test.$date.sql
> >chown ddt2:ddt2 mysql_backup -R
> >
> >Getting error:
> >
> >mysqldump: Got error: 1045: Access denied for user: 'test@localhost'
(Using
> >password: YES) when trying to connect
> >
> >What am I still doing wrong?
>
> You have the user/password set up incorrectly.
> Can you log in with the command-line client ('mysql') using that
> user name, password, and database?
>
>
>
> Gordon L. Burditt
- Next message: Gordon Burditt: "Re: MySQL backup script"
- Previous message: Janwillem Borleffs: "Re: cant read cookies"
- In reply to: Gordon Burditt: "Re: MySQL backup script"
- Next in thread: Gordon Burditt: "Re: MySQL backup script"
- Reply: Gordon Burditt: "Re: MySQL backup script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|