Lancer
Member
|
MySQL connection on Ubuntu
Im trying to do a mysql connection on my ubuntu server.
I've installed MariaDB and can connect from terminal and remote without any issue.
But Im always getting this error: : [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed
Config I use
Code:
IP=127.0.0.1
User=project
Pass=password
Database=testdb
Driver=`/usr/lib/x86_64-linux-gnu/libodbc.so`
Code:
Code:
EE::SQL m_SQL;
if (m_SQL.connectMySQL(g_pConfig->ip, g_pConfig->database, g_pConfig->user, g_pConfig->pass, &message, 0, g_pConfig->driver) == false)
{
Exit(S + "Error: " + message);
}
Server: Ubuntu 20.10
Anyone an idea how to fix this issue?
Could not find anything on google
|
|
03-06-2021 09:14 PM |
|
Houge
Member
|
RE: MySQL connection on Ubuntu
(This post was last modified: 03-07-2021 01:50 AM by Houge.)
|
|
03-07-2021 01:47 AM |
|
Esenthel
Administrator
|
RE: MySQL connection on Ubuntu
|
|
03-07-2021 03:37 AM |
|
Lancer
Member
|
RE: MySQL connection on Ubuntu
(This post was last modified: 03-07-2021 02:13 PM by Lancer.)
|
|
03-07-2021 02:11 PM |
|