• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Connecting to a lynux mySQL database remotely

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Connecting to a lynux mySQL database remotely

    Anyone have any mySQL administration skills and could help me out with this? I have set up a mySQL DB on ubuntu and want to access it remotely with query browser from my windows machine.

    So I set up grants on the DB like so..

    GRANT ALL privileges ON *.* TO [email protected] ;

    but I am still getting access error 1045.

    I even try..

    GRANT ALL ON *.* TO '%'@'%' ;

    Which I think gives everyone everything but still get the same error.

    Can anyone see what the problem is?

    Thanks

    #2
    lynux?

    Comment


      #3
      Originally posted by DimPrawn View Post
      lynux?
      Oops.

      Anyway got it..

      GRANT ALL ON *.* to 'root'@'192.168.1.66' IDENTIFIED BY 'password' ;

      Comment


        #4
        flush privileges;
        And the lord said unto John; "come forth and receive eternal life." But John came fifth and won a toaster.

        Comment


          #5
          I suggest either:

          http://www.navicat.com/en/products/n..._overview.html

          or

          http://www.phpmyadmin.net/home_page/index.php

          depending on your budget

          Comment


            #6
            Originally posted by minestrone View Post
            Oops.

            Anyway got it..

            GRANT ALL ON *.* to 'root'@'192.168.1.66' IDENTIFIED BY 'password' ;
            Yup, that's FTW - I nearly drove myself mad recently by forgetting that "IDENTIFIED BY" bit

            Comment


              #7
              Lot's of stuff devoted to this scenario in the reference manual for mysql, if you fancy a bedtime read

              http://dev.mysql.com/doc/refman/5.1/...ss-denied.html
              Speaking gibberish on internet talkboards since last Michaelmas. Plus here on Twitter

              Comment

              Working...
              X