Re: cannot connect remotely on 3306

2014-04-12 Thread nicu
solved.. firewall was up:) it had 3 profiles and i had just set it off on one of them Trimis de pe iPhone-ul meu Pe 12.04.2014, la 17:48, Reindl Harald a scris: > > Am 12.04.2014 16:37, schrieb Nicolae Marasoiu: >> I removed Firewall on the win7 server, I set the server in Home network, >> an

Compilation problems.

2001-05-25 Thread Nicu Popovici
Hello Gurus, I am trying to write a C client for a mysql server and I compile the example with the following line gcc -g Bug_Report.c -o test.o -I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient -lnsl -lsocket but I get the following linking errors /home/nicu/QA/Bug_Report.c:7: undefined

Re: Compilation problems.

2001-05-26 Thread Nicu Popovici
that it encounters in my file. I guess that is something with mysql shared libraries !! Regards, Nicu Eric Fitzgerald wrote: > Does your Bug_Report.c have an #include line for the mysql headers? > - Original Message - > From: "Nicu Popovici" <[EMAIL PROTECTED]>

Re: Compilation problems.

2001-05-26 Thread Nicu Popovici
Hello Sinisa, Here it is the line with which I try to compile the program. -- [nicu@ares QA]$ gcc -g Bug_Report.c -o test.o -L/usr/lib/mysql/libmysqlclient -I/usr/include/mysql -lmysqlclient -lnsl /tmp/ccGABNJr.o: In function `main': /home/nicu/QA/Bug_Report.c:7: unde

Re: Compilation problems.

2001-05-26 Thread Nicu Popovici
Hi Sinisa, I looked on the symbols from libmysqlclient.a and indeed there is no mysql_init or mysql_real_connect there . There are mysql_kill and some other functions but the first two there are not. Regards, Nicu Sinisa Milivojevic wrote: > Nicu Popovici writes: > > H

Re: Compilation problems.

2001-05-26 Thread Nicu Popovici
this MySQL server [nicu@ares QA]$ Any ideea why or where to look for an answer ? Regards, Nicu - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list ar

Re: Compilation problems.

2001-05-26 Thread Nicu Popovici
p a new user on the test database and I want to connect to that database from ares.main.ro ? Thanks you for your time, Regards, Nicu > Nicu Popovici writes: > > Hello Gurus, > > > > I managed to compile and link my sample file substituting mysql_init() with > > my

Re: Compilation problems.

2001-05-26 Thread Nicu Popovici
Hi Sinisa, I get another error now. It seems that I managed to pass by that error. Here it is what I get now: -- Failed to connect to database! Error Protocol mismatch. Server Version = 10 Client Version = 9 ; -- What shall I do ? Regards, Nicu Sinisa

Re: Compilation problems.

2001-05-26 Thread Nicu Popovici
`_VARARGS' /usr/include/mysql/m_string.h:174: parse error before `_VARARGS' /usr/include/mysql/m_string.h:209: parse error before `value' /usr/include/mysql/m_string.h:93: warning: array `_dig_vec' assumed to have one element ---- Maybe you have some ide

Re: Compilation problems.

2001-05-28 Thread Nicu Popovici
Hello, I took out the m_string.h file from include directive and I get the following error gcc -g Bug_Report.c -O -o TEST1 -I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient -lnsl /tmp/ccWyxVrf.o: In function `main': /home/nicu/QA/Bug_Report.c:15: undefined referen

Re: Compilation problems.

2001-05-28 Thread Nicu Popovici
have to do "use my_data_base" first or not ? Regards, Nicu - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this th