Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. mysql -u root -p
  2.  
  3. sudo apt-get install mysql-client-core-5.6
  4.  
  5. mysql -u root -p
  6.  
  7. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
  8.  
  9. sudo apt-get install mysql-server
  10.  
  11. Some packages could not be installed. This may mean that you have
  12. requested an impossible situation or if you are using the unstable
  13. distribution that some required packages have not yet been created
  14. or been moved out of Incoming.
  15. The following information may help to resolve the situation:
  16.  
  17. The following packages have unmet dependencies:
  18. mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
  19. E: Unable to correct problems, you have held broken packages.
  20.  
  21. sudo aptitude install mysql-server
  22.  
  23. /etc/init.d/mysql start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement