IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of Install_libmysqlclient


Ignore:
Timestamp:
Jun 29, 2012, 9:12:22 AM (14 years ago)
Author:
Serge CHASTEL
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Install_libmysqlclient

    v1 v1  
     1Back to [wiki:IPP_Installation IPP installation] page
     2
     3= libmysqlclient Install =
     4
     5It is advised to install your system dependent (e.g. with sudo apt-get install libmysqlclient). If the {{{libmysqlclient}}} library is not installed on your system, the IPP installation script will install it for you. However there might be a parameter to change if you encounter the mysql related following error when you start the mysql client:
     6{{{
     7ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
     8}}}
     9You need to edit and change the psconfig/tagsets/ipp-3.0.libs configuration libmysql related entry. The current value:
     10{{{
     11[...]
     12lib libmysqlclient       NONE           mysql  mysql-5.0.51a.tar.gz     mysql-5.0.51a    N --with-unix-socket-path=/var/run/mysqld/mysqld.sock NONE NONE
     13[...]
     14}}}
     15should be replaced by:
     16{{{
     17[...]
     18lib libmysqlclient       NONE           mysql  mysql-5.0.51a.tar.gz     mysql-5.0.51a    N --with-unix-socket-path=<path_to_your_socket> NONE NONE
     19[...]
     20}}}
     21The {{{<path_to_your_socket>}}} value can be found in the mysql server configuration file (usually {{{/etc/mysql/my.cnf}}}):
     22{{{
     23[...]
     24socket                                          = /arbitrary/path/to/mysqld.sock
     25[...]
     26}}}