mailing.database.mysql-plusplus
  Home FAQ Contact Sign in
mailing.database.mysql-plusplus only
 
Advanced search
January 2007
motuwethfrsasuw
1234567 1
891011121314 2
15161718192021 3
22232425262728 4
293031     5
2007
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2007 2006    
total
mailing ... mysql-plusplus Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Re: Support for mysql++ in Fedora?         


Author: Bruce Keats
Date: Jan 19, 2007 09:22

------=_Part_128924_799098.1169227239627
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I am willing to do get it into the extras, but I am new to Fedora's
packaging guidelines. Are they documented somewhere?

If I do the work then can the mysql++ RPMs be included in the FC5, FC6, etc
releases?

As well, where do the binary RPMs come from? Do I build them or is there a
special build system that creates the binary RPMs once the source RPM is
created?

Thanks,
Bruce

On 1/18/07, Peter Gordon thecodergeek.com> wrote:
>
> On Thu, 2007-01-18 at 11:27 -0500, Bruce Keats wrote:
>> Are there any plans to add mysql++ library support in FC5, FC6 or
>> future Fedora...
Show full article (1.88Kb)
no comments
  Re: Support for mysql++ in Fedora?         


Author: Remi Collet
Date: Jan 18, 2007 22:29

Bruce Keats a
no comments
  Support for mysql++ in Fedora?         


Author: Bruce Keats
Date: Jan 18, 2007 08:30

------=_Part_115116_9005509.1169137620553
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I noticed that FC5, FC6, etc support mysql 5. There also appears to be perl
support for mysql 5.

Are there any plans to add mysql++ library support in FC5, FC6 or future
Fedora releases?

Bruce

------=_Part_115116_9005509.1169137620553--
no comments
  RE: Visual C++ Express Problems         


Author: Matt Dargavel
Date: Jan 18, 2007 08:04

VS Express doesn't come with the Windows SDK. You'll need to download a
copy from here (assuming you're on XP or Server 2003 etc):

http://www.microsoft.com/downloads/details.aspx?familyid=484269E2-3B89-47E3-
8EB7-1F2BE6D7123A&displaylang=en

This will install the missing header files for you.
> -----Original Message-----
> From: Oliver Hinken [mailto:korne@gmx.net]
> Sent: 18 January 2007 16:01
> To: plusplus@lists.mysql.com
> Subject: Visual C++ Express Problems
>
> Hallo,
>
> i tried use...
Show full article (1.75Kb)
no comments
  Using NULL with template queries         


Author: Urscheler, Roger (COM Chantry CA
Date: Jan 18, 2007 08:00

------_=_NextPart_001_01C73B19.8C936931
Content-Type: text/plain

I am using template queries and want to set a string parameter to NULL. How
do I do that?

This does not work:
query.def["col1"] = mysqlpp::null;
query.def["col1"] = NULL;

Thanks,
Roger

------_=_NextPart_001_01C73B19.8C936931--
no comments
  Visual C++ Express Problems         


Author: Oliver Hinken
Date: Jan 18, 2007 07:53

------=_NextPart_000_0009_01C73B22.4997CB00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hallo,

i tried use the mysql++ api, but i got some problems i can't solve. One =
of the problems is with header files like winsock.h, windows.h and =
win.h. They aren't come with VCE, can't find them on my system. I copied =
them from VC6 but i got some errors, redefinitons, no declared things =
aso.

I have done all what is written in der readme file which comes with =
mysql++, set folders and settings, listed there. but it didn't work. The =
only thing i can't find in VCE is managed extension i'm using VCE in =
German (cause im German). I tried to use the newest version of the 4.1 =
series but i also don't want to work.

I have written a little Intranetpage for my office in php with that =
(older version of) mysql server and now i want to rewritte it with c++. =
The examples that comes with mysql++ also don't work.
Show full article (1.26Kb)
no comments
  RE: threading was Lost connection to MySQL server during query         


Author: Jim Wallace
Date: Jan 17, 2007 09:30

I was doing the same thing, just using MySQL on the other thread, but
since MySQL++ isn't MT, you really need to use the mysql api calls to
setup threading. The online doc does a good job, but here's what I do

In main init:
UINT tsafe =3D mysql_thread_safe();=20
assert( tsafe =3D=3D 1 );

On thread:

if ( mysql_thread_init() !=3D 0 )
error=20

...

mysql_thread_end();

-----Original Message-----
From: Warren Young [mailto:mysqlpp@etr-usa.com]=20
Sent: Wednesday, January 17, 2007 12:05 PM
To: MySQL++ Mailing List
Subject: Re: Lost connection to MySQL server during query

Urscheler, Roger (COM Chantry CA) wrote:
>=20
> Does mysql++ 2.2 provide more functionallity regarding threading?=20
Show full article (1.30Kb)
no comments
  Re: Lost connection to MySQL server during query         


Author: Warren Young
Date: Jan 17, 2007 09:06

Urscheler, Roger (COM Chantry CA) wrote:
>
> Does mysql++ 2.2 provide more functionallity regarding threading?

Not really. It's all scheduled for v2.4. (Not v2.3 because that's a
release for stuff I want to get out of the way fairly quickly, which
ideally would have been in v2.2. v2.3 basically exists because I didn't
want to delay v2.2 any longer.)

no comments
  RE: Lost connection to MySQL server during query         


Author: Urscheler, Roger (COM Chantry CA
Date: Jan 17, 2007 08:53

Thanks for your reply. Yes I am interessted in your marcos.

I am not sure what you mean by init mysql. All I do is instantiate a
mysqlpp::Connection object per thread and call its connect() function. I
don't see any mysqlpp interface to initialize the thread.

I see following comment in mysql++ 2.1 whishlist:

Need some way to call mysql_thread_init() and
mysql_thread_end() per thread. Also, work in some way to
call mysql_thread_safe() automatically, perhaps the first
time through the function that calls mysql_thread_init().
If the C API library reports that it is not thread-safe,
report this to the caller, perhaps through an exception,
or simply by refusing to init more than one thread.

Does mysql++ 2.2 provide more functionallity regarding threading? According
to Bill's reply, he has the same problem with mysql++ 2.2.

Roger
Show full article (4.35Kb)
no comments
  RE: Lost connection to MySQL server during query         


Author: Jim Wallace
Date: Jan 17, 2007 08:35

Our server is set to disconnect idle sessions, so it is a 'normal'
occurrence to get this error. Ping() doesn't appear to help, so I use a
set of macros to handle exceptions and do retry. Below is how I use
them. I can send them to you if your interested.

And here's how I use them

CHECK_CONNECTION

BEGIN_TRY_SQL

.....

END_TRY_SQL( "DeletePlayer" )

As an aside, did you init mysql on each thread? (mysql_thread_init,
etc.)

-----Original Message-----
From: Urscheler, Roger (COM Chantry CA)
[mailto:roger.urscheler@siemens.com]=20
Sent: Wednesday, January 17, 2007 10:33 AM
To: Bill K
Cc: MySQL++ Mailing List
Subject: RE: Lost connection to MySQL server during query

Thanks Bill,
Show full article (3.09Kb)
no comments
1 2 3 4 5 6 7 8 9