Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [Andy] LSQL & Mysql5 Problem with Socket

Quote Reply
Re: [Andy] LSQL & Mysql5 Problem with Socket In reply to
The problem is that the hoster has compiled mysql with a wrong socket and/or has a wrong info in /etc/my.cnf
Because it is a managed server i could not do a symlink or anything else.
The trick to solve the thing so far is:


## New
BEGIN {
$ENV{MYSQL_UNIX_PORT}='/tmp/mysql5.sock';
};
####
use strict;


I put this to the top of setup.cgi and admin.cgi and i am still testing.
Subject Author Views Date
Thread LSQL & Mysql5 Problem with Socket Robert 5203 Jul 22, 2015, 10:31 AM
Thread Re: [Robert] LSQL & Mysql5 Problem with Socket
Andy 5116 Jul 22, 2015, 1:08 PM
Thread Re: [Andy] LSQL & Mysql5 Problem with Socket
Robert 5118 Jul 22, 2015, 1:30 PM
Thread Re: [Robert] LSQL & Mysql5 Problem with Socket
Andy 5108 Jul 23, 2015, 12:07 AM
Thread Re: [Andy] LSQL & Mysql5 Problem with Socket
Robert 4952 Sep 23, 2015, 4:20 AM
Post Re: [Robert] LSQL & Mysql5 Problem with Socket
Andy 4942 Sep 23, 2015, 4:43 AM