HP-UX AAA Server A.08.00.01 Administrator's Guide

Table 30-4 External Service Failure Problems (continued)
TroubleshootingProblem
wrong ODBCdatastore in sqlaccess.config Connecting DB
'<database>' with data source '<data source>', user
Log MessageUnable to connect
to the MySQL
database server
'<user name>'SQL_ERROR(IM002 0): [unixODBC][Driver
Manager]Data source name not found, and no default driver
specifiedSQL_ERROR(08003 0): [unixODBC][Driver
Manager]Connnection does not exist ERROR:
AAA_SQLAllocHandle(SQL_HANDLE_STMT) failed!
An incorrect ODBC datastore was specified for the MySQL
server.
Cause
Specify the correct value for ODBCDataStore in the DBID
structure of /etc/opt/aaa/sqlaccess.config.
Solution
For more information on using the SQL Access feature with
MySQL, see Chapter 22 (page 333).
Connecting DB '<database>' with data source'<data
source>', user '<user name>'SQL_ERROR(HYT00 2005):
Log Message
[unixODBC][MySQL][ODBC 3.51 Driver]Unknown MySQL
Server Host
'minolt'(0)SQL_ERROR(080030):[unixODBC][Driver
Manager]Connnection does not exist
ERROR:AAA_SQLAllocHandle(SQL_HANDLE_STMT) failed!
Failed to open database connections for db_odbc db id.
The MySQL server that the HP-UX AAA Server is trying to
connect to cannot be resolved.
Cause
Specify the correct server and port in the MySQL server
odbc.ini file. For more information on using the SQL Access
feature with MySQL, see Chapter 22 (page 333).
Solution
Connecting DB '<database>' with data source '<data
source>', user '<user name>'SQL_ERROR(HYT00 2003):
Log Message
[unixODBC][MySQL][ODBC 3.51 Driver] Can't connect to
MySQL server on 'example' (239)SQL_ERROR(08003 0):
[unixODBC][Driver Manager]Connnection does not exist
ERROR: AAA_SQLAllocHandle(SQL_HANDLE_STMT) failed!
Failed to open database connections for db_odbc db id
No instance of the MySQL server is found on the server
specified in the odbc.ini file.
Cause
Verify that an instance of the MySQL database server is
running on the server specified in the odbc.ini file.
Solution
You can also check if the correct port is listed in the odbc.ini
file.
For more information on using the SQL Access feature with
MySQL, see Chapter 22 (page 333).
482 Troubleshooting Procedures