mysql - LAMP Stack Setup on Ubuntu: What is 'localhost'? -


i'm total newbie world of web development. trying setup wordpress.org on ubuntu.

the tutorial page here instructs:

sql> grant on wordpress.* 'wordpressuser'@'localhost' identified 'password'; 

my computer name "a"(static hostname). should replace localhost above or local host work?

localhost domain name resolves 127.0.0.1 special ipv4 address tells link layer trying connect own computer.

this useful testing softwares work on internet.


when using localhost address, latest mysql releases use unix-domain-socket doesn't use underlying network protocol communication takes place in os kernel itself.


bonus

  • not 172.0.0.1 127.0.0.1 through 127.255.255.254 loops-back packets machine.
  • for ipv6: localhost resolves ::1.

Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -