is it possible?

2003-11-19 Thread Eugene R. Miller
This is kind of a silly question is there an easy way to ... SELECT Status, rating, COUNT(*) FROM song GROUP BY pldupldqd, rating ORDER BY Status, rating DESC This gives me all the information I need ... What I would like to do is something... like SELECT rating, count(WHERE pldupldqd = 0), co

MySQL lost connection

2003-11-19 Thread John Cole
hi, I installed MySQL 4.0.16-nt on a Win2000 Pro platform. I want to implement a multi-table delete, so i type following SQL statement: Delete from tablea, tableb using tablea, tableb where tableb.number=2 and tableb.number=3; the server down and generate following message: `Mysql-nt has gener

Re: MySQL

2003-11-19 Thread David Lloyd
Theresa, > Knowing that MySQL is an open source software I'm in favour of this > application and wldlike to try out this product, wonder why I can > download this application for my necessary practice for both > Client/Server application. I assume you mean "How can I download the Mysql server a

Re: batch files usage

2003-11-19 Thread Dan Wilterding
On 19 Nov 2003 at 23:12, r.schacht wrote: > Hi, > > I'm new to MySQL. I want to try to create a new database, but I type in > the same commands all the time. > > What I want to be able to do is type the commands into text files, then > run them from inside MySQL. This way if I want to change som

Cannot find an index that will be used for SELECT

2003-11-19 Thread Ed McNierney
I'm completely stumped trying to create any index MySQL will use at all for my SELECT. I've got a table with four columns describing the upper-right and lower-left coordinates of a rectangle - RIGHT, LEFT (max X, min X), TOP, BOTTOM (max Y, min Y). I have an X, Y coordinate and I want to select

batch files usage

2003-11-19 Thread r.schacht
Hi, I'm new to MySQL. I want to try to create a new database, but I type in the same commands all the time. What I want to be able to do is type the commands into text files, then run them from inside MySQL. This way if I want to change something I can just drop the database and recreate. Any he

MySQL

2003-11-19 Thread Theresa Tan
To whom it may concern, Knowing that MySQL is an open source software I'm in favour of this application and wld like to try out this product, wonder why I can download this application for my necessary practice for both Client/Server application. Tks. ***

archive data

2003-11-19 Thread Hiu Yen Onn
hi, i am using linux redhat 8 to power mysql. i installed mysql version 4.0.13 using rpm package. by default, the data file of mysql is alocated at /var/lib/mysql, but i have a limited of diskspace of /var dir (it is about 1G), so, it was easily full loaded with data. now, i want to archive the da

RE: Optimizing Custom Full Text Index

2003-11-19 Thread Mike Boone
Matt, thanks for your suggestions. The index on content_id was for deletes. You're right...I could get rid of the C.id field...it has not been useful. To avoid making too many changes at once, I created a UNIQUE index on stem_word_id and content_id. Now EXPLAIN says it's using the UNIQUE index, b

Re: Easy (?) SELECT questions

2003-11-19 Thread cpuworks
> Mark Wilson <[EMAIL PROTECTED]> wrote: >> Two related questions. >> 1. I have a table with a "date" field. (Ex: '04/13/2002'). I want to get >> a list >> of all UNIQUE values for that field (many entries from the same day), >> i.e., all >> days with entries. >> ***

Re: Optimizing Custom Full Text Index

2003-11-19 Thread Matt W
Hi Mike, Those tables aren't that big for what you're doing (which is about how I'd do it if I wasn't using built-in full-text :-)). How many results are your searches returning? How long are the queries taking? The C table: Do you need the index on content_id? For deletes or something? Doesn't

Re: JOIN vs INNER JOIN?

2003-11-19 Thread Matt W
Hi Yves, http://www.mysql.com/doc/en/JOIN.html table_reference [INNER | CROSS] JOIN table_reference [join_condition] The [ ... ] means that "INNER" is optional -- in MySQL at least, not sure about the SQL standard. Hope that helps. Matt - Original Message - From: "Yves Goergen" Sen

Re: very slow delete queries - never ending

2003-11-19 Thread Matt W
Hi Richard, As I think Gerald Clark said, you could run DELETEs with LIMITs (like 1000-1, etc. at a time) in a loop until rows all rows are deleted. This won't make the deletes any faster (probably slightly slower total, actually), but will allow other clients to use the table in between. Hav

RE: can't start server

2003-11-19 Thread mo toufali
Thanks again Aman I think I will uninstall it and start afresh. I will let you know how I did. mo toufali [EMAIL PROTECTED] -Original Message- From: aman raheja [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 5:54 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: R

Re: using temporary / using filesort and disk tables

2003-11-19 Thread Matt W
Hi Arnaud, A disk-based temp table is used if you're SELECTing a column [that can be] longer than 255 characters (BLOB/TEXT to MySQL). This is because the in memory HEAP tables don't currently support variable length rows. Using something like LEFT(text_col, 255), if feasible, will get around this

Re: Standard vs. Log

2003-11-19 Thread Matt W
Hi Jon, The -log suffix is added when you're running with logging (log or log-bin in my.cnf/my.ini). log-bin may be being used for replication, so be careful about removing it. And if one server isn't using logging, you probably don't need it. Hope that helps. Matt - Original Message --

check point command

2003-11-19 Thread kp gbr
How do I perform checkpoint in MySQL. kp - Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard

Re: Running without logfiles

2003-11-19 Thread Jeff Mathis
i run the same configuration . I have the following settings in my /etc/my.cnf file innodb_log_archive=0 innodb_flush_log_at_trx_commit=0 #log-update = /export/disk1/mysql/logs/snow once you have the first set to 0, the other 2 may not matter. "Arnoldus Th.J. Koeleman" wrote: > > I am u

SHOWing temporary tables

2003-11-19 Thread "Héctor Villafuerte D."
Hi all, How can I see the temporary tables in a database? Is there something like SHOW TEMPORARY TABLES? Thanks, Hector -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

RE: Mysql server time setting.

2003-11-19 Thread Jeff McKeon
I'm running mysql on a redhat system starting it from a script in /etc/init.d/ as is the default with the rpm install. I can't seem to set the timezone environmental variable to change nomatter what I put in the /etc/my.cnf file. Can anyone help me with this? Jeff > -Original Message- >

Re: can't start server

2003-11-19 Thread aman raheja
Do check the ownership on /var/lib/mysql if not right, then chown -R mysql /var/lib/mysql I am getting out of ideas here. Would recommend to uninstall all the mysql packages - mysql-server, mysql-client and other you have installed and start afresh. Aman Raheja AGF Technologies http://www.agftec

date_format, distinct and binary chars

2003-11-19 Thread tjkuhn
Okay, here's an interesting one. Here's the query: SELECT distinct date_format(auditdate, "%Y%M" ) as listUrl, date_format( auditdate, "%Y%m" ) as blank FROM quality_history WHERE auditdate <> Now() ORDER BY listUrl desc LIMIT 6 auditdate is a DATE datatype When I run thi

Re: Replacing Multiple Subqueries

2003-11-19 Thread "Héctor Villafuerte D."
Héctor Villafuerte D. wrote: Hi all, I know how to do this query with subqueries like this: select * from traf_oper where rutasalien in (select ruta_salid from rutas where codigo_ope = 0) and rutaentran in (select ruta_salid from rutas where codigo_ope > 0) --

Re: Execute shell script

2003-11-19 Thread adburne
Thanks Paul for your reply, I extend a little more my question and try to be more specific:    There is a command or function to call a shell script through a mysql server on a linux box using odbc as client?   ---Mensaje original---   De: Paul DuBois Fecha: martes 18 de noviembre de

How to do safe monetary calculations?

2003-11-19 Thread fn215525
I'd like to know your opinion on monetary calculations. For accurate representation of monetary (euro) values I use DECIMAL fields (12,5). Now: how to do safe calculations? Are these commands safe? 1) SELECT SUM(price) FROM ... 2) SELECT SUM(price * 1.2) FROM ... 3) SELECT SUM(price) * 1.2 FROM

Re: OT: MySQL & NAT

2003-11-19 Thread adburne
Right, I've a linux box running apache and another running mysql both on my private lan and I want to connect from internet through a firewall, to do that I'm using nat and forward with iptables.   First I try setup it for apache (just for test) and things go right, all it's ok; but with mysq

Mysql server time setting.

2003-11-19 Thread Jeff McKeon
I have two servers replicating. Server one to server two. If I do a show variables on server one it show the timezone as EST, on server two it shows it as GMT. Where is this set and how can I change server one to GMT? The linux box itself, that mysql server one runs on is set for GMT Thank

Re: Deleting column data & LOAD question

2003-11-19 Thread William Fong
> what would the syntax be to delete all the data in a column for every > record but still maintain the column? In other words, I don't want to > delete the column, just the data in it. I would use an UPDATE and set it to '' or NULL, depending on your column. > Second, is there a way I can LOAD

myisamchk Error 22 WinServer 2003 Large table

2003-11-19 Thread Jim Gallagher
Hello, I am following the advice of the manual when bulk loading a large table by turning off index builds before LOAD DATA INFILE. The load ends normally (73 GB). The mysamchk build of the indices fails: myisamchk: warning: Can't change size of indexfile, error: 22 myisamchk: error: 22 for r

RE: Optimizing Custom Full Text Index

2003-11-19 Thread Mike Boone
Hello Santino, I tried to formulate my query as you suggested. According to EXPLAIN, MySQL seems to process it the same way as my first query, working first on table C and using where, temporary, and filesort. Thanks, Mike. -Original Message- From: Santino [mailto:[EMAIL PROTECTED] Sent:

RE: piping blob into shell command (tar)

2003-11-19 Thread Denis Mercier
On Wed, 2003-11-19 at 15:08, Dan Greene wrote: > one more idea: > > try: > mysql --skip-column-names --raw < test1 | tar xf - no output, mysql --skip-column-names --raw < test1 | more ./test1 > > > > -Original Message- > > From: Denis Mercier [mailto:[EMAIL PROTECTED] > > Sent: Wedn

Re: error 13

2003-11-19 Thread Yves Goergen
well, thanks for that link, but I don't know what it wants to tell me. 13 = permission denied -- that's absolutely impossible, I have set no permission restictions on anything concerning this. any why should a server restart resolve a perm denied error?? 127 = record file crashed -- also, REPAIR/

RE: piping blob into shell command (tar)

2003-11-19 Thread Denis Mercier
On Wed, 2003-11-19 at 15:00, Dan Greene wrote: > ok... try this: > > mysql --skip-column-names < test1 > mytestoutput.tar the content does get redirected into mytestoutput.tar > > tar xvf mytestoutput.tar tar: This does not look like a tar archive tar: Skipping to next header tar: Error exit

RE: piping blob into shell command (tar)

2003-11-19 Thread Dan Greene
one more idea: try: mysql --skip-column-names --raw < test1 | tar xf - > -Original Message- > From: Denis Mercier [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 19, 2003 2:41 PM > To: [EMAIL PROTECTED] > Subject: Re: piping blob into shell command (tar) > > > On Wed, 2003-11-19

Re: row-level locking question...

2003-11-19 Thread Heikki Tuuri
Andre, - Original Message - From: "Andre Charbonneau" <[EMAIL PROTECTED]> Newsgroups: mailing.database.myodbc Sent: Monday, November 17, 2003 5:11 PM Subject: row-level locking question... > Hi, > > Let say that I have the following transaction: > > 1. Read value v1 from table t1. > 2.

Wrong bytesec: 0-0-0 at linkstart: 292251752

2003-11-19 Thread Jon Wagoner
I have gotten several of these errors over the last couple of months. This has happened on two different servers. (Both are running MySQL 4.0.16 on Red Hat 7.3) It mainly happens in one particular table, but has happened in another one. I have tried dropping and recreating the table, but that do

RE: piping blob into shell command (tar)

2003-11-19 Thread Dan Greene
ok... try this: mysql --skip-column-names < test1 > mytestoutput.tar tar xvf mytestoutput.tar and if it works, try cat mytestoutput.tar | tar xf - to see if it works > -Original Message- > From: Denis Mercier [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 19, 2003 2:41 PM

"Status" shows wrong version number for server after upgrade

2003-11-19 Thread Mark Marshall
I just compiled 4.0.16 and installed it over top of 4.0.4 beta. After stopping and restarting mysqld_safe, I went into mysql and issued a "status" command. I got back the following: mysql> status -- mysql Ver 12.22 Distrib 4.0.16, for pc-linux (i686) Connection id: 35 C

RE: piping blob into shell command (tar)

2003-11-19 Thread Denis Mercier
On Wed, 2003-11-19 at 14:03, Dan Greene wrote: > This may be simplistic, but is mysql putting any text before / after blob content, > such as column name, '1 row processed OK', that may be 'corrupting' the tar data? > > using a very small tar file, and run your command, piping to more instead of

Deleting column data & LOAD question

2003-11-19 Thread Patrick Larkin
Hello - what would the syntax be to delete all the data in a column for every record but still maintain the column? In other words, I don't want to delete the column, just the data in it. Second, is there a way I can LOAD a file of plain text passwords into a mysql database and encrypt them d

Re: piping blob into shell command (tar)

2003-11-19 Thread Denis Mercier
On Wed, 2003-11-19 at 14:02, Paul DuBois wrote: > At 13:55 -0500 11/19/03, Denis Mercier wrote: > >On Wed, 2003-11-19 at 12:26, Paul DuBois wrote: > >> At 11:03 -0500 11/19/03, Denis Mercier wrote: > >> > >> > > >> >i also tried: > >> >> >> >use my_db; > >> >> >> >select * from my_table;

Re: MySQL 4.0.16 on RHEL3 AS IA64

2003-11-19 Thread Owen Scott Medd
We were unsuccessful getting the MySQL AMD64 rpms to work on RHEL3 AS. I downloaded the source rpm and rebuilt the rpms on our Opteron server and they have mostly worked, only one crash so far which we are in the process of reporting to the MySQL support group. Of course, we are experiencing s

Re: Need Help Upgrading From 4.x to 4.x

2003-11-19 Thread aman raheja
What if one is using rpm - should just use the --upgrade option rpm -U Is this ok to do? Thanks Aman Raheja AGF Technologies http://www.agftech.com [EMAIL PROTECTED] wrote: On Wed, 19 Nov 2003, Mark Marshall wrote: Hi, everyone. I have a 4.0.4 beta install of Mysql on Red Hat 7.3. I want t

Re: can't start server

2003-11-19 Thread aman raheja
Do try ps -ef | grep mysqld to check the server is currently running. If not then do /etc/init.d/mysqld start Let know if there's an error at this point. Also show your my.cnf Did you use rpm or source to install mysql? Aman Raheja AGF Technologies http://www.agftech.com [EMAIL PROTECTED] wrote:

Re: error 13

2003-11-19 Thread William Fong
Check this out: http://www.mysql.com/doc/en/Repair.html -will - Original Message - From: "Yves Goergen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 11:12 AM Subject: Re: error 13 > I just received another error message I don't know what to do with: >

Re: can't start server

2003-11-19 Thread aman raheja
Hello I would firstly like to say that you are sending emails to me personally by hitting Reply - instead use Reply All next time so that others can view the problem too. I myself am *NOT* a guru in the field and so expect better advice from an expert. Anyway. Firstly - the error seems like w

Re: Need Help Upgrading From 4.x to 4.x

2003-11-19 Thread William Fong
You could either use mysqldump or just copy the data directory to a safe place. Also, if you do not need any special build flags, you should use the official MySQL binaries, either the RPM or tarball. They optimized the binaries. -will - Original Message - From: "Thomas Spahni" <[EMAIL

Re: error 13

2003-11-19 Thread Yves Goergen
I just received another error message I don't know what to do with: Got error 127 from table handler I tried to alter a table's structure. A restart of MySQL did help. A table CHECK showed no errors with that table. -- Yves Goergen [EMAIL PROTECTED] Please don't CC me (causes double mails)

Re: piping blob into shell command (tar)

2003-11-19 Thread Paul DuBois
At 13:55 -0500 11/19/03, Denis Mercier wrote: On Wed, 2003-11-19 at 12:26, Paul DuBois wrote: At 11:03 -0500 11/19/03, Denis Mercier wrote: > > >> >i also tried: >> >> >use my_db; >> >> >select * from my_table; >> >> > >> >> >so when i try shell> mysql --pager < test1 | tar x >>

RE: piping blob into shell command (tar)

2003-11-19 Thread Dan Greene
This may be simplistic, but is mysql putting any text before / after blob content, such as column name, '1 row processed OK', that may be 'corrupting' the tar data? using a very small tar file, and run your command, piping to more instead of tar to see if there is any extra text that mysql is ad

Re: Optimizing Custom Full Text Index

2003-11-19 Thread Santino
Have You tryed: SELECT A.id, COUNT(A.id), A.category FROM A, C WHERE C.content_id=A.id AND A.status='Active' AND (C.stem_word_id IN (10,20,30)) GROUP BY A.id Santino At 13:08 -0500 19-11-2003, Mike Boone wrote: Hi all, I have used PHP and MySQL for years but have never tackled the amount of data

Re: piping blob into shell command (tar)

2003-11-19 Thread Denis Mercier
On Wed, 2003-11-19 at 12:26, Paul DuBois wrote: > At 11:03 -0500 11/19/03, Denis Mercier wrote: > > > > >> >i also tried: > >> >> >use my_db; > >> >> >select * from my_table; > >> >> > > >> >> >so when i try shell> mysql --pager < test1 | tar x > >> >> > > >> >> >the tar file does no

mysql error

2003-11-19 Thread Hsiu-Hui Tseng
Hi, I keep getting the following error in mysql error file. Could anyone tell me what's going on and how to avoid this kind of error? 031117 2:44:37 Error reading packet from server: Lost connection to MySQL server during query (server_errno=2013) 031117 2:44:37 Slave: Failed reading log even

Re: Need Help Upgrading From 4.x to 4.x

2003-11-19 Thread Thomas Spahni
On Wed, 19 Nov 2003, Mark Marshall wrote: > Hi, everyone. > > I have a 4.0.4 beta install of Mysql on Red Hat 7.3. I want to upgrade > it to 4.0.16, and keep all the data intact. Do I just dump the > databases (just in case), stop the server, then "./configure, make, make > install" over top of

Optimizing Custom Full Text Index

2003-11-19 Thread Mike Boone
Hi all, I have used PHP and MySQL for years but have never tackled the amount of data that I now have (and it's expected to grow considerably). My queries run OK when the server is not busy but they just about kill the DB when traffic picks up. My apologies if this is common knowledge...I've had

C API Prepared Statement Interface - MYSQL_BIND

2003-11-19 Thread Richard Tibbetts
I am finding the documentation located at http://www.mysql.com/doc/en/C_API_Prepared_statement_datatypes.html on the C API Prepared Statement Interface to be a bit unclear. In the MYSQL_BIND datatype, when using mysql_bind_param() and mysql_excute() to pass parameters to a prepared statment, how

replication, multi-table update work around

2003-11-19 Thread Ware Adams
We'd like to set up replication in a simple master/single slave setup, but I can't figure out a way around an issue we'll have with multi table updates. The master will hold a set of databases, all of them will be replicated to the slave. The slave will hold the replicated databases plus a set of

Re: can't start server

2003-11-19 Thread aman raheja
Is this a production server? THIS IS not a good advice but If not then just step down to a lower init level turning off the network services and then come back into level 3/5 whatever you are using, depending on platform. Then try to start the server. If you would tell what platform you are run

Re: mysql_client

2003-11-19 Thread aman raheja
IN order to access a database say with a name "data_db" you have to grant permissions to a remote user by doing the following on the server GRANT ALL ON data_db.* TO [EMAIL PROTECTED] identified by 'password' Few things to remember. - Not a good idea to give access to root from remote clients - O

Re: piping blob into shell command (tar)

2003-11-19 Thread Paul DuBois
At 11:03 -0500 11/19/03, Denis Mercier wrote: > >> >i also tried: >> >use my_db; >> >select * from my_table; >> > >> >so when i try shell> mysql --pager < test1 | tar x >> > >> >the tar file does not get written to /usr/local/test1 but i still dont >> >get my untared files? write p

Re: mysql_fix_privilege_tables script

2003-11-19 Thread Paul DuBois
At 10:00 -0200 11/19/03, Fernando Gomes Bernardino wrote: Hi eveybody, The mysql_fix_privilege tables can be undone? I have already re-install mysql server and nothing Why do you want to undo it? You can undo it by restoring the grant tables from your most recent backup. But without knowing

pack_isam not working on Linux and HP-UX for mysql 4.0.15

2003-11-19 Thread mathan
Hello All I can't run the pack_isam binary on Linux and HP-UX for mysql 4.0.15 version. But it works fine for mysql 3.23.54a. === Error on HP-UX (both 11.22 and 11.23) : # pack_isam --join=/var/mysql/testdb/employee2 /var/mysql/testdb/emp

Replacing Multiple Subqueries

2003-11-19 Thread "Héctor Villafuerte D."
Hi all, I know how to do this query with subqueries like this: select * from traf_oper where rutasalien in (select ruta_salid from rutas where codigo_ope = 0) and rutaentran in (select ruta_salid from rutas where codigo_ope > 0)

Need Help Upgrading From 4.x to 4.x

2003-11-19 Thread Mark Marshall
Hi, everyone. I have a 4.0.4 beta install of Mysql on Red Hat 7.3. I want to upgrade it to 4.0.16, and keep all the data intact. Do I just dump the databases (just in case), stop the server, then "./configure, make, make install" over top of the old server and start it up again and see what hap

Re: piping blob into shell command (tar)

2003-11-19 Thread Denis Mercier
On Tue, 2003-11-18 at 18:32, Paul DuBois wrote: > Please reply to the list, not to me personally, so that > others can follow this discussion. that was my intention, sorry, I just used reply from my e-mail client and realized too late that it did not default to the mysql list. > > At 17:05 -0500

Re: very slow delete queries - never ending

2003-11-19 Thread gerald_clark
Perhaps you could add a limit to the delete, pause, and re-run until done. [EMAIL PROTECTED] wrote: snip mysql> delete quick from datatable where acttime < '2003-11-14 09:39:49'; or mysql> delete from datatable where acttime < '2003-11-14 09:39:49'; ...takes forever. I killed it after 2

MySQL 4.0.16 on RHEL3 AS IA64

2003-11-19 Thread Tomek Dudziak
Hi, Did anyone get the 4.0.16 binary to work on RedHat 3 Enterprise for IA64? I read that the same happens on RH3AS for AMD64. "This was thoroughly tested with our production team and it works truly just fine. " according to MySQL support :-\ 031102 22:07:17 mysqld started mysqld got signal 11;

Re: can't start server

2003-11-19 Thread aman raheja
did you try netstat and see if something else is using the port. Aman Raheja AGF Technologies http://www.agftech.com [EMAIL PROTECTED] wrote: I am sure that this problem has already been answered but some how I can't figure it out. When I try to start the mysqld I get the error 2002 can't start s

JOIN vs INNER JOIN?

2003-11-19 Thread Yves Goergen
Can someone tell me the difference between a JOIN and an INNER JOIN of two tables, please? I can't find the "JOIN" alone documented in the MySQL manual. -- Yves Goergen [EMAIL PROTECTED] Please don't CC me (causes double mails) -- MySQL General Mailing List For list archives: http://lists.mysq

Re: mysql_fix_privilege_tables script

2003-11-19 Thread Egor Egorov
"Fernando Gomes Bernardino" <[EMAIL PROTECTED]> wrote: > > The mysql_fix_privilege tables can be undone? I have already re-install mysql server > and nothing > Why do you want to do it? -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored

table design of multi-lingual content

2003-11-19 Thread Centaur zeus
Hi all , I want to design a table, say T_PRODUCT { PRD_ID, NAME, DESCRIPTION, PRICE } where I want NAME and DESCRIPTION to have multi language inputed. I searched before where found two solutions : 1) T_PRODUCT {PRD_ID, PRD_DETAIL_ID, PRICE} T_PRODUCT_DETAIL { PRD_DEATIL_ID, LANG, NAME, DESCRIP

Re: mysql & progress enterprise db

2003-11-19 Thread John Nichel
Claes Wiberg wrote: Hi, I need to a find a way to migrate a progress 4gl application from progress own database enterprisedb to mysql. The thing is that progress 4gl doesn´t really speak sql. Has anyone found a solution to this dilemma? Some sort of odbc-driver that can do the trick? brgds Is t

mysql & progress enterprise db

2003-11-19 Thread Claes Wiberg
Hi, I need to a find a way to migrate a progress 4gl application from progress own database enterprisedb to mysql. The thing is that progress 4gl doesn´t really speak sql. Has anyone found a solution to this dilemma? Some sort of odbc-driver that can do the trick? brgds

RE: mysqldump query

2003-11-19 Thread patrick kuah
Thanks... I will try that :) patrick From: Victor Pendleton <[EMAIL PROTECTED]> To: 'patrick kuah' <[EMAIL PROTECTED]>, Victor Pendleton <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: RE: mysqldump query Date: Mon, 17 Nov 2003 09:38:56 -0600 Are you running on a Linux platform? File => .my.cn

mysql_fix_privilege_tables script

2003-11-19 Thread Fernando Gomes Bernardino
Hi eveybody, The mysql_fix_privilege tables can be undone? I have already re-install mysql server and nothing Thanks a lot. Fernando Bernardino

MySQL Corruption

2003-11-19 Thread Neil Edgar
>Description: When we run the mysql database for any length of time, we end up with corruptions such as: /usr/local/mysql/bin/myisamchk: error: record delete-link-chain corrupted MyISAM-table 'CollectedValue' is corrupted CollectedValue is a table from our schema: create table CollectedValue(oi

Re: Easy (?) SELECT questions

2003-11-19 Thread Egor Egorov
Mark Wilson <[EMAIL PROTECTED]> wrote: > Two related questions. > 1. I have a table with a "date" field. (Ex: '04/13/2002'). I want to get a list > of all UNIQUE values for that field (many entries from the same day), i.e., all > days with entries. > ** > CREAT

Re: sleeping connections

2003-11-19 Thread Egor Egorov
dan orlic <[EMAIL PROTECTED]> wrote: > is there a way to close aging sleeeping connections after they have > slept for a certain amount of time? a setting or something in mysql? Take a look at wait_timeout and interactive_timeout variables: http://www.mysql.com/doc/en/SHOW_VARIABLES.html

very slow delete queries - never ending

2003-11-19 Thread riga . riga
I have a problem with a bigger table on mysql 4.0.16-log / debian linux I played around with indexes, delete quick and such, but I just can't get it to work. The following table holds >35mio rows and has >5mio inserts/replaces per day. to clean it up I want to delete all rows older than X days.

Re: SQL [Q] how to migrate 4.0 -> 4.1

2003-11-19 Thread Victoria Reznichenko
Andrey Kotrekhov <[EMAIL PROTECTED]> wrote: >> Andrey Kotrekhov <[EMAIL PROTECTED]> wrote: >> > Hi, All. >> > Other question is: >> > Can I create case sensitive field with right ordering of national >> > characters. >> > >> >> Take a look at collation name: "ci" at the end of the collation name me

functions in libmysqlclient.a conflicting with my own!

2003-11-19 Thread Bo Do
Hello all, I'm using mysql 3.23.49 under Debian Linux and gcc 2.95.4. I'm writing a mysql client in C, and therefore I link libmysqlclient.a in my program. The problem is that I also use and link a static list-handling library I've written some time ago. And of course problem arises with "mu

using temporary / using filesort and disk tables

2003-11-19 Thread Arnaud
Hi! I have a query that allways creates temporary tables to disk (the ratio created_tmp_disk_tables/created_tmp_tables is close to 0.8, but I think it is 1 for this particular query). This query joins 4 tables, groups by a field a orders by another field (or sometimes an sql variable). When I anal