List:General Discussion« Previous MessageNext Message »
From:Reindl Harald Date:August 31 2013 11:06pm
Subject:Re: Can't Connect Localhost
View as plain text  
first: you not answer off-list on list-repsones

Am 01.09.2013 01:00, schrieb Terry J Fundak:
> So... I guess I need to ask: Do you know that 127.0.0.1/localhost only refers to the
> machine you are on, right? 

naturally yes

> One cannot, for example, attempt to login to a remote host with that IP address or to
> go from one host to another, right?  

naturally yes

That address is 100% reserved to go to the local machine ......

yes

> unless one has some tricks going on at the port level so that is is piped to another
> host.

what do you call tricks here?
forward mysql prt 3306 of whatever host to 127.0.0.1:whatever port?

> Thus the terminal command
> mysql -h 127.0.0.1 is going to open a connect to the mysql instance on the current
> host of the terminal session.
> 
> Does that help?

you need help, not i

> Now, if what you are trying to do is to open a console session to mysql 
> and the above command doesn't work,

i ask with the error message i get

> first, I think that would be pretty unusual and/or a sysadmin has locked the instance
> 
> to respond from another host ..... that would be my guess.

why guess if you get a error message?

surely one can restrict a user to hwatever IP address
as well as localhost and 127.0.0.1 is not the same
localhost is a unix-socket, 127.0.0.1 is TCP

with "skip-name-resolve" they are handeled different

however, as said, you need *at least* to provide error messages
you get since the crystal balls of most people are defect

> terry@stripped
> 
> On Aug 31, 2013, at 15:41, Reindl Harald wrote:
> 
>>
>>
>> Am 01.09.2013 00:26, schrieb John Smith:
>>> How do I change my connection from localhost to 127.0.0.1 on a Win8 machine?
>>
>> in which context?
>>
>> mysql -h 127.0.0.1..................


Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Thread
Can't Connect LocalhostJohn Smith31 Aug
  • Re: Can't Connect LocalhostReindl Harald31 Aug
  • Re: Can't Connect LocalhostTerry J Fundak1 Sep
    • Re: Can't Connect LocalhostJohn Smith1 Sep
      • Re: Can't Connect LocalhostReindl Harald1 Sep
        • Re: Can't Connect LocalhostJohn Smith1 Sep
          • Re: Can't Connect LocalhostReindl Harald1 Sep
            • Re: Can't Connect LocalhostJohn Smith2 Sep
              • Re: Can't Connect Localhostshawn green3 Sep
              • Re: Can't Connect Localhosthsv3 Sep
      • Re: Can't Connect LocalhostHoward Hart1 Sep
Re: Can't Connect LocalhostReindl Harald31 Aug
Re: Can't Connect LocalhostReindl Harald31 Aug