mysql db replication

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alexandre Jaquet

    #1

    mysql db replication

    Hi I'm trying to replicate a database to a server.

    from the server I try :

    mysqldump -h remote_host --opt --compress eslsl -u dbmaster -p \ mysql eslsl
    Enter password:
    mysqldump: Got error: 2003: Can't connect to MySQL server on
    'remote_host' (60) when trying to connect

    I'm sure from the remote host name / ip but still can't connect from
    another machine.

    Does someone see what's going on. Is that a permission trouble ?

    Thanks in advance.
  • Alexandre Jaquet

    #2
    Re: mysql db replication

    Alexandre Jaquet a écrit :[color=blue]
    > Hi I'm trying to replicate a database to a server.
    >
    > from the server I try :
    >
    > mysqldump -h remote_host --opt --compress eslsl -u dbmaster -p \ mysql
    > eslsl
    > Enter password:
    > mysqldump: Got error: 2003: Can't connect to MySQL server on
    > 'remote_host' (60) when trying to connect
    >
    > I'm sure from the remote host name / ip but still can't connect from
    > another machine.
    >
    > Does someone see what's going on. Is that a permission trouble ?
    >
    > Thanks in advance.[/color]


    I can^'t understand. I can access mysql server trough phpmyadmin (under
    https) but not by command line :(

    Comment

    • Good Man

      #3
      Re: mysql db replication

      Alexandre Jaquet <alexj@floor.ch > wrote in
      news:d0k3ee$8ed $1@news.hispeed .ch:
      [color=blue]
      > Hi I'm trying to replicate a database to a server.
      >
      > from the server I try :
      >
      > mysqldump -h remote_host --opt --compress eslsl -u dbmaster -p \ mysql
      > eslsl Enter password:
      > mysqldump: Got error: 2003: Can't connect to MySQL server on
      > 'remote_host' (60) when trying to connect
      >
      > I'm sure from the remote host name / ip but still can't connect from
      > another machine.[/color]

      it is quite likely that whoever admins your database does not allow non-
      local connections to the database.

      Comment

      Working...