• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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