Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Percona tool pt-online-chema-change problem ....

Received: by 10.224.180.141 with SMTP id bu13mr2797350qab.2.1353063990043;
        Fri, 16 Nov 2012 03:06:30 -0800 (PST)
X-BeenThere: percona-discussion@googlegroups.com
Received: by 10.49.94.48 with SMTP id cz16ls792796qeb.72.gmail; Fri, 16 Nov
 2012 03:06:28 -0800 (PST)
Received: by 10.224.111.140 with SMTP id s12mr2790709qap.5.1353063988597;
        Fri, 16 Nov 2012 03:06:28 -0800 (PST)
Received: by 10.224.173.148 with SMTP id p20msqaz;
        Fri, 16 Nov 2012 03:00:00 -0800 (PST)
Received: by 10.58.209.106 with SMTP id ml10mr1402789vec.31.1353063600687;
        Fri, 16 Nov 2012 03:00:00 -0800 (PST)
Received: by 10.58.209.106 with SMTP id ml10mr1402788vec.31.1353063600671;
        Fri, 16 Nov 2012 03:00:00 -0800 (PST)
Return-Path: <ovais.ta...@percona.com>
Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179])
        by gmr-mx.google.com with ESMTPS id bn19si97738vdb.0.2012.11.16.03.00.00
        (version=TLSv1/SSLv3 cipher=OTHER);
        Fri, 16 Nov 2012 03:00:00 -0800 (PST)
Received-SPF: pass (google.com: domain of ovais.ta...@percona.com designates 209.85.220.179 as permitted sender) client-ip=209.85.220.179;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ovais.ta...@percona.com designates 209.85.220.179 as permitted sender) smtp.mail=ovais.ta...@percona.com
Received: by mail-vc0-f179.google.com with SMTP id f13so2582096vcb.10
        for <percona-discussion@googlegroups.com>; Fri, 16 Nov 2012 03:00:00 -0800 (PST)
        d=google.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:x-gm-message-state;
        bh=riAiuC2qtVB17MCzJDZK3oBu2ev5AzBR/Ratir669Nk=;
        b=AcSF8o6jRsBfgHL93CjcK3XL53b7aBrwKfyCSvMaLzhmfWxMMulGWUyvzTYKS1l1ym
         58beKT50AtgBqKuLG/t5Rc1mcX7WnwnK7fnL91OdM0rIicsnj8NHfheZriSia7SbRIE8
         V3VD1Dezd/WHRoBLosdLqunHeAOHu1G8Va7Po6MELnqKXU2cvmktz2FDgsA28whQR12J
         ACbuX9KCnofeoEd3LIgtBjxdGu1UZGDkEIKHwUEyd99PziUXVOhjCpLOMWLHpNqcw/67
         u3gaWvpijg/GXLD0edZIhxQ8g9Ike/gmzvpqoR9idl4yXufsSqa5ft17dg1r90/YWgtG
         /cZQ==
MIME-Version: 1.0
Received: by 10.58.94.109 with SMTP id db13mr6030127veb.39.1353063600283; Fri,
 16 Nov 2012 03:00:00 -0800 (PST)
Received: by 10.58.253.65 with HTTP; Fri, 16 Nov 2012 03:00:00 -0800 (PST)
In-Reply-To: <1f53b5b2-b147-4ffd-98c5-1a6fe4b756e3@googlegroups.com>
References: <1f53b5b2-b147-4ffd-98c5-1a6fe4b756e3@googlegroups.com>
Date: Fri, 16 Nov 2012 16:00:00 +0500
Message-ID: <CAJtx3ZPSWqhfQF2Z1khxV2CaDtCDCaLuq9WR07D9QSW5RXZ...@mail.gmail.com>
Subject: Re: [percona-group] Percona tool pt-online-chema-change problem ....
From: Ovais Tariq <ovais.ta...@percona.com>
To: percona-discussion@googlegroups.com
Content-Type: multipart/alternative; boundary=047d7b6dcba840e01404ce9aaba1
X-Gm-Message-State: ALoCoQkH0QtZnIebp5a10zuz9K8y/V3KFETYzSP13ae2SXGJExwC2MgJqr21FC2bXbozvXAtaB+5

--047d7b6dcba840e01404ce9aaba1
Content-Type: text/plain; charset=ISO-8859-1

The command line used is wrong, it should be as follows:

pt-online-schema-change --user=root --ask-pass --alter "ADD column ip
VARCHAR(32)" --dry-run D=ye,t=ye2,h=localhost

where "ye" I suppose is the name of the database and "ye2" is the name of
the table that has to be altered.

Best,


On Fri, Nov 16, 2012 at 12:31 PM, mySQLgirl <yerik...@gmail.com> wrote:

> HELP
> What's wrong with my command ?
> it will not work , why?
> I have tried all kinds alternative but this should work !!!
> thx
> Yvonne
>
> [root@itdtstdb01 ~]# pt-online-schema-change --user=root --ask-pass
> --alter "ADD column ip VARCHAR(32)"  D=ye t=ye2  h=localhost   --dry-run
> Usage: pt-online-schema-change [OPTIONS] DSN
>
> Errors in command-line arguments:
>   * Specify only one DSN on the command line
>   * The DSN must specify a database (D) and a table (t)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Percona Discussion" group.
> To post to this group, send email to percona-discussion@googlegroups.com.
>
>
>



-- 

Ovais Tariq, Principal Support Engineer, Percona Inc.

http://www.percona.com | http://www.mysqlperformanceblog.com
Phone               : +1 (888) 401-3401 Ext. 552
Mobile               : +92 3212949959 (PKT)
24/7 Emergency : +1 888 401 3401 ext 911
Skype               : ovaistariq

Training : http://www.percona.com/training/
Support  : http://www.percona.com/mysql-support/

Percona Live MySQL Conference: New York 2012
http://www.percona.com/live/nyc-2012/

--047d7b6dcba840e01404ce9aaba1
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

The command line used is wrong, it should be as follows:<div><br></div><div=
><font face=3D"courier new, monospace"><span style=3D"font-size:13px">pt-on=
line-schema-change --user=3Droot --ask-pass --alter &quot;ADD column ip VAR=
CHAR(32)&quot;=A0</span><span style=3D"font-size:13px">--dry-run</span><spa=
n style=3D"font-size:13px">=A0D=3Dye,t=3Dye2,h=3Dlocalhost=A0</span></font>=
</div>
<div><span style=3D"font-family:arial,sans-serif;font-size:13px"><br></span=
></div><div><span style=3D"font-family:arial,sans-serif;font-size:13px">whe=
re &quot;ye&quot; I suppose is the name of the database and &quot;ye2&quot;=
 is the name of the table that has to be altered.</span></div>
<div><span style=3D"font-family:arial,sans-serif;font-size:13px"><br></span=
></div><div><span style=3D"font-family:arial,sans-serif;font-size:13px">Bes=
t,</span></div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote=
">On Fri, Nov 16, 2012 at 12:31 PM, mySQLgirl <span dir=3D"ltr">&lt;<a href=
=3D"mailto:yerik...@gmail.com" target=3D"_blank">yerik...@gmail.com</a>&gt;=
</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">HELP <br>What&#39;s wrong with my command ?<=
br>it will not work , why?<br>I have tried all kinds alternative but this s=
hould work !!!<br>
thx<br>Yvonne<br><br>[root@itdtstdb01 ~]# pt-online-schema-change --user=3D=
root --ask-pass --alter &quot;ADD column ip VARCHAR(32)&quot;=A0 D=3Dye t=
=3Dye2=A0 h=3Dlocalhost =A0 --dry-run<br>Usage: pt-online-schema-change [OP=
TIONS] DSN<br>
<br>Errors in command-line arguments:<br>=A0 * Specify only one DSN on the =
command line<br>=A0 * The DSN must specify a database (D) and a table (t)<s=
pan class=3D"HOEnZb"><font color=3D"#888888"><br>

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;Percona Discussion&quot; group.<br>
To post to this group, send email to <a href=3D"mailto:percona-discussion@g=
ooglegroups.com" target=3D"_blank">percona-discussion@googlegroups.com</a>.=
<br>
=A0<br>
=A0<br>
</font></span></blockquote></div><br><br clear=3D"all"><div><br></div>-- <b=
r><br>Ovais Tariq, Principal Support Engineer, Percona Inc.<br><br><a href=
=3D"http://www.percona.com/" target=3D"_blank">http://www.percona.com</a>=
=A0|=A0<a href=3D"http://www.mysqlperformanceblog.com/" target=3D"_blank">h=
ttp://www.mysqlperformanceblog.com</a><br>
Phone=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 : +1 (888) 401-3401 Ext. 55=
2<br>Mobile=A0=A0=A0=A0=A0=A0=A0 =A0 =A0 =A0=A0 : +92 3212949959 (PKT)<br>2=
4/7 Emergency : +1 888 401 3401 ext 911<br>Skype=A0=A0=A0=A0=A0=A0=A0=A0 =
=A0 =A0 =A0 : ovaistariq<br><br>Training :=A0<a href=3D"http://www.percona.=
com/training/" target=3D"_blank">http://www.percona.com/training/</a><br>
Support=A0 :=A0<a href=3D"http://www.percona.com/mysql-support/" target=3D"=
_blank">http://www.percona.com/mysql-support/</a><br><br><font face=3D"aria=
l, sans-serif">Percona Live MySQL Conference: New York 2012</font><br style=
=3D"font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif;back=
ground-color:rgb(255,255,255)">
<a href=3D"http://www.percona.com/live/nyc-2012/" style=3D"font-size:13px;c=
olor:rgb(17,85,204);font-family:arial,sans-serif;background-color:rgb(255,2=
55,255)" target=3D"_blank">http://www.percona.com/live/nyc-2012/</a><br>
</div>

--047d7b6dcba840e01404ce9aaba1--