• 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.

Internal error: [unixODBC][Driver Manager]Data source name not found, and no default

JLChafardet

Regular Pleskian
Os: CentOS release 5.8 (Final)
Arch: x64
Plesk Version: 11.0.9
Quote:
rpm -qa | grep -i odbc
unixODBC-devel-2.2.11-10.el5
unixODBC-libs-2.2.11-10.el5
mysql-connector-odbc-3.51.26r1127-2.el5
unixODBC-2.2.11-10.el5
error:
Error

Internal error: [unixODBC][Driver Manager]Data source name not found, and no default driver specified

Message [unixODBC][Driver Manager]Data source name not found, and no default driver specified
File aps_php.php
Line 7536
Type Exception
 
Thanks for your insight, but no, that doesn't fix it, already tried it.

I've tried several stuff related to unixDBC from the forums, no luck so far.
 
Make sure that you have correct /etc/odbcinst.ini file. For instance on my test Plesk server:

# cat /etc/odbcinst.ini
# Example driver definitions

# See /usr/share/doc/unixODBC*/README.64bit for more information


# Use these definitions with the original unixODBC package

# Driver from the postgresql-odbc package
# Setup from the unixODBC-libs package
[PostgreSQL]
Description = ODBC for PostgreSQL
Driver = /usr/lib/psqlodbc.so
Setup = /usr/lib/libodbcpsqlS.so
Driver64 = /usr/lib64/psqlodbc.so
Setup64 = /usr/lib64/libodbcpsqlS.so
FileUsage = 1


# Driver from the mysql-connector-odbc package
# Setup from the unixODBC-libs package
[PostgreSQL64]
Description = ODBC for PostgreSQL (64 bit)
Driver = /usr/lib/psqlodbcw.so
Setup = /usr/lib/libodbcpsqlS64.so
Driver64 = /usr/lib64/psqlodbcw.so
Setup64 = /usr/lib64/libodbcpsqlS64.so
FileUsage = 1


# Driver from the mysql-connector-odbc64 package
# Setup from the unixODBC64-libs package
[MySQL64]
Description = ODBC for MySQL (64 bit)
Driver = /usr/lib/libmyodbc5.so
Setup = /usr/lib/libodbcmyS64.so
Driver64 = /usr/lib64/libmyodbc5.so
Setup64 = /usr/lib64/libodbcmyS64.so
FileUsage = 1
[MySQL]
Description = MySQL driver for Plesk
Driver = /usr/lib/libmyodbc3.so
Setup =
FileUsage = 1
Driver64 =
Setup64 =
UsageCount = 1
 
Yeah it does look the same, the files exist, the paths are right!

it just doesnt work.

Error

Internal error: [unixODBC][Driver Manager]Data source name not found, and no default driver specified

Message [unixODBC][Driver Manager]Data source name not found, and no default driver specified File aps_php.php Line 7536 Type Exception





I keep getting that message.

cat /etc/odbcinst.ini
# Example driver definitions

# See /usr/share/doc/unixODBC*/README.64bit for more information

# Use these definitions with the original unixODBC package

# Driver from the postgresql-odbc package
# Setup from the unixODBC package
[PostgreSQL]
Description = ODBC for PostgreSQL
Driver = /usr/lib/psqlodbc.so
Setup = /usr/lib/libodbcpsqlS.so
Driver64 = /usr/lib64/psqlodbc.so
Setup64 = /usr/lib64/libodbcpsqlS.so
FileUsage = 1


# Driver from the mysql-connector-odbc package
# Setup from the unixODBC package
[MySQL]
Description = MySQL driver for Plesk
Driver = /usr/lib64/libmyodbc3.so
Setup =
FileUsage = 1
Driver64 =
Setup64 =
UsageCount = 1
 
Last edited:
But you haven't mysql-connector-odbc section there.
 
IgorG,

I dont seem to be able to find a suitable solution

the content (proven that the files really exist) of /etc/odbcinst.ini

looks lke this

root@tb009 ~]# cat /etc/odbcinst.ini
# cat /etc/odbcinst.ini
# Example driver definitions

# See /usr/share/doc/unixODBC*/README.64bit for more information


# Use these definitions with the original unixODBC package

# Driver from the mysql-connector-odbc64 package
# Setup from the unixODBC64-libs package
[MySQL64]
Description = ODBC for MySQL (64 bit)
Driver = /usr/lib64/libmyodbc5.so
Setup = /usr/lib64/libodbcmyS64.so
Driver64 = /usr/lib64/libmyodbc5.so
Setup64 = /usr/lib64/libodbcmyS64.so
FileUsage = 1
[MySQL]
Description = MySQL driver for Plesk
Driver = /usr/lib64/libmyodbc3.so
Setup =
FileUsage = 1
Driver64 =
Setup64 =
UsageCount = 1

still get the same exact error, i have no clue what to do right now, i cant use the app vault at all.
 
Make sure that SELinux is not in Permissive mode. Check that drivers /usr/lib64/libmyodbc5.so and /usr/lib64/libmyodbc3.so are really exists.
 
Back
Top