unix_socket=OFF | Installation of a new cPanel with MariaDB 10.5

nadav123

Well-Known Member
Mar 2, 2020
93
8
8
Orlando, FL
cPanel Access Level
Root Administrator
Hello, how are you?
I notice the upgrade of Maria DB 10.5 creates a rule to turn off the UNIX sockets plugin inside.

The same thing is with MySQL 5.7 on a new installation:
symbolic-links=0


BUT MARIADB SUPPORT THAT,
usually, the recommendation is to remove this line when you install MariaDB (symbolic-link=0)

For example:
When you install it is causes conflict with the old MySQL 5.7 and you must clean or delete my.cnf.
MariaDB creates a new my.cnf with this rule i never see:
unix_socket=OFF

I don't know how much is neccery,
but from my knowledge, all the cPanel himself works on UNIX SOCKETS...

So, i got confused,
What is recommended with cPanel and the new MariaDB 10.5?

To remove the rule? ( unix_socket=OFF )
To keep it?

I found this on the MariaDB website:

The website said it some Authentication plugins for UNIX sockets,
It is maybe critical for cPanel and MariaDB to work with all the cPanel UNIX systems.
Maybe need to remove it like symbolic_link?
Imidate after installation of MariaDB 10.5?
( and install MariaDB 10.5 again when the MY.CNF is clean from this rule? )
 
  • Like
Reactions: SaiTharun

cPanelAnthony

Administrator
Staff member
Oct 18, 2021
583
54
103
Houston, TX
cPanel Access Level
Root Administrator
Hello! It would be best if you left the unix_socket option disabled. CPanel does not utilize this functionality.


Using unix_socket means that if you are the system root user, you can log in as [email protected] without a password.
Please let me know if this helps!