| 36 | | * [wiki:Install_libmysqlclient libmysqlclient]: 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: |
| 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 | | |
| | 36 | * [wiki:Install_libmysqlclient libmysqlclient]: Notes on {{{libmysqlclient}}} |