Re: [Sqlrelay-discussion] trouble compiling
Brought to you by:
mused
|
From: tyju t. <jck...@ya...> - 2010-02-12 14:58:31
|
It is defined in /usr/include/mysql/mysql.h
MYSQL * STDCALL mysql_connect(MYSQL *mysql, const char *host,
const char *user, const char *passwd);
________________________________
From: Claudio Freire <kla...@gm...>
To: Discussion of topics related to SQL Relay <sql...@li...>
Sent: Fri, February 12, 2010 8:51:12 AM
Subject: Re: [Sqlrelay-discussion] trouble compiling
On Thu, Feb 11, 2010 at 9:20 PM, tyju tiui <jck...@ya...> wrote:
>mysqlconnection.C:106: error: 'mysql_connect' was not declared in this scope
>
Read the includes in /usr/include/mysql and make sure they define mysql_connect.
If not, you may have to patch sqlrelay. But I suspect the includes are missing.
|