Results 1 to 4 of 4

Thread: Mysql CLI gone in Bitrock open source 4.5.0?

  1. #1
    laserted is offline Member
    Join Date
    Jun 2006
    Location
    FL
    Posts
    7

    Default Mysql CLI gone in Bitrock open source 4.5.0?

    Ok, could be a newbie issue, but I can no longer get the mysql CLI to connect to the Sugar database - I used the Bitrock installer (complete with the LAMP stack) to start a new machine that I'm also attempting to install ZuckerDocs onto (I do so love that add-in!). Unfortunately, when I try to open a mysql prompt, it states: "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)" Of course, since I can't run SQL scripts, I can't create the tables, and thus the remainder of the Zuckerdocs installation fails. I'm doing this all with root priviledges. Is there another connection that must be made? Firewall is off, hosts tables lookup correctly.....no weird routing or forwarding going on here...

    Thoughts?

    Ted.

  2. #2
    prismusa is offline Sugar Community Member
    Join Date
    Aug 2006
    Posts
    10

    Default Re: Mysql CLI gone in Bitrock open source 4.5.0?

    I've got the same problem.

    Installed OpenSuse 10.1 fresh.
    Downloaded the 4.5.0d Bitrock install of the rest of the LAMP stack.
    Trying to restore a mysqldump from another machine but CLI returns same error.

    Somebody help?

  3. #3
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: Mysql CLI gone in Bitrock open source 4.5.0?

    First is mysql service running second where is mysql.sock located. if it is not in the default location you must set that in php.ini to the correct location. you can find its location in my.cnf file for mysql.
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  4. #4
    laserted is offline Member
    Join Date
    Jun 2006
    Location
    FL
    Posts
    7

    Default Re: Mysql CLI gone in Bitrock open source 4.5.0?

    Ok, first - Sugar does run fine, so wouldn't that preclude that the sockets paths are ok? Anyways, my.cnf states that mysql.sock is located at /var/lib/mysql/mysql.sock
    /etc/php.ini has no entries for mysql.default_port, mysql.default_socket, mysql.default_host, mysql.default_user, mysql.defualt_password, and safe_mode = Off.

    How much needs to get changed, and aside from the socket patch, what is that information going to be?

    Thanks,

    Ted.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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