#mysql - Wed 16 May 2007 between 11:32 and 11:45



Phlogistonsnoyes: damn it ;(
snoyesIf you have 5.0, however, you can get MySQL to build that statement for you.
whatspywobbles: thx, I had read it already, but did not get it all right
Leithalzimnyx: yes
g0rd0nok i couldnt remove client 4.0 because of dependencies, i have both 4.0 and 4.1 clients installed... added old_passwords = 1 to my.cnf, problem solved
bye
the_wenchsee ya
Phlogistonsnoyes: hmm I have... but I will use php script now
whatspywhere they say " L + 1 bytes", what is "L" ?
snoyeswhatspy: length of data you store
whatspyL is lenght, M is maxlenght
symtabhello
after i executed a mysql command i got this
Query OK, 0 rows affected, 5 warnings (0.01 sec)
is there a way i can also see the warnings?
snoyesSHOW WARNINGS;
symtabthanks
snoyesPhlogiston: SELECT CONCAT('ALTER TABLE t1 ', GROUP_CONCAT(CONCAT('MODIFY ', column_name, ' text'))) AS `sql` FROM COLUMNS WHERE table_schema = 'yourDb' AND table_name = 't1' AND data_type = 'mediumtext';
that should be, ...FROM information_schema.columns WHERE...
Phlogistonthanks snoyes :)
symtabfor example
| Warning | 1364 | Field 'aboutme' doesn't have a default value |
is this a problem?
i cant define a default value because its TEXT
but will this slow down my queries?
snoyesimperceptibly. More to the point, what should that column contain?
symtabor cause any problems?
`aboutme` text NOT NULL,
will contain anything...some text
snoyesTo avoid the warning, be sure to specify some value when you insert records.
Even if it's an empty string.
symtabok
thanks
but does this influence in any way? (except the warning message dissapears)?
i aplogise for my bad english
Turt|eanyone running on freebsd that can tell me how to raise the process memory limit on 6.2 ?
whatspyexit
DOH!
snoyessymtab: not much (unless you turn on some of the strict sql modes, in which case that warning will be an error instead)
symtabsnoyes, ok, thanks

Page: 2 9 16 23 30 37 44 51 

IrcArchive