Results 1 to 2 of 2

Thread: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.soc

  1. #1

    Default ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.soc

    2 day old install of 11.3; I installed MYSQL from yast2; 12 items relating to MYSQL are shown as installed; on a command line (as root) I get "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.soc" when I type MYSQL.

    Another problem ; Apache is installed and running, but my install of PHP from Yast has been troubled, and very much unlike what I read here : "http://www.novell.com/coolsolutions/feature/595.html" ; a web page with phpinfo() shows nothing; do I have to do another manual config of LAMP ? If so where's a good current page of what to modify ? (was really looking to avoid that again !)

  2. #2
    Join Date
    Jun 2008
    Location
    /dev/swat
    Posts
    1,181

    Default Re: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.soc

    Welcome to openSUSE forum.

    Maybe it's a silly question, did you start the services like Apache and MySQL.
    service apache2 start
    service mysql start
    Good luck!
    Linux[openSUSE, KDE], PHP, MySQL, Wordpress, Tech News, etc :
    http://anl4u.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •