On 1/19/06, Gleb Paharenko <[EMAIL PROTECTED]> wrote:
> Hello.
>
> What doesn't work? In case you want more help please, provide the
> results you want obtain from your query and CREATE statement for you table.

Sorry for not being clear. The data is getting saved as NULL instead
of being encrypted.



> sharif islam wrote:
> > mysql> insert into ccard values(AES_ENCRYPT(123453535,'uiwuerw'),'10/2003');
> > Query OK, 1 row affected (0.00 sec)
> >
> > mysql> select * from ccard
> >     -> ;
> > +------------------+---------+
> > | crypt            | expire  |
> > +------------------+---------+
> > | )\uffff\uffff\uffff\uffff\uffff\uffff\uffff      | 10/2003 |
> > | )\uffff\uffff\uffff\uffff\uffff\uffff\uffff      | 10/2003 |
> > | )\uffff\uffff\uffff\uffff\uffff\uffff\uffff      | 10/2003 |
> > | )\uffff\uffff\uffff\uffff\uffff\uffff\uffff      | 10/2003 |
> > +------------------+---------+
> > 4 rows in set (0.00 sec)
> >
> > why doesn't this work?
>
>
> --
> For technical support contracts, goto https://order.mysql.com/?ref=ensita
> This email is sponsored by Ensita.NET http://www.ensita.net/

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to