Re: Length limit of 500 on primary keys?

2001-10-22 Thread Jeremy Zawodny
On Mon, Oct 22, 2001 at 11:42:23AM -0600, Steve Meyers wrote: > > If you use a good 64-bit hash, I doubt you'll run into any > uniqueness problems. MySQL will support that as a 64-bit BIGINT. > You especially should not have any problems if you hash each column, > then do the primary key across

Re: spontanious performance problem :(

2001-10-22 Thread Wouter de Jong
On Tue, Oct 23, 2001 at 08:08:08AM +0200, Michal Zejdl wrote: > > Blank shot - have you enough FD? > sql I really think so... ulimit -a: max user processes 32768 open files 32768 And within /etc/my.cnf: [safe_mysqld] open-files-limit=32768 set-variable= open

4.0.0 Intel rpm contains InnoDB-.43 with no foreign keys

2001-10-22 Thread Heikki Tuuri
Hi! There was some confusion in the making of the 4.0.0 binaries. The Intel rpm contains InnoDB-.43 which does not support foreign keys, while the source distribution and the Intel .tar.gz binary contains .43b which supports foreign keys. Sorry for the confusion! Some things are broken in all 4.

Can't Connect To MySQL

2001-10-22 Thread M. Alageswaran
Hi, I just installed Redhat 7.1 will all the options (full install) When I try to connect to MySQL I am getting this error /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)' Check th

Re: MyISAM API

2001-10-22 Thread Jeremy Zawodny
On Mon, Oct 22, 2001 at 08:49:44PM +0200, Sergei Golubchik wrote: > > > > It would actually be nice if the full source were available off > > > the website as is, not just in the .tar.gz file. What I mean > > > is, just untar the source to http://www.mysql.com/source/ and > > > let people browse

ODP: Tree in SQL

2001-10-22 Thread Daniel Las
Thank you. I was trying too long to do this in SQL. > -Oryginalna wiadomoœæ- > Od: Dan Nelson [mailto:[EMAIL PROTECTED]] > Wys³ano: 22 paŸdziernika 2001 23:38 > Do: Daniel _a_ > DW: Lista MySQL > Temat: Re: Tree in SQL > > > In the last episode (Oct 22), Daniel _a_ said: > > I have a tabl

ODP: Tree in SQL

2001-10-22 Thread Daniel Łaś
Hi I have one table and the depth is not always the same. Anyway thanks :) Daniel Łaś e-direct Polska sp. z o.o. WWW: http://www.e-direct.pl E-mail: [EMAIL PROTECTED] 45-072 Opole ul. Reymonta 45 tel. +48 77 44 26 073 fax. +48 77 44 26 074 > -Oryginalna

Re: spontanious performance problem :(

2001-10-22 Thread Michal Žejdl
Wouter de Jong wrote: > > Does anyone have a clue about what could be going on ? Blank shot - have you enough FD? sql -- Ing. Michal Žejdl e-mail: [EMAIL PROTECTED] Sokolovská uhelná, a.s. tel.: +420 168 46-5418

Help:Running JDBC for MySQL on Linux

2001-10-22 Thread Jyotirmoy Biswas
Sir/Madam, I am having Linux RedHat v7.1 running on my P3 mac. I have successfully installed the MySQL (the source version/distribution - MySQL-3.23.43-1.i386.rpm and the related RPMs). I am also able to access the database at the prompt but I am not able to access the database through

RE: Tree in SQL

2001-10-22 Thread Steve Meyers
If the depth of the tree is always the same, it is actually fairly easy. For instance, if there are three levels: SELECT c.group_id FROM table a, table b, table c WHERE a.group_id = 12345 AND b.group_id = a.parent_group_id AND c.group_id = b.parent_group_id If you don't know the depth, you'll

Re: Oracle conversion...

2001-10-22 Thread Tony
Many thanks. Worked fine. Sadly, almost every one of the varchar columns I checked return near the max length. Is there still a huge performance penalty, if most of the rows come close to hitting the max of the defined varchar length? I suppose it depends on your data, and how you use it.

[Fwd: Problems running mysql client under Emacs on Win32]

2001-10-22 Thread Shankar Unni
I'm resending this to the general list, since I received absolutely no reply at all on the Win32 list, and I'm hoping someone here is familiar enough with the Win32 port to comment.. Original Message Subject: Problems running mysql client under Emacs on Win32 Date: Sat, 20 Oct

Experience with mm.mysql-2.0.x ?

2001-10-22 Thread Mark Arnold
Hi, did anybody ever use the new mm.mysql-2.0.4 (or another 2.x version) library that is introduced as stable on the download section? Is it stable enough to use on production servers? Any positiv / negative comments on that? I am having problems with the 64k size limit bug in the earlier versio

Help turning on raid on MySQL windows version

2001-10-22 Thread Butch Bean
Has anybody turned on raid for the windows version? Turning this feature on in Unix appears simple, but what about windows... I have MySQL version 3.23.43 Linux & windows and I need them both configured the same way. Butch Bean -

FreeBSD server help

2001-10-22 Thread Kyle B
Hi all, I am going to try and describe my problem as best as possible. here it goes. Am running FreeBSD v3.0 I can connect to mysql when i telnet to localhost I cannot connect to mysql from another loacation When i try and shut down mysqld it tells me: "Segmentation fault (core dumped)" It is ru

RE: mysql CLI: executing SQL from a file

2001-10-22 Thread Quentin Bennett
Hi, Check section 4.8.2 of the (4.0.0-alpha) manual, or type help at the MySQL Command line. Quentin -Original Message- From: Neil Zanella [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 23 October 2001 11:49 a.m. To: MySQL Mailing List Subject: mysql CLI: executing SQL from a file Hello,

Re: Replciation 3.23.41

2001-10-22 Thread Jeremy Zawodny
On Mon, Oct 22, 2001 at 09:07:06PM +0200, Warren van der Merwe wrote: > Hi there > > Was there a problem with replication on the above build? My > production sites were running 3.23.38 and I upgraded to 3.23.41 and > since then the replication has not been working. On of my production > machines

RE: how to sub-select?..

2001-10-22 Thread Moshe Gurvich
please notice that in 2nd query i sent, there's same table linked twice, because i need to link tree-like records. how do i delete records from 1st table and not 2nd if they have same real name? like this: DELETE tasks FROM tasks as t_child LEFT JOIN tasks as t_parent ON t_child.parent_id=t_par

ORDER BY bug; must also select column that is being ordered by

2001-10-22 Thread Luke Loeffler
>Description: I have a table full of pages for a church website I am developing. Each has some data (text) and a title, page id, updated (date) and created(date). I want to select a list of pages with their id and title and updated date according to when they were created (by created). When I s

mysql CLI: executing SQL from a file

2001-10-22 Thread Neil Zanella
Hello, I would like to know if it is possible to issue a command from the mysql command line interface which will read SQL commands contained in a file and execute them immediately without having to cut and paste them one gpm buffer size at a time. Thanks, Neil --

Re: how to sub-select?..

2001-10-22 Thread Sergei Golubchik
Hi! On Oct 22, Moshe Gurvich wrote: > yeah, noticed it after clicked send.. > > let's say i upgrade to MySQL 4.0 and run this query: > > DELETE FROM tasks as t_child LEFT JOIN tasks as t_parent ON > t_child.parent_id=t_parent.task_id > WHERE t_parent.task_id IS NULL > > > will this work? no.

Re: load data infile problems

2001-10-22 Thread Carl Troein
Chris Book writes: > load data local infile 'file.txt' into table mytable fields optionally > enclosed by '"' escaped by '"' terminated by ',' I'm not sure how mysql handles the case where the escape character is the same as the field enclosing character, and I can see a problem here if you hav

RE: how to sub-select?..

2001-10-22 Thread Moshe Gurvich
yeah, noticed it after clicked send.. let's say i upgrade to MySQL 4.0 and run this query: DELETE FROM tasks as t_child LEFT JOIN tasks as t_parent ON t_child.parent_id=t_parent.task_id WHERE t_parent.task_id IS NULL will this work? meaning it will delete records from 1st mentioned table in J

RE: load data infile problems

2001-10-22 Thread Moshe Gurvich
i had similar problem until used line delimiter different than default "\n" try this: load data local infile 'file.txt' into table mytable fields optionally enclosed by '"' escaped by '"' terminated by ',' LINES TERMINATED BY '-= aNy we1Rd cHar 0r Str1Ng =-' :) -Original Message--

Re: how to sub-select?..

2001-10-22 Thread Sergei Golubchik
Hi! On Oct 22, Moshe Gurvich wrote: > thank you very much; > > i'm using right now v3.23 as recommended for production servers, but > anyway.. > > now, using the way you suggested, will this work: > > DELETE FROM tasks > FROM tasks as t_child LEFT JOIN tasks as t_parent ON > t_child.parent_id=

load data infile problems

2001-10-22 Thread Chris Book
Hello, This is what I'm trying to do: load data local infile 'file.txt' into table mytable fields optionally enclosed by '"' escaped by '"' terminated by ',' My file looks like this 1,"data1" 2,"data2" 3,"data3" etc my table is defined with (id integer not null, data varchar(200) not null). Th

RE: Oracle conversion...

2001-10-22 Thread Moshe Gurvich
select max(length(column)) from table -Original Message- From: Tony [mailto:[EMAIL PROTECTED]] Sent: Monday, October 22, 2001 2:36 PM To: [EMAIL PROTECTED] Subject: Oracle conversion... Is there a quick and easy way to determine the maximum used length of a varchar column? I've built a

Oracle conversion...

2001-10-22 Thread Tony
Is there a quick and easy way to determine the maximum used length of a varchar column? I've built and imported an Oracle DB into a MySQL one and now I'd like to greatly reduce the number of varchars that were being used in the original (e.g. Oracle) DB on my MySQL version. I am digging into

Tree in SQL

2001-10-22 Thread Daniel Łaś
Hi I have a table in database which describes tree structure of article groups. In this table I have: 1. group_id - group identifier 2. parent_group_id - identifier of parent group I need to select history, from top to wanted group. I can't change the database design and ofcourse this is MySQL 3.

RE: MS Access to MySQL conversion? How?

2001-10-22 Thread Butch Bean
I used MyAccess2000, it connects through ODBC inside Access. You can create tables, import Access to MySQL or MySQL to Access and it will display table SQL and indexes, its $30usd http://www.accessmysql.com/ -Original Message- From: Todd Williamsen [mailto:[EMAIL PROTECTED]] Sent: Mond

RE: MS Access to MySQL conversion? How?

2001-10-22 Thread Jonathan Hilgeman
The Jonathan Tutorial Access -2- MySQL in 8 Not-Extremely-Easy-But-Not-Hard Steps 1. Go to mysql.com 2. Download and install MyODBC 3. Set up a new ODBC connection for the new mySQL server 4. Open up the database in access 5. Go to the File menu and choose to Export (Tables?) 6. At the bottom of

RE: MS Access to MySQL conversion? How?

2001-10-22 Thread Moshe Gurvich
try this: http://www.mysql.com/downloads/contrib.html#SEC653 -Original Message- From: Todd Williamsen [mailto:[EMAIL PROTECTED]] Sent: Monday, October 22, 2001 2:12 PM To: [EMAIL PROTECTED] Subject: MS Access to MySQL conversion? How? I am new to this fast database and love MySQL, but I

MS Access to MySQL conversion? How?

2001-10-22 Thread Todd Williamsen
I am new to this fast database and love MySQL, but I need to know how to import or convert Access database to MySQL. ANyone know how I would go about that? Also this is for a web site and I need to change the asp code to PHP. Its not a lot, only a few pages, but its a headache for someone that

RE: how to sub-select?..

2001-10-22 Thread Moshe Gurvich
thank you very much; i'm using right now v3.23 as recommended for production servers, but anyway.. now, using the way you suggested, will this work: DELETE FROM tasks FROM tasks as t_child LEFT JOIN tasks as t_parent ON t_child.parent_id=t_parent.task_id WHERE t_parent.task_id IS NULL thanx :)

Re: how to sub-select?..

2001-10-22 Thread Sergei Golubchik
Hi! On Oct 22, Moshe Gurvich wrote: > so what's the remedy? > how to do this task in MySQL without using subselects? > > > delete from followups where task_id not in (select task_id from tasks) > > Multi-table deletes (MySQL 4.0.0+) DELETE followups FROM followups LEFT JOIN tasks USING(task_id

Re: Installation from Source

2001-10-22 Thread Deepanshu Shukla
Nope its not the permissions problems.it does not have host-bin.1 file. Maybe i will try reconfiguring and recompiling it all over again. do tell me if anything else like any configuration changes need to be done Deepanshu --- Mark Maunder <[EMAIL PROTECTED]> wrote: > Deepanshu Shukla wro

Re: how to sub-select?..

2001-10-22 Thread Mark Maunder
Trond Eivind Glomsrød wrote: > "Moshe Gurvich" <[EMAIL PROTECTED]> writes: > > > I'm trying to run: > > > > delete from followups where task_id not in (select task_id from tasks) > > > > but it gives me an error: > > Error: 1064 - You have an error in your SQL syntax near 'select task_id from > >

RE: how to sub-select?..

2001-10-22 Thread Moshe Gurvich
so what's the remedy? how to do this task in MySQL without using subselects? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Trond Eivind Glomsrød Sent: Monday, October 22, 2001 1:13 PM To: Moshe Gurvich Cc: [EMAIL PROTECTED] Subject: Re: how to sub-selec

Re: how to sub-select?..

2001-10-22 Thread Trond Eivind Glomsrød
"Moshe Gurvich" <[EMAIL PROTECTED]> writes: > I'm trying to run: > > delete from followups where task_id not in (select task_id from tasks) > > but it gives me an error: > Error: 1064 - You have an error in your SQL syntax near 'select task_id from > tasks)' at line 1 > > where's the problem a

[OT] Re: Antigen found VBS/VBSWG_based@mm.Worm (Norman) virus

2001-10-22 Thread Bill Adams
Carl Troein wrote: > Bill Adams writes: > > > > This is odd. The only machine in cricalix.net (which I own/run) is a > > > linux box. Who has a badly configured server out there? > > Even more odd is that the 'from' address I saw was [EMAIL PROTECTED] > > I thought my company server was spammi

how to sub-select?..

2001-10-22 Thread Moshe Gurvich
I'm trying to run: delete from followups where task_id not in (select task_id from tasks) but it gives me an error: Error: 1064 - You have an error in your SQL syntax near 'select task_id from tasks)' at line 1 where's the problem and how to work around? thank you --- Outgoing mail is certifie

Re: Antigen found VBS/VBSWG_based@mm.Worm (Norman) virus

2001-10-22 Thread Carl Troein
Bill Adams writes: > Duncan Hill wrote: > > > On 22 Oct 2001 [EMAIL PROTECTED] wrote: > > > > This is odd. The only machine in cricalix.net (which I own/run) is a > > linux box. Who has a badly configured server out there? > > > > (sql, database) > > Even more odd is that the 'from' address

Replciation 3.23.41

2001-10-22 Thread Warren van der Merwe
Hi there database, mysql Was there a problem with replication on the above build? My production sites were running 3.23.38 and I upgraded to 3.23.41 and since then the replication has not been working. On of my production machines ran 3.23.38 and that updated 100% until I upgraded it to 3.23.41

RE: Server + database on a CD??

2001-10-22 Thread Jonathan Hilgeman
Pretty much. - Jonathan -Original Message- From: Yiu Wing [mailto:[EMAIL PROTECTED]] Sent: Monday, October 22, 2001 7:44 PM To: Mysql List; Jonathan Hilgeman Subject: Re: Server + database on a CD?? > Jeremy is correct. I've done it before - but if possible, it is better to > have a pr

Re: MyISAM API

2001-10-22 Thread Sergei Golubchik
Hi! On Oct 22, Jeremy Zawodny wrote: > On Mon, Oct 22, 2001 at 11:36:37AM -0600, Steve Meyers wrote: > > > > It would actually be nice if the full source were available off the > > website as is, not just in the .tar.gz file. What I mean is, just > > untar the source to http://www.mysql.com/sour

Re: Server + database on a CD??

2001-10-22 Thread Yiu Wing
> Jeremy is correct. I've done it before - but if possible, it is better to > have a program that copies the databases to a writable storage disk like the > hard drive or a network drive, in case you want to update it later (you > don't have to burn a new CD every time) Interesting. How do you a

Re: Could not load module libz.a(shr.o) for run scripts/mysql_install_db

2001-10-22 Thread Bill Adams
[EMAIL PROTECTED] wrote: > >Description: >The following is the error message: > #scripts/mysql_install_db > Could not load program ./bin/my_print_defaults: > Dependent module libz.a(shr.o) could not be loaded. > Could not load module libz.a(shr.o). > Error was: No such file or directo

Re: Frequently corrupt tables

2001-10-22 Thread Bill Adams
I realized that I was using an older version of libmysqlclient. So I recompiled and linked the msql-mysql-modules against mysql-3.23.41... Bill Adams wrote: > o If there is no call to 'flush tables', even a small data load will cause > myisamcheck to report "warning: 1 clients is using or hasn

Re: MyISAM API

2001-10-22 Thread Jeremy Zawodny
On Mon, Oct 22, 2001 at 11:36:37AM -0600, Steve Meyers wrote: > > It would actually be nice if the full source were available off the > website as is, not just in the .tar.gz file. What I mean is, just > untar the source to http://www.mysql.com/source/ and let people > browse it there if they wis

Re: just found out this list is being published on the web

2001-10-22 Thread Alan Rateliff II
Actually, as per their Privacy Policy: "When you subscribe to MySQL mailinglists to receive MySQL news and product information, you must provide email address. We never sell or rent your email address you provide when subscribing to our elists. Please note, that MySQL mailing lists are archived b

Re: MyISAM API

2001-10-22 Thread Dan Nelson
In the last episode (Oct 22), Steve Meyers said: > It would actually be nice if the full source were available off the > website as is, not just in the .tar.gz file. What I mean is, just > untar the source to http://www.mysql.com/source/ and let people > browse it there if they wish to. People o

RE: Length limit of 500 on primary keys?

2001-10-22 Thread Steve Meyers
> > The problem is that he has it as a primary key, so he wants it to be > > > unique as well as indexed. The best solution (and MUCH MUCH MUCH > > > more efficient) would be to hash each of the four columns, and create > > a primary key on that. Integer keys are much faster and memory- >

Re: Antigen found VBS/VBSWG_based@mm.Worm (Norman) virus

2001-10-22 Thread Bill Adams
Duncan Hill wrote: > On 22 Oct 2001 [EMAIL PROTECTED] wrote: > > > Antigen for Exchange found Unknown infected with > > [EMAIL PROTECTED] (Norman) virus. The file is currently > > Removed. The message, "SV: Here you have, ;o)", was sent from Pål > > Wester and was discovered in Public Folders\Ma

Re: MySQL Performance Question

2001-10-22 Thread Jeremy Zawodny
On Mon, Oct 22, 2001 at 08:02:49AM +0100, Ronan Minogue wrote: > Jeremy, > > Firstly thank you for the reply. > > On the MySql web site there are benchmark response times provided > for the execution of queries on NT 4. e.g. reading 2,000,000 rows > by index requiring 367 seconds. > > Are you

RE: MyISAM API

2001-10-22 Thread Steve Meyers
It would actually be nice if the full source were available off the website as is, not just in the .tar.gz file. What I mean is, just untar the source to http://www.mysql.com/source/ and let people browse it there if they wish to. People often ask questions on the list that could be answered

RE: Best choice for index

2001-10-22 Thread Steve Meyers
> What is the best choice for my index on this query? > > SELECT id_team, > sum(IF(m.id_visitor = t.id_team,m.visitor_score, > m.home_score)) AS But_pour, > sum(IF(m.id_visitor != t.id_team,m.visitor_score, > m.home_score)) AS But_contre >

RE: Server + database on a CD??

2001-10-22 Thread Jonathan Hilgeman
Jeremy is correct. I've done it before - but if possible, it is better to have a program that copies the databases to a writable storage disk like the hard drive or a network drive, in case you want to update it later (you don't have to burn a new CD every time) - Jonathan -Original Message-

Re: Transaction Support

2001-10-22 Thread Jeremy Zawodny
On Mon, Oct 22, 2001 at 11:14:58AM -0400, Victor wrote: > Hello > > As I understand it, MySQL with InnoDB or BDB support can support > transactions. Is there a doc on the shortcomings of these tables and > which one is better? MySQL documentation has a shortcomings page for > InnoDB (but couldn't

Re: select rows where count of column is zero

2001-10-22 Thread Mike Eheler
This is where LEFT JOIN comes in: select folders.folder_name, folders.folder_id, count(folder_items.item_id) from (folders left join folder_items on folders.folder_id = folder_items.folder_id) where folders.folder_type='favourites' group by folder_name Basically you need to decide which side yo

Re: Server + database on a CD??

2001-10-22 Thread Jeremy Zawodny
On Mon, Oct 22, 2001 at 11:23:50AM +0200, Jean-Louis Leroy wrote: > Is it feasible to make mysql run from a CD and have it access > databases stored on the CD? TIA... It is. -- Jeremy D. Zawodny, <[EMAIL PROTECTED]> Technical Yahoo - Yahoo Finance Desk: (408) 349-7878 Fax: (408) 349-5454 Ce

RE: faster inserts & updates

2001-10-22 Thread Steve Meyers
There are a couple ways to do this. As some others have suggested, you could drop the keys first, insert the data, and then restore the keys. I think this is the second fastest method. Here are my picks, in speed order: 1. LOAD DATA INFILE -- this is very fast, and will not update the keys u

select rows where count of column is zero

2001-10-22 Thread Chris Newland
Hi All, I'm trying to select a number of columns from 2 tables using an inner join. One of the columns I'm selecting is a count and when the count is zero it doesn't return that row. I'd like to return all rows, even if the count of one of the columns is zero. Can somebody show me how to fix my

RE: just found out this list is being published on the web

2001-10-22 Thread Jonathan Hilgeman
Not that I don't understand your viewpoint, but you have to realize that almost any and every mailing list is published in more than one place. Any person who posts to this list is knowingly publishing to an unknown audience. I find it odd that you are comfortable with publishing to one unknown a

Re: Length limit of 500 on primary keys?

2001-10-22 Thread Shankar Unni
Steve Meyers wrote: > The problem is that he has it as a primary key, so he wants it to be > unique as well as indexed. The best solution (and MUCH MUCH MUCH > more efficient) would be to hash each of the four columns, and create > a primary key on that. Integer keys are much faster and me

RE: how to get the correct result -- Thrid Time --

2001-10-22 Thread Steve Meyers
Adrian, I will suggest once more that you replace all tabs with a space as well, and maybe all carriage returns as well (for good measure). This time I'll write out the queries for you: UPDATE hotel SET nome_hotel=REPLACE(nome_hotel, "\t", " "); UPDATE hotel SET nome_hotel=REPLACE(nome_hotel,

Re: MyISAM API

2001-10-22 Thread DL Neil
> > Sinisa, > > > > On behalf of those of us who take advantage of the 'ready made' versions (eg my >Win download) [or who should not be > > allowed near naked flames, C compilers, or buttons marked "Do NOT press"], could >these examples of 'internal > > documentation' be reproduced and made ava

RE: Execute a file containing a sql script

2001-10-22 Thread Hershey, Ernie
or, from a shell prompt: [ernie@ns1 ernie]$ cat script.sql|mysql > -Original Message- > From: Kevin Smith [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 22, 2001 12:19 PM > To: TOMASSONI Dominique; 'MySQL_mailing_list' > Subject: Re: Execute a file containing a sql script > > > m

Re: just found out this list is being published on the web [OT]

2001-10-22 Thread Mark Maunder
Robert Alexander wrote: > I just found out, while looking for other things, that what seems to be the entire >content of the MySQL list is being published on the web. > > I, for one, really don't like this idea. I have a reasonable expectation that what I >post here is for viewing by subscriber

Could not load module libz.a(shr.o) for run scripts/mysql_install_db

2001-10-22 Thread shaowuy
>Description: The following is the error message: #scripts/mysql_install_db Could not load program ./bin/my_print_defaults: Dependent module libz.a(shr.o) could not be loaded. Could not load module libz.a(shr.o). Error was: No such file or directory WARNING: The host 'bonsai.austin.ibm.

just found out this list is being published on the web

2001-10-22 Thread Robert Alexander
Hi all, I just found out, while looking for other things, that what seems to be the entire content of the MySQL list is being published on the web. I, for one, really don't like this idea. I have a reasonable expectation that what I post here is for viewing by subscribers to this list, the MyS

Re: faster inserts & updates

2001-10-22 Thread Jason Wong
On Monday 22 October 2001 18:25 pm, Priya Ramkumar wrote: > Hi Tom, > > Thanks for your response. It takes around 1 hour & 40 minutes to > insert 28000+ records. Also, I find that the first few thousand > transactions are quite fast but slows down later. I have MySQL on > Linux. I have a concaten

Re: Execute a file containing a sql script

2001-10-22 Thread Kevin Smith
mysql> source /path/to/file - Original Message - From: "TOMASSONI Dominique" <[EMAIL PROTECTED]> To: "'MySQL_mailing_list'" <[EMAIL PROTECTED]> Sent: Monday, October 22, 2001 5:08 PM Subject: Execute a file containing a sql script > Hi, > > I'm a beginner in MySQL (also in english) so s

FW: Where can I find 3.22.15-Gamma for Solaris?

2001-10-22 Thread Johan Brunius
Hi everybody! I need to download MySQL version 3.22.15-Gamma for Solaris. Does anyone know where I can find it? PLEASE thank you very much / Johan Johan Brunius DebiTech AB System Developer Stadsgården 6 S-116 45 STOCKHOLM SWEDEN [EMAIL PROTECT

Execute a file containing a sql script

2001-10-22 Thread TOMASSONI Dominique
Hi, I'm a beginner in MySQL (also in english) so sorry for my uninterristing questions. I've installed MySQL 3.23.43 on a Linux RedHat 7.0 system, and it seems to work normally. How to execute a sql script which is inclus in a text file (ex : script.sql) ? With Oracle, you know, it's done with

Re: MyISAM API

2001-10-22 Thread Sinisa Milivojevic
DL Neil writes: > > Wendy Dillon writes: > > Sinisa, > > On behalf of those of us who take advantage of the 'ready made' versions (eg my Win >download) [or who should not be > allowed near naked flames, C compilers, or buttons marked "Do NOT press"], could >these examples of 'internal > docume

Re: I am getting crazy!!!

2001-10-22 Thread Kyle Hayes
On Monday 22 October 2001 08:41, jim barchuk wrote: > Hi Martin! > > > I have been trying to connect to mySQL for a couple of days now with > > no result! I try to log in via telnet..to my remote server..I get in > > the system but when I try to log in to the database, nothing!! I use > > this: >

Re: MyISAM API

2001-10-22 Thread DL Neil
> Wendy Dillon writes: ... > > Is there any documentation for the MyISAM C API yet apart from the source > > code? ... > Hi! > > In 4.0.0 source code, you will find Docs subdir and in it myisam.txt. > > Rest is up to you ... Sinisa, On behalf of those of us who take advantage of the 'ready mad

Problem with WinMySQLAdmin on NT

2001-10-22 Thread martin . austin
I'm having problems with WinMySQLAdmin. Please could anyone advise. MySQL 3.23.42-nt is installed by Administrator on NT 4.0 SP6 machine in D:\Program Files\MySQL. It has to be installed by Administrator in order to create and start the MySQL NT service. The service is created and starts OK. A

RE: Query Error

2001-10-22 Thread Tichawa Anton
hi, try your first SELECT statement, but with ORDER BY table1.table1_row maybe this helps (I didnt try it). Anton Tichawa > -Original Message- > From: Bruno Faé [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 22, 2001 5:44 PM > To: [EMAIL PROTECTED] > Subject: Query Error > >

Re: I am getting crazy!!!

2001-10-22 Thread jim barchuk
Hi Martin! > I have been trying to connect to mySQL for a couple of days now with > no result! I try to log in via telnet..to my remote server..I get in > the system but when I try to log in to the database, nothing!! I use > this: > > mysql -h localhost -u futureenter -p > > it then asks for a p

Query Error

2001-10-22 Thread Bruno Faé
Hi ! I´m trying to query some news with multiple rows in my database. I´m receiving an error when i use: "SELECT table1.*, table2.table2_row FROM table1,table2 ORDER BY table1_row" but, if I try: "SELECT table1.table1_row, table2.table2_row FROM table1,table2 ORDER BY table1_row" or "SELECT ta

Best choice for index

2001-10-22 Thread franky
What is the best choice for my index on this query? SELECT id_team, sum(IF(m.id_visitor = t.id_team,m.visitor_score, m.home_score)) AS But_pour, sum(IF(m.id_visitor != t.id_team,m.visitor_score, m.home_score)) AS But_contre FROM

Re: Antigen found VBS/VBSWG_based@mm.Worm (Norman) virus

2001-10-22 Thread Duncan Hill
On 22 Oct 2001 [EMAIL PROTECTED] wrote: > Antigen for Exchange found Unknown infected with > [EMAIL PROTECTED] (Norman) virus. The file is currently > Removed. The message, "SV: Here you have, ;o)", was sent from Pål > Wester and was discovered in Public Folders\Mailing Lists/MySQL > located at

Transaction Support

2001-10-22 Thread Victor
Hello As I understand it, MySQL with InnoDB or BDB support can support transactions. Is there a doc on the shortcomings of these tables and which one is better? MySQL documentation has a shortcomings page for InnoDB (but couldn't find one for BDB) http://www.mysql.com/doc/I/n/InnoDB_restrictions

RE: How to copy table structure easily.

2001-10-22 Thread Woolsey, Fred
All, I would like to put in my two farthings and second DL's opinion of MySQLFront- it is a great tool. I use it for a number of tasks, including porting my development database (which I run under IIS 5.0 on Win 2k, together with PHP 4.0.6) to my "production" database on my web site (which runs

Re: How to copy table structure easily.

2001-10-22 Thread Tony
On Monday 22 October 2001 09:55 am, you wrote: > Just want to copy the table structure of a table i Have but dont have the > the create statement and dont want to have to type it again , it has a lot > of fields. Can I easily replicate a table. Dexter, You can use Mysqldump to produce just the

Re: import fails when lines are too long

2001-10-22 Thread Sinisa Milivojevic
Hi! Please upload your file.sql, gzipped or zipped, to: ftp://support.mysql.com:/pub/mysql/secret and let me know the filename. -- Regards, __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Mr. Sinisa Milivojevic <[EMAIL PROTECTED]> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime

RE: How to copy table structure easily.

2001-10-22 Thread Norman Khine
if you have it, install phpMyAdmin it is a cool application, and quite easy to configure, then dump the table structure. hth norman -Original Message- From: Dexter Coelho [mailto:[EMAIL PROTECTED]] Sent: Monday, October 22, 2001 2:56 PM To: [EMAIL PROTECTED] Subject: How to copy table

Re: How to copy table structure easily.

2001-10-22 Thread DL Neil
> Just want to copy the table structure of a table i Have but dont have the > the create statement and dont want to have to type it again , it has a lot > of fields. Can I easily replicate a table. Hi Dexter, I took a look at a number of the MySQL management tools as mentioned in articles/disc

import fails when lines are too long

2001-10-22 Thread bas
>Description: a mysql -p db < file.sql fails when sql contains TEXT fields that are long >How-To-Repeat: create table with text column,fill it with text, mysqldump this table into file.sql mysql -p db < file.sql >Fix: linewrapping the mysqldump file is a workaroun

RE: How to copy table structure easily.

2001-10-22 Thread Ravi Raman
Dexter wrote: >Just want to copy the table structure of a table i Have but dont have the >the create statement and dont want to have to type it again , it has a lot >of fields. Can I easily replicate a table. or: >SHOW CREATE TABLE table_name; will show the SQL necessary to recreate a table. -r

select max(datetime) crashes mysql?

2001-10-22 Thread Elm Gysel
I performed the following query : select max(date_time) from vse_history where symbol_id = 1; and mysql crashes. I'm not very good with SQL so I wonder of I'm doing this right at all. I want the record with the highest datetime value where symbol_id = 1 I'm using 3.23.43-max-nt on Windows2000.

Antigen found VBS/VBSWG_based@mm.Worm (Norman) virus

2001-10-22 Thread Antigen
Antigen for Exchange found Unknown infected with [EMAIL PROTECTED] (Norman) virus. The file is currently Removed. The message, "SV: Here you have, ;o)", was sent from Pål Wester and was discovered in Public Folders\Mailing Lists/MySQL located at nascom/First Administrative Group/ET. -

Re: How to copy table structure easily.

2001-10-22 Thread Robert Cross
Dexter wrote: >Just want to copy the table structure of a table i Have but dont have the >the create statement and dont want to have to type it again , it has a lot >of fields. Can I easily replicate a table. Hi Dexter, I had the same problem and seem to remember finding the answer hidden in th

How to copy table structure easily.

2001-10-22 Thread Dexter Coelho
Hi Mysqlers, Just want to copy the table structure of a table i Have but dont have the the create statement and dont want to have to type it again , it has a lot of fields. Can I easily replicate a table. thanks Dexter _ Get y

spontanious performance problem :(

2001-10-22 Thread Wouter de Jong
Hi, We are having serious load problems suddenly at one of our MySQL-servers. There are running about 830 databases on this one. The machine was up for 40 days, running peacefully (load avg. of 2) but suddenly it went to an average of 25. We've been trying to find a reason, but SHOW PROCESSLIS

RE: faster inserts & updates

2001-10-22 Thread Butch Bean
You can define unique keys CREATE TABLE MyTable ( X char(50), Y char(25), Z char(15), Count_ int(11), INDEX X (X), INDEX Y (Y), UNIQUE XY (X,Y)); and use a sql like INSERT IGNORE INTO MyTable VALUES(X,Y,Z) keep in mind that the keys will grow fast. The IGNORE stops error messages when the un

Re: MyISAM API

2001-10-22 Thread Sinisa Milivojevic
Wendy Dillon writes: > Hi everyone, > > I realise that a number of people have already asked this but as it was a > while ago thought more info may now be available: > > Is there any documentation for the MyISAM C API yet apart from the source > code? > > In previous discussions of accessing My

MyISAM API

2001-10-22 Thread Wendy Dillon
Hi everyone, I realise that a number of people have already asked this but as it was a while ago thought more info may now be available: Is there any documentation for the MyISAM C API yet apart from the source code? In previous discussions of accessing MyISAM directly I see 2 issues that are f

Re: Utilizing the Database Server's Cache

2001-10-22 Thread Sinisa Milivojevic
Jeremy Zawodny writes: > > Monty recently proposed some changes to MySQL's client/server protocol > which will enable "real" prepared statements. So I'd guess it'll > happen somewhere in the 4.x tree. > > > Also just out of curiousity, how much of a performance hit does > > mysql take in compil

  1   2   >