• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Plesk 12.5 mysql 5.6 ODBC

moswak

Regular Pleskian
Plesk 12.5 latest Updates
Centos 6.8
Mysql 5.6

Hi,
i read many threads in forum and some articels in KB.

for the error Can't open lib '/usr/lib64/libmyodbc5.so' : file not found
there are two solutions, both worked

1.
edit file /etc/odbcinst.ini
replace /usr/lib64/libmyodbc5.so to /usr/lib64/libmyodbc5a.so
then
ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock

or
2.
create smylink
#cd /usr/lib64/
#ln -s libmyodbc5w.so libmyodbc5.so
and then
ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock

which is the better solution ?
 
there are two solutions, both worked
The better solution that is working correctly for you.

both worked ;) thats why i ask which one is the better way.

ok, then it is probably my decision.

I forgot ...
To keep link /tmp/mysql.sock after server restart add following string in the beginning of /etc/init.d/mysqld:
if [ ! -L /tmp/mysql.sock ]; then ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock ; fi
 
Last edited:
Back
Top