Advertisement
Guest User

Untitled

a guest
May 18th, 2016
703
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. > mysql
  2.  
  3. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
  4.  
  5. > mysql -u root -h 127.0.0.1 -p
  6. Enter password:
  7. Welcome to the MySQL monitor. Commands end with ; or g.
  8. Your MySQL connection id is 3
  9. Server version: 5.7.12 MySQL Community Server (GPL)
  10.  
  11. Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
  12.  
  13. Oracle is a registered trademark of Oracle Corporation and/or its
  14. affiliates. Other names may be trademarks of their respective
  15. owners.
  16.  
  17. Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
  18.  
  19. mysql>
  20.  
  21. > apachectl -v
  22. Server version: Apache/2.4.18 (Unix)
  23. Server built: Feb 20 2016 20:03:19
  24.  
  25. > php -v
  26. PHP 7.0.6 (cli) (built: Apr 29 2016 04:21:39) ( NTS )
  27. Copyright (c) 1997-2016 The PHP Group
  28. Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
  29. with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
  30. with Xdebug v2.4.0, Copyright (c) 2002-2016, by Derick Rethans
  31.  
  32. mysql Ver 14.14 Distrib 5.7.12, for osx10.11 (x86_64) using EditLine wrapper
  33.  
  34. Connection id: 4
  35. Current database:
  36. Current user: root@localhost
  37. SSL: Not in use
  38. Current pager: less
  39. Using outfile: ''
  40. Using delimiter: ;
  41. Server version: 5.7.12 MySQL Community Server (GPL)
  42. Protocol version: 10
  43. Connection: 127.0.0.1 via TCP/IP
  44. Server characterset: latin1
  45. Db characterset: latin1
  46. Client characterset: utf8
  47. Conn. characterset: utf8
  48. TCP port: 3306
  49. Uptime: 1 day 3 hours 28 min 19 sec
  50.  
  51. Threads: 1 Questions: 9 Slow queries: 0 Opens: 105 Flush tables: 1 Open tables: 98 Queries per second avg: 0.000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement