compiled mysql with openssl support under win98se

compiled mysql with openssl support under win98se

am 23.06.2005 10:26:24 von hormuzd irani

nivi (Niveditha Arunachalam)

u will need vc++6

first compile the openssl library by following instructions in install.w32
file

load mysql project in vc++

then

1 include the 2 openssl library files libeay32.lib and ssleay32.lib in
the project

2 add HAVE_OPENSSL definition to the existing ones (to all projects)

3 add file: des_key_file.cpp to mysqld project

4 make following change in des_key_file.cpp

replace: include by: include "mysql_priv.h"


hormuzd irani
hormuzdirani@hotmail.com

____________________________________________________________ _____
Test Your Memory and Win Amazing Prizes!
http://adfarm.mediaplex.com/ad/ck/4686-26272-10936-429?ck=Br ainTeaser DVD
Players, Digicams & more!


--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org

MySQL Parameter with MySQL .NET connector

am 23.06.2005 12:53:18 von Greg Quinn

Why is no value being inserted into my table when using the MySQL Parameter?

sql = "insert into roles (rolename) ";
sql += "VALUES (@rolename)";

MySqlCommand objCommand = new MySqlCommand(sql, objConnection);
objCommand.Parameters.Add(new MySqlParameter("@rolename", txtName));

???

The value txtName I have checked and defniately has a value???

--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org

Re: MySQL Parameter with MySQL .NET connector

am 23.06.2005 13:10:30 von Greg Quinn

Don't worry, I eventually found one uses a ? instead of a @

----- Original Message -----
From: "Greg Quinn"
To:
Sent: Thursday, June 23, 2005 12:53 PM
Subject: MySQL Parameter with MySQL .NET connector


> Why is no value being inserted into my table when using the MySQL
> Parameter?
>
> sql = "insert into roles (rolename) ";
> sql += "VALUES (@rolename)";
>
> MySqlCommand objCommand = new MySqlCommand(sql, objConnection);
> objCommand.Parameters.Add(new MySqlParameter("@rolename", txtName));
>
> ???
>
> The value txtName I have checked and defniately has a value???
>
> --
> MySQL Windows Mailing List
> For list archives: http://lists.mysql.com/win32
> To unsubscribe: http://lists.mysql.com/win32?unsub=greg@i-online.co.za
>


--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org

RE: MySQL Parameter with MySQL .NET connector

am 23.06.2005 15:46:52 von Reggie Burnett

Early versions of the connector used @ but we switched to the ? Symbol since
@varname is special to MySQL. If you have a lot of code that uses @, you
can add oldsyntax=yes to your connection string and still use the @ syntax.

> -----Original Message-----
> From: Greg Quinn [mailto:greg@officium.co.za]
> Sent: Thursday, June 23, 2005 6:11 AM
> To: win32@lists.mysql.com
> Subject: Re: MySQL Parameter with MySQL .NET connector
>
> Don't worry, I eventually found one uses a ? instead of a @
>
> ----- Original Message -----
> From: "Greg Quinn"
> To:
> Sent: Thursday, June 23, 2005 12:53 PM
> Subject: MySQL Parameter with MySQL .NET connector
>
>
> > Why is no value being inserted into my table when using the MySQL
> > Parameter?
> >
> > sql = "insert into roles (rolename) ";
> > sql += "VALUES (@rolename)";
> >
> > MySqlCommand objCommand = new MySqlCommand(sql, objConnection);
> > objCommand.Parameters.Add(new MySqlParameter("@rolename", txtName));
> >
> > ???
> >
> > The value txtName I have checked and defniately has a value???
> >
> > --
> > MySQL Windows Mailing List
> > For list archives: http://lists.mysql.com/win32
> > To unsubscribe:
> http://lists.mysql.com/win32?unsub=greg@i-online.co.za
> >
>
>
> --
> MySQL Windows Mailing List
> For list archives: http://lists.mysql.com/win32
> To unsubscribe: http://lists.mysql.com/win32?unsub=rykr@comcast.net
>
>


--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org