• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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