On Monday, May 6, 2013 6:12:28 PM UTC-4, Chris Angelico wrote:
> On Tue, May 7, 2013 at 5:01 AM, MMZ wrote:
>
> > username = config.get('client', 'mmz')
>
> > password = config.get('client', 'pass1')
>
> > hostname
stdin=cmd1.stdout)
^
SyntaxError: invalid syntax
On Monday, May 6, 2013 5:48:44 PM UTC-4, Enrico 'Henryx' Bianchi wrote:
> Enrico 'Henryx' Bianchi wrote:
>
>
>
> > cmd2 = subprocess.Popen(['gzip' '-c'],
>
> > shell=False,
>
> > stdout=filename)
>
>
>
> Doh, my fault:
>
>
>
>
r either, but shouldn't the "[client]" section
> have the options "mmz", "pass1", or "localhost" somewhere? Do you need to
> add them to that file?
>
>
>
>
> Matt Jones
>
>
>
> On Mon, May 6, 2013 at 2:20 PM, MMZ
On Monday, May 6, 2013 3:11:33 PM UTC-4, Jerry Hill wrote:
> On Mon, May 6, 2013 at 3:01 PM, MMZ wrote:
>
>
>
> I am trying to backup database on CentOS linux server,I'm getting error when
> running the following script. anyone can help?
>
>
>
>
I am trying to backup database on CentOS linux server,I'm getting error when
running the following script. anyone can help?
#!/usr/bin/env python
import ConfigParser
import os
import time
config = ConfigParser.ConfigParser()
config.read("~/my.cnf")
username = config.get