Bienvenue € ¦à mysql-france

2002-04-19 Thread Mod€ ¦érateur de mysql-france
Bonjour, Bienvenue sur la liste de diffusion Mysql-france. Prenez 2 minutes pour lire ce message. Pour vous desinscrire, allez sur le site ONElist, www.onelist.com, et selectionnez les liens My ONElist situé à gauche. Vous pouvez aussi demander à recevoir une fois par semaine l'ensemble des

Demande de confirmation d'inscription à mysql-france

2002-04-19 Thread Yahoo! Groupes
Bonjour, Nous avons reçu votre demande d'inscription au groupe mysql-france sur Yahoo! Groupes, le nouveau service de communautés de Yahoo!. Pour vous inscrire, vous devez confirmer votre demande en répondant à ce message. Si vous n'avez pas demandé ou ne souhaitez pas vous inscrire au groupe

Re: Why using filesort here?

2002-04-19 Thread Benjamin Pflugmann
Hi. On Fri, Apr 12, 2002 at 02:49:03PM +0200, [EMAIL PROTECTED] wrote: [...] > mysql> explain select * from news where category = 'x' order by category DESC, >provider_date DESC; > >+---+--+++-+---+--+--

Re: Syntax error with merge tables

2002-04-19 Thread Benjamin Pflugmann
Hi. AFAIK, insert for MERGE tables was introduced in version 4.0.0. Let's see... yep, http://www.mysql.com/doc/N/e/News-4.0.0.html says so. Regards, Benjamin. PS: The syntax you used should be fine with a version supporting it On Fri, Apr 19, 2002 at 04:00:02PM -0700, [EMAIL PROTE

RE: problem

2002-04-19 Thread Roger Baklund
* Steve Edberg > At 1:10 PM +0300 4/19/02, cristian ditoiu wrote: > >mysql> INSERT INTO ref_data VALUES (186, 139, 'Tess of the > D\'Urbervilles', > >'THOMAS HARDY\r\nTESS OF THE D'URBERVILLES\r', 'tess.DOC', '2002-02-06', > > ...^ > > There's an unescaped ' there; if

Intermittent 1049 error

2002-04-19 Thread Clay Loveless
Hello, I'm running a relatively busy MySQL server on Mac OS X Server. MySQL runs on a dedicated dual G4 500, with 1.5 GB of RAM and an 18GB 15k rpm Ultra160 Cheetah drive. No other services besides MySQL run on this machine. Roughly 3-5 times per day, my MySQL server suddenly "forgets" most or a

how to use TWZ1 jdbc driver

2002-04-19 Thread Jennifer Moter
I'm trying to use the twz1 jdbc driver with dbvis. I keep getting a java.lang.VerifyError error. Has anyone been able to get dbvis to work with mysql via twz1 driver? thanks in advance jennifer moter - Before posting, please

Re: Syntax error with merge tables

2002-04-19 Thread Eric Thelin
On Sat, 20 Apr 2002 [EMAIL PROTECTED] wrote: > Your message cannot be posted because it appears to be either spam or > simply off topic to our filter. To bypass the filter you must include > one of the following words in your message: > > sql,query > > If you just reply to this message, and inclu

Large text amounts into a mysql table?

2002-04-19 Thread Jonas Andersson
Hi! I admit I´m a newbie but I´m really trying to get a grip on this... I have suceeded in creating an administration solution for websites and now one problem remains: When the values for a new website is submitted into a mysql table, it doesn´t work if the amount of text in the values are too

how do i applying an equation to every row of a result set?

2002-04-19 Thread Andy Kriger
I am trying to normalize a data set based on the minimum values of certain columns. I figured out that I can get the minimum value using a query like SELECT least(min(colOne),min(colTwo)) FROM myTable Is there a way I can do the normalization in a single query? Ideally, something like... SELECT

Specifying Error Log

2002-04-19 Thread Russell E Glaue
I think it would be a good idea to be able to specify the error log on the command line when starting mysqld. Right now mysql users can only specify the following logs on the command line: log (access/activity log) log bin log bin index log update log isam

Re: Selecting Information Just Inserted

2002-04-19 Thread Paul DuBois
At 14:10 -0400 4/19/02, Andrew Kuebler wrote: >Maybe someone can help me here.. > >I'm inserting data with an AUTO_INCREMENT column and immediately after I >need to use that new number for a corresponding record in another table. >How am I able to extract that new number quickly? I could run a SEL

Re: GRANT questions on OS X.

2002-04-19 Thread Paul DuBois
At 14:58 -0400 4/19/02, Barry C. Hawkins wrote: >Alex, > Enclose the user string in quotes. This will allow you to use >the global wildcard option. > >Example: >GRANT ALL ON *.* TO "myuser@%" IDENTIFIED BY "mypassword"; You should quote the user name and host name parts separately. "myuse

Re: GRANT questions on OS X.

2002-04-19 Thread Paul DuBois
>>>Why is this producing a syntax error at the %? This is supposed to >>>create a global user, yes? >>> >>>GRANT ALL ON *.* TO myuser@% IDENTIFIED BY "mypassword"; >> >>myuser@"%" > >Andrew Hazen emailed me to use single quotes and it worked. So does >mysql care if it is single or double quotes?

Fw: problem with load data local infile (repeat)

2002-04-19 Thread Darren Vollmer
I never saw this message make this list so I'm reposting it. - Original Message - From: "Darren Vollmer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 7:33 AM Subject: problem with load data local infile > I am having problems with load data local infile. > >

Re: Mysql Installation problem with 3.23.49 Linux Source release on RH7.3 Beta 1.

2002-04-19 Thread Christopher Thompson
Do you have g++ installed? It doesn't look like you do. On Friday 19 April 2002 1:45 pm, Ricky Sun wrote: > I am trying to install mysql 3.23.49 source release on RH7.3 Beta 1 > workstation... Encountered the following gcc C++ compiler executable > creation problem > > when ./configure check

RE: Mysql Installation problem with 3.23.49 Linux Source release on RH7.3 Beta 1.

2002-04-19 Thread Ricky Sun
I am trying to install mysql 3.23.49 source release on RH7.3 Beta 1 workstation... Encountered the following gcc C++ compiler executable creation problem when ./configure checks for C++ compiler it complains : checking for gcc... gcc checking whether the C compiler (gcc ) works... y

Re: Selecting Information Just Inserted

2002-04-19 Thread Erik Price
On Friday, April 19, 2002, at 02:10 PM, Andrew Kuebler wrote: > I'm inserting data with an AUTO_INCREMENT column and immediately after I > need to use that new number for a corresponding record in another table. > How am I able to extract that new number quickly? I could run a SELECT > query af

Re: Selecting Information Just Inserted

2002-04-19 Thread Luciano Barcaro
Hi, Andrew, To get the auto_increment value, simply execute select last_insert_id() after insert statement Andrew Kuebler wrote: >Maybe someone can help me here.. > >I'm inserting data with an AUTO_INCREMENT column and immediately after I >need to use that new number for a corresponding record

Re: GRANT questions on OS X.

2002-04-19 Thread Barry C. Hawkins
Alex, Enclose the user string in quotes. This will allow you to use the global wildcard option. Example: GRANT ALL ON *.* TO "myuser@%" IDENTIFIED BY "mypassword"; For those not using Mac OS X, the default shell is tcsh. I am not sure if this quirk is a function of string handling

RE: FW: Mysql unresponsive ....

2002-04-19 Thread vivek . chaudhary
Hi Joseph, The situation is like this. The daemon was running but any command / requests were hanging for example any mysqladmin command would sit there forever, any mysql command would behave the same way. OS - HP-UX 10.20 Mysql version - 3.23.33 There were lot of activities at the time ser

query optimization

2002-04-19 Thread Steve Katen
trying to make a query faster. the list helped out a lot last time, so i figured i would bring back and get more assistance. any thoughts? katen EXPLAIN SYNTAX: +-+---+-+---+-+---+--+---+ | table | type | possible_keys | key |

Re: table-building advice requested

2002-04-19 Thread Erik Price
Hi, I am following up on a thread I started yesterday about building my tables. (I have included the original email at the end of this one for reference.) I got some good feedback about it, and so have decided to change my entire battle plan, and was hoping to get some advice about it. The

Re: GRANT questions on OS X.

2002-04-19 Thread Alex Pilson
At 12:59 PM -0500 4/19/02, Paul DuBois wrote: >>Why is this producing a syntax error at the %? This is supposed to >>create a global user, yes? >> >>GRANT ALL ON *.* TO myuser@% IDENTIFIED BY "mypassword"; > >myuser@"%" Andrew Hazen emailed me to use single quotes and it worked. So does mysql c

Selecting Information Just Inserted

2002-04-19 Thread Andrew Kuebler
Maybe someone can help me here.. I'm inserting data with an AUTO_INCREMENT column and immediately after I need to use that new number for a corresponding record in another table. How am I able to extract that new number quickly? I could run a SELECT query after the INSERT using the MAX command, b

Re: How to build mysql 3.23.49a on HP-UX 11.11

2002-04-19 Thread Ing. Gustavo Edelstein
Hi Rick, I've posted a similar question about it, trying to compile MySQLMAX on an HPUX 11 box. Nobody answered !! Browsing the web for related sites and information I've found that the only way to do that is using the aCC compiler, which is sold separatelly from HP at a cost of more than $1500.

GRANT questions on OS X.

2002-04-19 Thread Alex Pilson
Why is this producing a syntax error at the %? This is supposed to create a global user, yes? GRANT ALL ON *.* TO myuser@% IDENTIFIED BY "mypassword"; Is there a quick command to show all GRANTS? or Users? -- <-> Alex Pilson FlagShip In

Apologies

2002-04-19 Thread Shaun Bramley
To the members of the list, This is in regards to my posting regarding mySQL's licencing. I'm afraid that I forgot to remove the 'request read receipt' on this installation of Outlook. Do to this oversight many of you have been forced to either send/not-send the notification. I will endevor to

Seeking Freelancer

2002-04-19 Thread Will K.
Greets Folks, I need help with some too-involved-for-me CGI stuff, and I'd like to work with a freelance programmer/consultant. The consulting will be for a mature themed site, and I am running on a limited budget, so open minds only please. The project is for a paid membership site using Per

RE: Optimizing the table

2002-04-19 Thread Paul DuBois
At 9:35 -0700 4/19/02, Soheil Shaghaghi wrote: >Hi all, >A few days ego, I asked the group about the meaning of the Overhead in sql. >Some >people were nice enough to answer me, and told me I needed to optimize the >table. > >Here is what phpMyAdmin reports on the table: >Space usage : Type Usage

OT: cross db connections

2002-04-19 Thread Jay Fitzgerald
Is there a way to do a database cross connection from mySQL to a GMACCESS system? Should you have any questions, comments or concerns, feel free to call me at 318-338-2034. Thank you for your time, Jay Fitzgerald, Design Director - CSBW-A, CPW-A, CWD-A, CEMS-A ===

join?

2002-04-19 Thread Fifield, Mike
My question is this; I have a database that looks like this. galleries gallery_id gallery_name 1 3d 2 fractals 3 abstract 4 cats 5 cars Images image_id gallery_id

RE: Birthday select

2002-04-19 Thread Gurhan Ozen
Ignore my previous post.. SELECT ... FROM table WHERE MONTH(datecolumm)=MONTH(NOW()) AND DAYOFMONTH(datecolumn)=DAYOFMONTH(NOW()); Lessons learned in the last few days = Never post messages right before or on the project implementation day. Thanks Keith for pointing that out... Gurhan -O

RE: Optimizing the table

2002-04-19 Thread Soheil Shaghaghi
Hi all, A few days ego, I asked the group about the meaning of the Overhead in sql. Some people were nice enough to answer me, and told me I needed to optimize the table. Here is what phpMyAdmin reports on the table: Space usage : Type Usage Data 1,602 KB Index 3,729 KB Overhead 24,718 Bytes Effe

Re: mysqldump doesn't write data on subsequent calls (MySql 4.0.1)

2002-04-19 Thread Nick Pasich
On Fri, Apr 19, 2002 at 04:12:35AM -0700, Jeremy Zawodny wrote: > On Wed, Apr 10, 2002 at 08:48:01AM -0700, Nick Pasich wrote: > > [snip] > > > > > Any subsequent executions do not. This is because of query caching. > > I can run --> mysql -e "reset query cache" <-- which will enable >

Re: problem

2002-04-19 Thread Steve Edberg
At 1:10 PM +0300 4/19/02, cristian ditoiu wrote: >hi , i have a little mysql problem . >: >got 2 servers .. 1 got a dump from server1 via myadmin , but when trying to >insert the data into server 2 i got a strange errror and i got disconected >from server2 . > >any ideeas ? > >-- >

Re: installation prob.

2002-04-19 Thread Victoria Reznichenko
Paras, Friday, April 19, 2002, 2:55:22 PM, you wrote: PM> I just now reinstalled MySQL Ver 4.0.1 on Linux Mandrake 7.2 on Intel P III PM> m/c using the RPM available at MySQL website. The installation got through PM> w/o any prolem, but it gives "Segmentation Fault" - core dumped when I run PM> M

Re: licence

2002-04-19 Thread Shaun Bramley
Shaun, I am not sure about everyone else on the list, but as far as I am concerned, since you are purchasing a service from your provider, all licencing should be dealt with by them. I would be awefully suspicious of any survice provider that wouldn't already have this information. Regards,

RE: Birthday select

2002-04-19 Thread Gurhan Ozen
SELECT ... FROm table WHERE datecolumn=NOW(); Gurhan -Original Message- From: Soheil Shaghaghi [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 11:09 AM To: [EMAIL PROTECTED] Subject: Birthday select Hi everyone. I have a sql database of users with their birth date (Y/M/D). Ca

Re: Birthday select

2002-04-19 Thread Paul DuBois
>Hi everyone. >I have a sql database of users with their birth date (Y/M/D). > >Can anyone please tell me how I can check whose birthday each day is, and >pull them from the database? WHERE MONTH(birth) = MONTH(CURDATE()) AND DAYOFMONTH(birth) = DAYOFMONTH(CURDATE()) I'm assuming you have birth

Re: licence

2002-04-19 Thread Sinisa Milivojevic
Neil Highley writes: > Let me know about the answer to this one. > > [EMAIL PROTECTED] > --- > "Life must be lived as play." > - Plato (427 - 347 BC) You will be duly informed ... -- Regards, __ ___ ___ __ / |/ /_ __/ __/ _

How to build mysql 3.23.49a on HP-UX 11.11

2002-04-19 Thread rick
Has anyone built mysql 3.23.49a on HP-UX 11.11 using GCC 3.0.x? If so, what were your CC, CXX, CFLAGS, CXXFLAGS and ./configure set up? Thanks, Rick - Before posting, please check: http://www.mysql.com/manual.php (th

Birthday select

2002-04-19 Thread Soheil Shaghaghi
Hi everyone. I have a sql database of users with their birth date (Y/M/D). Can anyone please tell me how I can check whose birthday each day is, and pull them from the database? Thanks, Soheil - Before posting, please check:

Re: licence

2002-04-19 Thread Neil Highley
Let me know about the answer to this one. [EMAIL PROTECTED] --- "Life must be lived as play." - Plato (427 - 347 BC) - Original Message - From: "Sinisa Milivojevic" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[E

Re: My SQL ++ Bug and Port

2002-04-19 Thread Sinisa Milivojevic
Thank you for your report. Yes, I know about this leak in Windows version. It is due to it's stack limitations. Current developrment branch has this leask fixed already ... -- Regards, __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Mr. Sinisa Milivojevic <[EMAIL PROTECTED]> / /|_

Re: licence

2002-04-19 Thread Sinisa Milivojevic
Klym writes: > I hope I'm not out of line by asking a licensing question. I am working on > a MySQL database for a web-based survey. We will be charging a fee to > complete the survey and receive reports. Am I required to purchase a MySQL > licence for this or does my hosting company who sold m

"MySQL and Perl for the Web" now available in Dutch

2002-04-19 Thread Paul DuBois
I'm pleased to announce that MySQL and Perl for the Web (New Riders, by me) is now available in a Dutch translation (MySQL en Perl voor het web). Not that I can read a word of it ... :-) Information is available on the translations page at the book's Web site: http://www.kitebird.com/mysql-perl/

Re[2]: SELECT the first letter MATCH in mySQL

2002-04-19 Thread Paul DuBois
At 15:29 +0200 4/19/02, Toomas Vendelin wrote: >Hello Paul, > >But RLIKE won't use indexes (even if they exist), so why RLIKE '^A' is >better than LIKE 'A%', if LIKE which starts at the beginning of the >string **will** use indexes? I was comparing RLIKE '^A.*' to RLIKE '^A', not RLIKE to LIKE.

FW: BSD: Random unknown database error

2002-04-19 Thread Dan S. Camper
Update: After finding a reference to problems with BSDI and the realpath() system call in the mailing list archives, I tried rebuilding MySQL with the HAVE_BROKEN_REALPATH flag defined. That seemed to clear up the problem, at least with the testing that I performed. YMMV. DSC _

Re: SELECT from blob column

2002-04-19 Thread Grady Drago
Not to beat an apparently dead horse... My problem was that interactively I could not get the following statement to execute (on Win NT, myISAM table, mySQL 3.23.49-nt): insert mytable values (1, 2 ,3, LOAD_FILE('c:\myfile.ext')); However, I found this would work: insert mytable (col1, col2, c

Re: group by help?

2002-04-19 Thread Mick Watson
It's ok, I do actually fully understand relational database theory and what the group by statement is used for, but like I say, I personally have no control over the database or the SQL :-) I was hoping to get hold of someone who maybe knows the source code quite well already and could help me o

Re: group by help?

2002-04-19 Thread Richard Emery
As a relational database, it doe not matter the order in which data are stored. Rather, what matters are the methods by which data are extracted via the SELECT statement. In order to derive benefits of GROUP BY, you must use it with SELECTs that use GROUP BY functionality, such as SUM(), COUNT()

My SQL ++ Bug and Port

2002-04-19 Thread Edward Riede
I am working with the MySql++ 1.7.9 on windows98 using borland C++ 6.0. I have found and fixed a memory leak ( applicable on all platforms that need the __USLC__ conditional defined) , and sucessfully ported the system to borlanbd C++ 6 with a very minimum of modifications. (mostly resolving in

MySQL Problem

2002-04-19 Thread Mike At Spy
am having some trouble with MySQL. Seems I cannot add users. Well, I can add them (through phpMyAdmin, but they are still not able to get into the datasbases. I flushed the tables, too. Current users are not affected. This started, rather suddenly, the day after I was able to do this. Anyon

Re: Select with Order By that don't use my INDEX :(

2002-04-19 Thread @Basebeans.com
Subject: Re: Select with Order By that don't use my INDEX :( From: Vic Cekvenich <[EMAIL PROTECTED]> === Better yet, remove the order by. Make it sort by the index, ie, create an index that matches your select. Vic Dr. Frank Ullrich wrote: > David, > > it can't because this field is not the fi

licence

2002-04-19 Thread Klym
I hope I'm not out of line by asking a licensing question. I am working on a MySQL database for a web-based survey. We will be charging a fee to complete the survey and receive reports. Am I required to purchase a MySQL licence for this or does my hosting company who sold me the use of MySQL co

Re: Lock databases

2002-04-19 Thread Joao A. Marques
Is it ok for version 3.22.32 ? João Alexander Marques [EMAIL PROTECTED] Uranet Projetos & Sistemas Ltda. Tel. : 55 11 3242-1353 - Original Message - From: "Jeremy Zawodny" <[EMAIL PROTECTED]> To: "Kory Wheatley" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, April 18, 2002

Re: group by help?

2002-04-19 Thread Mick Watson
Thank you :-) I do realise the SQL is not being used as it should be, but as it is not my database and nor is it my SQL, there's not much I can do to really change either of these I merely have to work with a database that has been produced by a third party group, and I must say at this point

problem with load data local infile

2002-04-19 Thread Darren Vollmer
I am having problems with load data local infile. The mysql host server is running 3.23.23 I was able to successfully use load data local infile before to import data off of a client machine onto the mysql host but now all i get is a can't stat file errcode2 message. I know that the pathname I

Re: Max 127 records

2002-04-19 Thread Richard Emery
Are you saying that you want a table with a maximum of 127 records ? Or, that due to your TINYINT, you are RESTRICTED to 127 records? If you are restricted to records, change TINYINT to INT. If you want to have ONLY 128 records, change TINYINT to TINYINT UNSIGNED, which will permit records 1 thro

Re[2]: SELECT the first letter MATCH in mySQL

2002-04-19 Thread Toomas Vendelin
Hello Paul, But RLIKE won't use indexes (even if they exist), so why RLIKE '^A' is better than LIKE 'A%', if LIKE which starts at the beginning of the string **will** use indexes? Regards, Tom PD> Regular expression patterns (unlike SQL patterns) don't need to match the PD> entire string, so R

Re: group by help?

2002-04-19 Thread Richard Emery
mysql is acting correctly. GROUP BY is used to consolidate data for SUMming, COUNTing, etc. Your SELECT statement makes not such request. You have simply requested the value of a specific field. Data are stored in mysql databases randomly. Therefore, when you request a field's data, you are ge

Re: Max 127 records

2002-04-19 Thread Egor Egorov
Henning, Friday, April 19, 2002, 3:38:49 PM, you wrote: HO> Hey - can anyone help? HO> I have a MySql-db in which I can only have 127 records. HO> Using phpmyadmin to insert record number 128 (autoincrement) gets this message: HO> INSERT INTO `kontakt` (`id`, `navn`, `adresse`, `postnummer`, `by

Re: How can I change my default character set without ./configure??

2002-04-19 Thread Egor Egorov
Gokce, Friday, April 19, 2002, 12:51:34 PM, you wrote: GA> I have a table within turkish characters. GA> I know which set I must use: latin5 GA> But I couldn' t set it. Run mysqld with --default-character-set=latin5 option or edit my.cnf. Look at: http://www.mysql.com/doc/C/h/Character_set

Re: Re: Changing international charset for ORDER by sorting

2002-04-19 Thread Victoria Reznichenko
Webmaster33, Thursday, April 18, 2002, 8:01:30 PM, you wrote: W> I understand. Bad to hear. :-( W> I think there would be important to implement features to be able W> to set different character sets for each table, or to change W> character sets dynamically without the need to restart MySQL

Re: Grant User Persmissions

2002-04-19 Thread Victoria Reznichenko
Chris, Thursday, April 18, 2002, 8:50:06 PM, you wrote: CS> Is there any way to grant a user only SELECT permissions on a set of tables CS> in MySQL, but to also allow them to have CREATE, DROP, and INSERT on the CS> Database itself?? CS> What I want is a database where the users cannot modify

Re: How to upgrade/migrate Mysql Server

2002-04-19 Thread Egor Egorov
Sridhar, Friday, April 19, 2002, 12:54:14 AM, you wrote: SP> We are currently using Mysql (3.22.32) on a Solaris platform. We are SP> looking to upgrade/migrate this current version to 3.23.49a, for SP> utilizing the replication functionality. I would appreciate if anyone SP> can clarify the foll

Re: Re: TZ setting

2002-04-19 Thread Victoria Reznichenko
Gerald, Thursday, April 18, 2002, 1:52:25 AM, you wrote: GRJ> Can the TZ be set in my.cnf (my.ini) when the MySQL server starts up? GRJ> I have read the manual on this, and tried various combinations, but haven't GRJ> hit the right syntax. No, you can't specify timezone in the my.cnf(my.ini) fi

Re: Renaming database

2002-04-19 Thread Victoria Reznichenko
MH, Thursday, April 18, 2002, 11:50:12 PM, you wrote: M> Is there a "sanctioned" way to rename a MySQL 3.23.x database, consisting M> of MyISAM tables? 1. Take down the MySQL server. 2. Rename dir, that contains tables(files) of your database. 3. Start the MySQL server. 4. Don't forget to corr

Re: Downgrade

2002-04-19 Thread Egor Egorov
David, Friday, April 19, 2002, 8:17:27 AM, you wrote: DT> Are there any steps I need to take to ensure no corruption of the database if DT> I downgrade from say DT> 3.23.49 DT> to DT> 3.23.48 You can find a short notes about upgrading/downgrading MySQL in the manual: http://www.mysql.com

RE: Max 127 records

2002-04-19 Thread Roger Baklund
* Henning Olsen > I have a MySql-db in which I can only have 127 records. > Using phpmyadmin to insert record number 128 (autoincrement) gets > this message: > > INSERT INTO `kontakt` (`id`, `navn`, `adresse`, `postnummer`, > `by`, `telefon`, `kommentar`) VALUES ('', 'fsd', 'sfdg', 'sg', > 'fdsg',

Re: Max 127 records

2002-04-19 Thread Ciprian Trofin
> A closed mouth maintains a happy mind. It could be that you specified signed TINYINT as type for the PRIMARY KEY. Signed TINYINT goes from -127 to 127, hence your problem. HO> INSERT INTO `kontakt` (`id`, `navn`, `adresse`, `postnummer`, `by`, HO> `telefon`, `kommentar`) VALUES ('', 'fs

installation prob.

2002-04-19 Thread Paras Mukadam
Hi Gurus, I just now reinstalled MySQL Ver 4.0.1 on Linux Mandrake 7.2 on Intel P III m/c using the RPM available at MySQL website. The installation got through w/o any prolem, but it gives "Segmentation Fault" - core dumped when I run MySQLADMIN. I have followed all the post-installation steps gi

Re: Max 127 records

2002-04-19 Thread Steve Buehler
WowI think I can finally help somebody on this list. Ok. I bet that you have your column set up as "tinyint". I presume it would be the "id" column that you have. "tinyint" is the following: Signed values: -128 to 127 Unsigned values: 0 to 255 I ran into the problem before too. So if you

Re: Max 127 records

2002-04-19 Thread Fred van Engen
Hi, On Fri, Apr 19, 2002 at 01:38:49PM +0100, Henning Olsen wrote: > Hey - can anyone help? > I have a MySql-db in which I can only have 127 records. > Using phpmyadmin to insert record number 128 (autoincrement) gets this message: > > INSERT INTO `kontakt` (`id`, `navn`, `adresse`, `postnummer`,

SV: Max 127 records

2002-04-19 Thread Carsten Gehling
> Fra: Henning Olsen [mailto:[EMAIL PROTECTED]] > Sendt: 19. april 2002 14:39 > Hey - can anyone help? > I have a MySql-db in which I can only have 127 records. > Using phpmyadmin to insert record number 128 (autoincrement) gets > this message: > > INSERT INTO `kontakt` (`id`, `navn`, `adresse`,

Max 127 records

2002-04-19 Thread Henning Olsen
Hey - can anyone help? I have a MySql-db in which I can only have 127 records. Using phpmyadmin to insert record number 128 (autoincrement) gets this message: INSERT INTO `kontakt` (`id`, `navn`, `adresse`, `postnummer`, `by`, `telefon`, `kommentar`) VALUES ('', 'fsd', 'sfdg', 'sg', 'fdsg', 'sfg

Re: mysqldump doesn't write data on subsequent calls (MySql 4.0.1)

2002-04-19 Thread Jeremy Zawodny
On Wed, Apr 10, 2002 at 08:48:01AM -0700, Nick Pasich wrote: [snip] > > Any subsequent executions do not. This is because of query caching. > I can run --> mysql -e "reset query cache" <-- which will enable > the next call to mysqldump to write data. > > I believe that

group by help?

2002-04-19 Thread Mick Watson
Hi I am having some trouble figuring out how mySQL interprets the group by clause in a particular set of data that I have (the ensembl database if anyone is familar with it!) Now, I have some data like this: +-++--+ | gene_id | display_id | db_name | +-+

Re: Really big text - where to get?

2002-04-19 Thread Alec . Cawley
> When you write another MySQL-based search engine, you > obviosly test it issuing queries against big amounts of data which contains more > or less sane text. Tell me, where (or how) you usually get the text > when you need, say, 10GB of it and, I repeat, it should be a REAL > non-repeating tex

Re: SELECT the first letter MATCH in mySQL

2002-04-19 Thread Paul DuBois
At 9:00 +0200 4/19/02, Jan Peuker wrote: >There is a method using trim() but I think it's better to use RLIKE "^A.*" Regular expression patterns (unlike SQL patterns) don't need to match the entire string, so RLIKE '^A' is sufficient and more efficient because it doesn't spend time trying to matc

problem

2002-04-19 Thread cristian ditoiu
hi , i have a little mysql problem . : got 2 servers .. 1 got a dump from server1 via myadmin , but when trying to insert the data into server 2 i got a strange errror and i got disconected from server2 . any ideeas ? -- Your MySQL connection id is 752533 to server version: 3.23.

database restriction

2002-04-19 Thread chuck amadi
Hi the best thing to do is check out Dev.Shed.com - MySql the addressas follows http://www.devshed.com./Server_Side/MySQL/Administration This tells you basically the tasks of correctly administering the MySql server,including the manipulation of the privilege system. I could waffle on a bit b

avoiding skip locking

2002-04-19 Thread moka
I am doing some automated mysql -u user -ppasswd database < insertfile.sql in a loop and have some skip locking presumably because there are a number of jobs running to do this (with different files, which however use the same tables). Should I rather do line by line inserts for speed? Th

Re: MySQL 3.23.49 and HP-UX 10.20 Install

2002-04-19 Thread Michael Widenius
Hi! > "Michael" == Michael Stassen <[EMAIL PROTECTED]> writes: Michael> This has come up before. In fact, I had the exact same problem. You can Michael> see the the thread "Coredump when running scripts/mysql_install_db " at Michael> http://lists.mysql.com/cgi-ez/ezmlm-cgi?1:msp:93051

Re: Select with Order By that don't use my INDEX :(

2002-04-19 Thread David BORDAS
- Original Message - From: "Joseph Bueno" <[EMAIL PROTECTED]> To: "David BORDAS" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 10:34 AM Subject: Re: Select with Order By that don't use my INDEX :( > David BORDAS a écrit : > > > > I'm using mysql 3.23.49 on Lin

How can I change my default character set without ./configure??

2002-04-19 Thread Gokce AKKAYA
I have a table within turkish characters. I know which set I must use: latin5 But I couldn' t set it. Thanks SQL,Sql,sql Edakom Internet Sorumlusu Gokce Akkaya - Before posting, please check: http://www.mysql.com/

RE: Date function

2002-04-19 Thread Xavier Prélat
This should work : $SQL = "INSERT INTO orders (Customer_Id, Order_Date)". "VALUES($CustID,Now())"; Xavier -Message d'origine- De : Alia Mikati [mailto:[EMAIL PROTECTED]] Envoyé : vendredi 19 avril 2002 11:28 À : [EMAIL PROTECTED] Objet : Date function Hello I

Re: Select with Order By that don't use my INDEX :(

2002-04-19 Thread Dr. Frank Ullrich
David, it can't because this field is not the first one in your concat index! Regards, Frank. David BORDAS wrote: > > I'm using mysql 3.23.49 on Linux redhat dedicated server. > > Here is my query : > > mysql> show index from MyTable; > > Table

Re: Date function

2002-04-19 Thread Jan Peuker
I never saw the function "date()", to insert current date use: CURRENT_DATE(); regards, Jan - Original Message - From: "Alia Mikati" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 11:27 AM Subject: Date function > Hello > I have the following SQL and I wanna

Date function

2002-04-19 Thread Alia Mikati
Hello I have the following SQL and I wanna insert the current date in one of the table fields but it's not working. Can u tell me whats the problem? (I'm using mysql and php) Thx a lot $SQL = "INSERT INTO orders (Customer_Id, Order_Date)". "VALUES($CustID,date())"; -

Re: Select with Order By that don't use my INDEX :(

2002-04-19 Thread Joseph Bueno
David BORDAS a écrit : > > I'm using mysql 3.23.49 on Linux redhat dedicated server. > > Here is my query : > > mysql> show index from MyTable; > > Table: MyTable > Non_unique : 0 > Key_name: PRIMARY > Seq_in_index: 1 > Column_name

Re: FW: Mysql unresponsive ....

2002-04-19 Thread Joseph Bueno
Hi, May be this list was unresponsive because your description of the problem was a bit vague... I haven't experienced this kind of behaviour myself however some more details on your problem may help: - What OS are you using ? - What version of MySQL are you using ? - Was mysql server dead ? (

Re: Large Index's Fail

2002-04-19 Thread Joseph Bueno
Michael Williams a écrit : > > Okay, this may well be a LINUX issue I am having, so be kind before you > flame. > > When I try to index a large file, it fails with a write error on the /tmp > directory. Now my /tmp directory is on a smaller partition (as sent to me > by dell). Can I configure

Select with Order By that don't use my INDEX :(

2002-04-19 Thread David BORDAS
I'm using mysql 3.23.49 on Linux redhat dedicated server. Here is my query : mysql> show index from MyTable; Table: MyTable Non_unique : 0 Key_name: PRIMARY Seq_in_index: 1 Column_name : Field0 Collation : A Cardinality

Re[2]: SELECT the first letter MATCH in mySQL

2002-04-19 Thread Toomas Vendelin
Hello Mikael, Just add LIMIT 10 (which is equivalent to LIMIT 0,10) to show the first 10 records, and LIMIT 10,10 to show 10 records starting from 10. This issue is covered in online docs. Regards, Tom Friday, April 19, 2002, 9:18:53 AM, you wrote: MH> This brings up another question to m

RE: SELECT the first letter MATCH in mySQL

2002-04-19 Thread Mikael Hultén
This brings up another question to my mind. What if I only want to show the first 10 records and then the next 10 from that query? How do I do that? -Original Message- From: Charles Brisson [mailto:[EMAIL PROTECTED]] Sent: den 19 april 2002 09:52 To: [EMAIL PROTECTED] Subject: Re: SELECT