On Monday 04 December 2006 07:15, Nishant Gupta wrote:
> Hello all
> I know its a very small thing to ask, but since am kinda stuck over this,
> plz consider this is as imp.
> Kindly let me know which header file do we need to include in order to use
> NOW( ) fn while using MySQL in C/C++.
>
> Than
Dear Michael,
I have found mysql.h.Yes,It is in /usr/include/mysql
My code is :
CMysql::CMysql()
: CCore()
{
MySQL *x;
mysql_connect(x,"127.0.0.1","root","");
}//end of CMysql constructor
& My Makefile is :
INCS=-I'/usr/include/mysql'
#LIBS=-L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm
#
Depnding on how your mysql was installed, you should have mysql.h on
your system somewhere; perhaps in /usr/include/mysql or elsewhere
depending on installation parameters.. If not, you can download
libraries and headers appropriate to your system version from
http://dev.mysql.com/downloads/
On
dear member,
My problem is name of those.When i wish to apply a function,I don't know name
of that's header file.I need to a document for it.
--Mohsen
On Thursday 10 February 2005 02:06, Logan, David (SST - Adelaide) wrote:
> Hi Mohsen,
>
> If you install the client libraries from http://www.mys
Hi Mohsen,
If you install the client libraries from http://www.mysql.com for the
version you wish, this will install the header files in the
mysql/include directory.
Regards
David Logan
Database Administrator
HP Managed Services
148 Frome Street,
Adelaide 5000
Australia
+61 8 8408 4273 - Work
+