Hello,

It doesn't look like it is in the docs that I could find, but checking in the 
src there is a `conf->db_config.socket[0] = '\0';` in listmgr_config.c. Did it 
fail to just set the preferred path to the socket in the MySQL block under 
ListManager?

Thanks,
-- 
Philip Curtis
HPC Linux Systems Engineer
National Center for Computational Science
Oak Ridge National Laboratory
curti...@ornl.gov
865-574-8980


The 2020-03-26 10:40, David Simpson wrote:
> Have now solved both problems.
> 
> Have used a symlink for the socket file, but would be interested to know if 
> it's possible to supply the path in the config.
> 
> regards
> David
> 
> -------------
> David Simpson - Senior Systems Engineer
> ARCCA, Redwood Building,
> King Edward VII Avenue,
> Cardiff, CF10 3NB
> 
> David Simpson - peiriannydd uwch systemau
> ARCCA, Adeilad Redwood,
> King Edward VII Avenue,
> Caerdydd, CF10 3NB
> 
> simpso...@cardiff.ac.uk
> +44 29208 74657
> 
> From: David Simpson
> Sent: 25 March 2020 17:03
> To: robinhood-supp...@lists.sf.net
> Subject: mariadb/mysql socket error and config.php error
> 
> Hi,
> 
> I'm in the process of setting up robinhood. I currently see two errors in the 
> webui:
> 
> i)                    Danger! PDO Database error: SQLSTATE[HY000] [2002] 
> Can't connect to local MySQL server through socket 
> '/var/lib/mysql/mysql.sock' (2)
> 
> ii)                   Danger! You need to configure the database in 
> config.php ! Type/home/db_name or user is missing !
> 
> 
> I've moved the mariadb to a new location (not /var/lib/mysql) and this is 
> reflected in the /etc/my.cnf
> 
> The filesystem config file is:
> 
> /etc/robinhood.d/scratch.conf
> 
> Where should I specify the socket? Can it go within the ListManager, Mysql 
> block? I haven't found any documentation on this.
> Any help appreciated with ii) also.
> 
> thanks
> David
> 
> -------------
> David Simpson - Senior Systems Engineer
> ARCCA, Redwood Building,
> King Edward VII Avenue,
> Cardiff, CF10 3NB
> 
> David Simpson - peiriannydd uwch systemau
> ARCCA, Adeilad Redwood,
> King Edward VII Avenue,
> Caerdydd, CF10 3NB
> 
> simpso...@cardiff.ac.uk<mailto:simpso...@cardiff.ac.uk>
> +44 29208 74657
> 


> _______________________________________________
> robinhood-support mailing list
> robinhood-support@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/robinhood-support



_______________________________________________
robinhood-support mailing list
robinhood-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to