On Thu, Apr 24, 2008 at 5:11 PM, David Goodger <goodger@python.org> wrote:
[Kaushal Shriyan - 2008-04-24 03:23]

On Wed, Apr 23, 2008 at 7:54 PM, David Goodger <goodger@python.org <mailto:goodger@python.org>> wrote:

   On Wed, Apr 23, 2008 at 10:08 AM, Kaushal Shriyan
   <kaushalshriyan@gmail.com <mailto:kaushalshriyan@gmail.com>> wrote:
    > I am referring to
    > http://docutils.sourceforge.net/docs/user/rst/quickref.html to
   understand
    > about how to restructure this line
    >
    > mysql > grant replication slave on *.* to 'replication'@10.0.0.2
   <mailto:replication%27@10.0.0.2> identified

    > by 'slave';
    >
    > I did \ mysql> grant replication slave on \ *.* \ to
    > 'replication'@10.10.50.42 <mailto:replication%27@10.10.50.42>

   identified by 'slave';\
    >
    > it didnot worked for me
    >
    > Any clue

   That depends on what exactly you trying to do. If that's a computer
   command, use a literal block:

      Like this::

          mysql > grant replication slave on *.* ...

   Or use an inline literal, like this: ``mysql > grant replication slave
   on *.* ...``

   If you just want to escape the occasional markup, use backslashes, but
   no spaces after, like this: mysql> grant replication slave on \*.* ...

   Be very careful not to add spaces where they aren't necessary.

   --
   David Goodger <http://python.net/~goodger
   <http://python.net/%7Egoodger>>



Hi

Thanks David

How can i handle the below command status

mysql> show slave status\G
*************************** 1. row ***************************
            Slave_IO_State: Waiting for master to send event
...

Same thing: use a literal block.

Please address any further questions to the mailing list (docutils-users).

David



Hi

I did

::

 mysql> show slave status\G
*************************** 1. row ***************************
             Slave_IO_State: Waiting for master to send event
                Master_Host: 10.0.0.1
                Master_User: replication
                Master_Port: 3306
              Connect_Retry: 60
            Master_Log_File: mysqld-bin.000006
        Read_Master_Log_Pos: 359455147
             Relay_Log_File: mysqld-relay-bin.000033
              Relay_Log_Pos: 236
      Relay_Master_Log_File: mysqld-bin.000006
           Slave_IO_Running: Yes
          Slave_SQL_Running: Yes
            Replicate_Do_DB:
        Replicate_Ignore_DB:
         Replicate_Do_Table:
     Replicate_Ignore_Table:
    Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
                 Last_Errno: 0
                 Last_Error:
               Skip_Counter: 0
        Exec_Master_Log_Pos: 359455147
            Relay_Log_Space: 236
            Until_Condition: None
             Until_Log_File:
              Until_Log_Pos: 0
         Master_SSL_Allowed: No
         Master_SSL_CA_File:
         Master_SSL_CA_Path:
            Master_SSL_Cert:
          Master_SSL_Cipher:
             Master_SSL_Key:
      Seconds_Behind_Master: 0
1 row in set (0.00 sec)
mysql>

I am getting

C:\>docutils\tools\rst2html.py mysqlmasslavdocs.txt mysqlkrs.html
mysqlmasslavdocs.txt:95: (WARNING/2) Literal block ends without a blank line; u
expected unindent.
mysqlmasslavdocs.txt:100: (WARNING/2) Block quote ends without a blank line; un
xpected unindent.
mysqlmasslavdocs.txt:101: (WARNING/2) Block quote ends without a blank line; un
xpected unindent.
mysqlmasslavdocs.txt:102: (WARNING/2) Block quote ends without a blank line; un
xpected unindent.
mysqlmasslavdocs.txt:105: (WARNING/2) Block quote ends without a blank line; un
xpected unindent.
mysqlmasslavdocs.txt:107: (WARNING/2) Block quote ends without a blank line; un
xpected unindent.
mysqlmasslavdocs.txt:109: (WARNING/2) Block quote ends without a blank line; un
xpected unindent.
mysqlmasslavdocs.txt:111: (WARNING/2) Block quote ends without a blank line; un
xpected unindent.
mysqlmasslavdocs.txt:112: (WARNING/2) Block quote ends without a blank line; un
xpected unindent.
mysqlmasslavdocs.txt:116: (WARNING/2) Block quote ends without a blank line; un
xpected unindent.
mysqlmasslavdocs.txt:117: (WARNING/2) Block quote ends without a blank line; un
xpected unindent.
mysqlmasslavdocs.txt:120: (ERROR/3) Unexpected indentation.
mysqlmasslavdocs.txt:122: (WARNING/2) Block quote ends without a blank line; un
xpected unindent.
mysqlmasslavdocs.txt:125: (ERROR/3) Unexpected indentation.
mysqlmasslavdocs.txt:126: (WARNING/2) Block quote ends without a blank line; un
xpected unindent.
mysqlmasslavdocs.txt:128: (WARNING/2) Block quote ends without a blank line; un
xpected unindent.
mysqlmasslavdocs.txt:129: (WARNING/2) Definition list ends without a blank line
 unexpected unindent.

C:\>

I am sure I am doing wrong. what i am missing

Thanks and Regards

Kaushal