Project

General

Profile

Actions

Bug #15423

closed

mysql_config suggests wrong socket

Added by Marcel Telka about 1 year ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OI-Userland
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
mariadb

Description

The `mysql_config` suggests the following MariaDB/MySQL socket:

$ /usr/mariadb/10.6/bin/mysql_config --socket
/tmp/mysql.sock
$

But the actually used socket is different:
# pfiles $(pgrep -x mariadbd) | grep sock
        sockname: AF_INET6 ::  port: 3306
        sockname: AF_INET 0.0.0.0  port: 3306
        sockname: AF_UNIX /tmp/mariadb106.sock
#

This prevents some tools to automatically connect to MariaDB.

Actions #1

Updated by Marcel Telka about 1 year ago

  • Subject changed from mysql_config suggests invalid socket to mysql_config suggests wrong socket
Actions #2

Updated by Marcel Telka 3 months ago

  • Assignee deleted (OI Userland)
  • Tags set to mariadb
Actions #3

Updated by Marcel Telka 3 months ago

  • Status changed from New to In Progress
  • Assignee set to Marcel Telka
Actions #4

Updated by Marcel Telka 3 months ago

  • Status changed from In Progress to Pending RTI
Actions #5

Updated by Marcel Telka 3 months ago

  • Status changed from Pending RTI to Resolved
Actions

Also available in: Atom PDF