Server connection failure

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

    #1

    Server connection failure

    I am trying to connect to a server hosting a MySQL database called
    "BusinessMi nd" using the Query Browser. I keep getting the following
    message listed below. Do I have to somehow register my client machine
    with MySQL in order to make a connection across a network?



    MySQL Query Brower Error:

    MySQL Error Number 1045

    Access denied for user: 'BusinessMind@M ANUF1' (Using password: Yes)





    The server name and password are correct and the network connection is good.



    Any ideas?



    Thx

    David J




  • Malcolm Dew-Jones

    #2
    Re: Server connection failure

    DJJ (gemdjj@writme. com) wrote:
    : I am trying to connect to a server hosting a MySQL database called
    : "BusinessMi nd" using the Query Browser. I keep getting the following
    : message listed below. Do I have to somehow register my client machine
    : with MySQL in order to make a connection across a network?

    mysql will happily allow any host to login - as long as the login
    permissions are defined to allow that.

    So, you don't exactly have to "register" your PC with mysql, but you do
    have to use the appropriate grants to allow it. Those grants are defined
    by an admin on the mysql server. They can easily allow any host to login
    by using the correct syntax, but unless they use that syntax, mysql won't
    let it happen.

    The syntax is part of the GRANT command, I don't have a known correct
    example so I won't show it here. The grant command has to be run by
    someone already able to login to the mysql server using a mysql account
    with the appropriate mysql privileges. (i.e. privileged host accounts such
    as "root" do not necessarily have the necessary mysql privileges.)



    --

    This space not for rent.

    Comment

    • DJJ

      #3
      Re: Server connection failure

      I have administrator rights to the MySql server and I've created the
      following script to grant permissions to my clinet machine using the query
      brower:

      USE MySQL
      GRANT ALL ON businessmind.* TO MyUserName@MyCo mputer IDENTIFIED BY
      'MyPassword'

      but I still get a syntax error

      "DJJ" <gemdjj@writme. com> wrote in message
      news:ymMle.2240 $uu.1151@newssv r33.news.prodig y.com...[color=blue]
      > I am trying to connect to a server hosting a MySQL database called
      > "BusinessMi nd" using the Query Browser. I keep getting the following
      > message listed below. Do I have to somehow register my client machine
      > with MySQL in order to make a connection across a network?
      >
      >
      >
      > MySQL Query Brower Error:
      >
      > MySQL Error Number 1045
      >
      > Access denied for user: 'BusinessMind@M ANUF1' (Using password: Yes)
      >
      >
      >
      >
      >
      > The server name and password are correct and the network connection is[/color]
      good.[color=blue]
      >
      >
      >
      > Any ideas?
      >
      >
      >
      > Thx
      >
      > David J
      >
      >
      >
      >[/color]


      Comment

      • Bill Karwin

        #4
        Re: Server connection failure

        DJJ wrote:[color=blue]
        > USE MySQL
        > GRANT ALL ON businessmind.* TO MyUserName@MyCo mputer IDENTIFIED BY
        > 'MyPassword'
        >
        > but I still get a syntax error[/color]

        Try putting the username and hostname in quotes:

        GRANT ALL ON businessmind.* TO 'MyUserName'@'M yComputer' IDENTIFIED BY
        'MyPassword'

        Regards,
        Bill K.

        Comment

        • DJJ

          #5
          Re: Server connection failure

          Thanks, turns out all I needed to do was setup a new user name and password
          for myself using the MySQL Administrator on the server itself.

          David J

          "Bill Karwin" <bill@karwin.co m> wrote in message
          news:d7a73h01le 1@enews1.newsgu y.com...[color=blue]
          > DJJ wrote:[color=green]
          > > USE MySQL
          > > GRANT ALL ON businessmind.* TO MyUserName@MyCo mputer IDENTIFIED BY
          > > 'MyPassword'
          > >
          > > but I still get a syntax error[/color]
          >
          > Try putting the username and hostname in quotes:
          >
          > GRANT ALL ON businessmind.* TO 'MyUserName'@'M yComputer' IDENTIFIED BY
          > 'MyPassword'
          >
          > Regards,
          > Bill K.[/color]


          Comment

          Working...