| 36 | | * {{{libmysqlclient}}} |
| | 36 | * {{{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 site-dependent parameter to change if you encounter the mysql related following error: |
| | 37 | {{{ |
| | 38 | ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) |
| | 39 | }}} |
| | 40 | You need to edit and change the psconfig/tagsets/ipp-3.0.libs configuration libmysql related entry. The current value: |
| | 41 | {{{ |
| | 42 | [...] |
| | 43 | lib 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 |
| | 44 | [...] |
| | 45 | }}} |
| | 46 | should be replaced by: |
| | 47 | {{{ |
| | 48 | [...] |
| | 49 | lib libmysqlclient NONE mysql mysql-5.0.51a.tar.gz mysql-5.0.51a N --with-unix-socket-path=<path_to_your_socket> NONE NONE |
| | 50 | [...] |
| | 51 | }}} |
| | 52 | The {{{<path_to_your_socket>}}} value can be found in the mysql server configuration file (usually {{{/etc/mysql/my.cnf}}}): |
| | 53 | {{{ |
| | 54 | [...] |
| | 55 | socket = /arbitrary/path/to/mysqld.sock |
| | 56 | [...] |
| | 57 | }}} |
| | 58 | |