mySQL II

Manousaridis Aggelos jael at pII350.home.jael.gr
Thu Apr 27 23:31:22 EEST 2000


On Thu, 27 Apr 2000 21:45:55 +0300, L.O.V.E. wrote:
>exw ayto to problima, sto programa pu akolou8ei.
>To error mesg pu mu bgazei otan to kanw compile, einai oti
>i mysql den orizetai (undefined variable).
>Egw apla pira to programma apo to manual tis mySQL , to antegrapsa kai
>to etreja. (To programa einai stin 20.4.4.4 enotita)
>
>#include <stdio.h>
>#include <stdlib.h>

#include <mysql_something_must_go_here.h>

>int main()
>{
>MYSQL *mysql;
>
>mysql_init(&mysql);
>if (!mysql_real_connect(&mysql, "localhost", NULL, NULL, "test", 0,
>NULL, 0))
> {
>  fprintf(stderr, "FAILED REAL CONNECT", mysql_error(&mysql));
> }
>
>mysql_close(&mysql);
>
>return 0;
>}
>
>opio kalo pedi, 8elei na boi8isei aytes tis agies imeres......
>8a xarw poly :)))))))))
>
>
>


-- 
"... αγαπήσας τους ιδικούς του τους εν τω κόσμω, μέχρι τέλους ηγάπησεν
αυτούς"
Ιωάννης 13:1

jael (http://www.cc.ece.ntua.gr/~amanous)

--
linux-greek-users mailing list -- http://lists.hellug.gr




More information about the Linux-greek-users mailing list