| Version 1 (modified by , 14 years ago) ( diff ) |
|---|
Back to IPP installation page
libmysqlclient Install
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:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
You need to edit and change the psconfig/tagsets/ipp-3.0.libs configuration libmysql related entry. The current value:
[...] 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 [...]
should be replaced by:
[...] 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 [...]
The <path_to_your_socket> value can be found in the mysql server configuration file (usually /etc/mysql/my.cnf):
[...] socket = /arbitrary/path/to/mysqld.sock [...]
