Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-9738

MariaDB Server not creating .sock file on Linux

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Incomplete
    • 10.0.23
    • N/A
    • OTHER
    • Fedora Workstation 23

    Description

      Hey guys,

      I am trying to setup a LAMP server on my computer, all is installed, but when I try to access the MariaDB using PHP, it gives me: mysqli_connect(): (HY000/2002): No such file or directory, I asked PHP and they said that is because MariaDB is not creating a mysql.sock file, I tried adding

      socket=/tmp/mysql.sock
      

      To my.cnf, but it doesn't get created, I also tried changing:

      PrivateTmp=true
      

      To false and still nothing.

      Without that file I cannot conenct to it using the computer name or localhost, instead I have to use the IP of the computer.

      What can I do?

      Thanks

      Attachments

        Activity

          People

            Unassigned Unassigned
            jfha73 Jorge F. Hernandez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.