Results 1 to 4 of 4

Thread: Can't connect to MySQL server on openSuSE 12.1

  1. #1

    Default Can't connect to MySQL server on openSuSE 12.1

    I can't seem to get mysql to work no matter what I do, even on a clean install!

    I get the following output, even after adding the mysql group to my user account:

    Code:
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
    There is no unusual or pertinent dmesg output, and according to ls, this path doesn't exist, so can somebody please tell me what on earth is going on, and how I can get this working?

  2. #2

    Default Re: Can't connect to MySQL server on openSuSE 12.1

    Never mind, I got it working.

  3. #3

    Default Re: Can't connect to MySQL server on openSuSE 12.1

    Hello,
    I had the same problem. I tried to download new installation rpm from MySQL :: Download MySQL Community Server (choose Linux-generic), uninstall current MySQL with Yast and install the downloaded packages. Then login as root and run mysqld_safe. Then the mysql runs properly.

  4. #4
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,514

    Default Re: Can't connect to MySQL server on openSuSE 12.1

    YaST>System services offers you the chance to enable mysqld which means it will always be available.

Tags for this Thread

Posting Permissions

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