| | 1 | Back to [wiki:IPP_Installation IPP installation] page |
| | 2 | |
| | 3 | = libmysqlclient Install = |
| | 4 | |
| | 5 | It 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 | {{{ |
| | 7 | ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) |
| | 8 | }}} |
| | 9 | You need to edit and change the psconfig/tagsets/ipp-3.0.libs configuration libmysql related entry. The current value: |
| | 10 | {{{ |
| | 11 | [...] |
| | 12 | 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 |
| | 13 | [...] |
| | 14 | }}} |
| | 15 | should be replaced by: |
| | 16 | {{{ |
| | 17 | [...] |
| | 18 | 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 |
| | 19 | [...] |
| | 20 | }}} |
| | 21 | The {{{<path_to_your_socket>}}} value can be found in the mysql server configuration file (usually {{{/etc/mysql/my.cnf}}}): |
| | 22 | {{{ |
| | 23 | [...] |
| | 24 | socket = /arbitrary/path/to/mysqld.sock |
| | 25 | [...] |
| | 26 | }}} |