10 messages in com.mysql.lists.javaMAY DAY! MAY DAY!! Clarify :datatype ...
FromSent OnAttachments
Mehdi Ali Khan22 Dec 1999 03:44 
Willy Gielen22 Dec 1999 03:53 
pri...@pspl.co.in22 Dec 1999 04:03 
Benjamin Pflugmann22 Dec 1999 05:14 
Jochen Wiedmann22 Dec 1999 10:05 
Tim Endres22 Dec 1999 20:59 
Willy Gielen23 Dec 1999 00:26 
Roland Becker23 Dec 1999 00:54 
Christian Schweingruber23 Dec 1999 03:27 
Jochen Wiedmann23 Dec 1999 14:08 
Subject:MAY DAY! MAY DAY!! Clarify :datatype TEXT/BLOB
From:Mehdi Ali Khan (mame@hd2.dot.net.in)
Date:12/22/1999 03:44:26 AM
List:com.mysql.lists.java

Hi Everybody,

We want a clarify from you

1)

We created a table xx as follows

create table xx( x1 char(10), x2 text)

Supose we want to insert a text of size containing 500 characters into that
table with a query statement

"insert into xx values('123456789x','The Brooklyn Tabernacle has become world
famous as a church of miracles a church that has flourished amidst the poverty
and crime of one of Brooklyn's harshest most unforgiving neighborhoods. A place
where professional men and women former prostitutes pimps drug addicts homeless
people and transvestites gather to worship their powerful and merciful God. Fall
on Your Knees is a book that will lead you on a journey to spiritual awakening.
In it Jim Cymbala pastor of he Brooklyn Tabernacle shares')"

it shows error as follows

parse error near 's harshest most unforgiving neighborhoods. A place where
professional men and wo' at line 1

But from your manual data type TEXT supports maximum of 655535 characters TEXT and BLOB A `TEXT'/`BLOB' with max length of L+2 65535 characters.

Why it won't support here.

we also tested with change of TEXT datatype to BLOB. But same problem.

Is there any wrong in the query statement.

2)

We faced problem for creating a database with password protection

WeI execute following query in mysql database

"insert into user
values('localhost','mak',password('mak10'),'Y','Y','Y','Y','Y','Y','Y','Y','Y','Y')"

Also we executed mysqladmin reload at command prompt after executing the above
query

But we are unable to enter to the user with mysql -u mak -p it asks password

But it shows the error "Access denied for User: 'mak@127.0.0.1' (Using
password:YES)"

we followed according to manual.

we are using mysql 3.21.29a-gamma for win32-3.21

Please reply with clear explanation.

Thanks KSatyanarayana