host table in mysql database

2003-01-09 Thread Guy Waugh
Hi there, I'm cleaning up MySQL permissions on one of my servers, and I see that in the mysql.host table, there are 8 rows. All 8 rows contain specific hosts in the 'Host' column (i.e. no wildcards) and specific databases in the 'Db' column. Further, all rows in all privilege columns in the hos

Re: Re[4]: mysql 4.0.8- crash on TCP connection

2003-01-09 Thread Johannes Ullrich
On Thu, 9 Jan 2003 22:56:04 +0200 "Gelu Gogancea" <[EMAIL PROTECTED]> wrote: > > All this is very interesting, BUT i have two binary builds (4.0.7 & > 4.0.8), > Ha,Hayou are gentle. > > > (load avg 10-60 Query/sec), and 4.0.8 crash (in some > > hardware/software) after 2 seconds work :( >

Re: MySQL Database Design

2003-01-09 Thread Michael T. Babcock
Colaluca, Brian wrote: I have come to a brick wall on one facet of my design, however. I've come to understand that having a lot of NULLs in your database may be a sign of a poor design. And yet I'm having a problem reconciling this with the wildly un-uniform world of wines from around the worl

RE: MySQL Database Design

2003-01-09 Thread Jennifer Goodie
Blend will be a cross reference with a one to many relationship This is very simplified but an example of your data could be: Select * from Wine; ++--+ | WineID | WineName | ++--+ | 1 | XYZ | ++--+ Select * from Grape; +-+

Re: remote connect crash

2003-01-09 Thread Christopher E. Brown
On Thu, 9 Jan 2003, Dmitry V. Sokolov wrote: > Good day, > could you help me to solve this problem? > > MySQL server segmentation faults when remote mysql client > tries to connect on source and binary distributions. Local > client connect does not cause any problems whatsoever. The server dies

Re: Version 4 "safe" to use?

2003-01-09 Thread Jeremy Zawodny
On Thu, Jan 09, 2003 at 01:51:20PM -0300, Maximo Migliari wrote: > > What were the main benefits that you noticed straight away before > adapting your code to use the new features that MySQL 4 offers? Replication is faster in 4.0. That's a big win for us, as we use replication pretty heavily. >

RE: May I raise a question?

2003-01-09 Thread seed . chan
Thanks, Gerald, I'm trying to install the MySQL. Apache & Php in Windows 2000 Professional. A book telling me that I should install them in the above sequence. Actually the error message is before the installation of Apache, is it the root cause? Should I try again after I start the server?

Transaction and Row Locking Feature

2003-01-09 Thread Robert Tam
Hello, I am a new user to MySQL. I need innoDB's transaction and row locking feature in MySQL. Could someone clarify whether the latest 3.23.54a of MySQL fully supports innoDB transaction and row locking or do I have to use beta/gamma version of MySQL 4.0.x. Thanks in advance. R.T. -

Re: Case Problems...

2003-01-09 Thread Nick Stuart
Ah, I see. Was unaware of this new feature, and thanks for the explanation. -Nick On Thu, 2003-01-09 at 17:20, Stefan Hinz, iConnect (Berlin) wrote: > Nick, > > > CREATE DATABASE LookAtMe; > > the database is created but as: > > lookatme > > This is not a bug, but a feature. By default, MySQL 4

Re: converting text to hypertext

2003-01-09 Thread Michael T. Babcock
Rick Tucker wrote: This is the code I'm using. I'm pretty new to PHP, so there may be a simple solution within PHP of which I'm unaware. I just thought it could be done from the MySQL side of things. I think the point is more that there's no reason to have MySQL do it at all since the logic

mysql monitoring

2003-01-09 Thread Michael Weiner
There are a few solutions out there for you. I recommend you check out RRDTOOL, and associated packages at http://people.ee.ethgz.ch/~oetiker/webtools/rrdtool/ and also look for a took called cactus, it absolutely rules. THere are others, but rrdtool, has a myriad of contributed packages it can w

Re: Possable bug, remote mysqld crash and DoS

2003-01-09 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christopher E. Brown wrote: Description: MySQL 4.0.8, both compiled my me and the official release version crashes whenever receiving a network connection from a system without a DNS entry. Connecting from a system that resolves on reverse (eithor f

Starting MySQL

2003-01-09 Thread cam vong
I'm currently using Red Hat 7.1. I have loaded the apache, php, and mysql rpm. I seem to be having trouble starting MySQL. It gives me the following error: Can not connect to localhost MySQL server through socket /var/lib/mysql/mysql.sock (111). Can some help me, please? __

请求容辰庄园老板段海容先生速还救命钱!!!

2003-01-09 Thread 请还救命钱!
mysql:ÄúºÃ! ±±¾©Èݳ½×¯Ô°ÆÏÌѾÆÓÐÏÞ¹«Ë¾ÀÏ°å¶Îº£ÈÝÏÈÉú£ºÄúÊÇÃÀ¹ú»ªÒá´óÀϰ壬ÄúÊÇÉí¼Û¹ýÒڵĴ󸻺À£¬ÄúÊDz»»áÔÚºõ¶ÔÄúÀ´ËµÇøÇø¼¸ÍòÔªµÄÇ·¿î µÄ£»È»¶ø£¬ÕâЩǮ¶ÔÓÚÑÛÏÂΪÖβ¡ÒÑÇîÀ§Áʵ¹ÓÖÉí»¼°©Ö¢µÄÑîÏÈÉúËûÃÇÀ´Ëµ£¬¼ÈÊÇËûÃǵÄѪº¹Ç®£¬¸üÊÇËûÃǵľÈÃüÇ®¡£Äú²»Êdz£Ëµ£º×öÉúÒâÒ»¶¨ ÒªÏÈѧ»á×öÈËÂï¡£ÇëÇóÄú·¢·¢´È±¯£¬·

Re[4]: mysql 4.0.8- crash on TCP connection

2003-01-09 Thread Andrew Sitnikov
Hello , GG> Functions gethostby* ,from glibc, work directly with the /etc/hosts file.If GG> this functions didn't find an entry for the client, will be crashed. GG> I try to find in the Andrew e-mail if he has installed the glibc 2.2.x but i GG> don't see nothing about it. #> uname -a Linux gap 2

Calculate time span in mysql

2003-01-09 Thread Paul Choy
Hi : I am trying to calculate the time span of listing a large table database in mysql and I run into trouble where I am trying to use curtime() - value stored in startime.But I do not know how to get the stored value out from startime.Does anybody knows how I can get value out from startime wh

Re: count(expr)

2003-01-09 Thread Paul DuBois
At 10:29 -0600 1/9/03, Meena Vyavahare wrote: Here is my query- Select col1, col2, count(*) as total, count(col3 < col4) as violations from table1 Where condn group by col1, col2 The result of this query shows same values at both the columns for total and violations. The count(expr) does not wor

Re: SELECT DISTINCT *

2003-01-09 Thread gerald_clark
Maybe if we knew what . . . . . . . . . . means, we could answer. [EMAIL PROTECTED] wrote: Hey all; I am trying to work on a query that has SELECT DISTINCT * .. This does not work. While there is no error, the where clause causes repeats. I do not really expect this to work, as DIST

post installation error

2003-01-09 Thread Black Eagle
Hey guys, I've just installed mysql from source 4.23.54a But after ./configure --prefix=/usr/local/mysql make make install I makes an error that there's no mysql user .. so I created one ! And I changed the owner of /usr/local/mysql/var/ and recursively to mysql:mysql . now it gives me

Re: MySQL on large server

2003-01-09 Thread Jeremy Zawodny
On Thu, Jan 09, 2003 at 08:55:36AM +, mysql list wrote: > Hi, > > I was wondering if anybody has built MySQL 3.23 from source that can > handle a high number of connections & threads. I've have tried MySQL > binaries in the past (not RPMs), but these have had stability/load > problems. When bu

Re: Load local data infile problem

2003-01-09 Thread Stefan Hinz, iConnect \(Berlin\)
Paul, >> Personally, I regard this security >> "improvement" rather a bug than a feature. > The implementation certainly is problematic, but the underlying > issues that it tries to address is definitely real and not to be ignored. > People who say otherwise generally don't understand what those

mysql

2003-01-09 Thread Lists @ Apted Tech.
automake: strings/Makefile.am: Assembler source seen but `CCAS' not defined in `configure.in' automake: strings/Makefile.am: Assembler source seen but `CCASFLAGS' not defined in `configure.in' error: Bad exit status from /var/tmp/rpm-tmp.37688 (%build) RPM build errors: Bad exit status from /

Off-Topic Posts

2003-01-09 Thread Zak Greant
Dear Readers, Over the last week there have been a series of messages posted to this list that were off-topic, inflammatory and often offensive. Our list manager contacted the offending parties and requested that they stop their abuse of the mailing list. When this failed to stop the postings, th

Re: Bug in foreign keys

2003-01-09 Thread Stefan Hinz, iConnect \(Berlin\)
Rafal, > alter table rezerwacje add foreign key (nip_h,nrpok_p) references > pokoje(nip_h,nrpok_p); > ERROR 1005: Can't create table './test/#sql-932_4.frm' (errno: 150) Most probably, you are using MySQL >= 4.0.1 but < 4.0.5. I had these kind of problems with ALTER TABLE with 4.0.1 and 4.0.4, b

Re: remote connect crash

2003-01-09 Thread Stefan Hinz, iConnect \(Berlin\)
Dmitry, > MySQL server segmentation faults when remote mysql client > tries to connect on source and binary distributions. Local > client connect does not cause any problems whatsoever. I had the same sort of problem with MySQL 3.23.5x servers on SuSE Linux 8.0/8.1, and some newsgroup postings re

Re: Case Problems...

2003-01-09 Thread Stefan Hinz, iConnect \(Berlin\)
Nick, > CREATE DATABASE LookAtMe; > the database is created but as: > lookatme This is not a bug, but a feature. By default, MySQL 4.0.x has lower_case_table_names set to 1. If you want to change this behaviour, put this in the [mysqld] section of your c:\my.cnf or c:\winnt\my.ini file, and resta

Re: Re: Load local data infile problem

2003-01-09 Thread Stefan Hinz, iConnect \(Berlin\)
Jennifer, > Why would they have to do that? The file does not need to be in that > directory. In order to use LOAD DATA INFILE without LOCAL the file just > needs to be somewhere on the server that mysqld is running on Exactly this is the point. Most ISPs (at least all the big ones who offer MyS

Re: Resetting the auto_increment to start from 1

2003-01-09 Thread Stefan Hinz, iConnect \(Berlin\)
Paul, >>It's a rather old book, which deals with MySQL 3.23, and not with MySQL >>4.x. >Actually, he's talking about MySQL Cookbook (p549). Which is a new book, >which is why I said *may* reset the counter rather than *will* >reset the counter as was true in older versions of MySQL. Oops. Sorry

Re: Copying MySql database to others

2003-01-09 Thread Stefan Hinz, iConnect \(Berlin\)
Frank, > Since I have limited command line access (ISP hosted database), I will > probably have to use phpMyAdmin. > Part of my logic was to copy my MySql database to another MySql database, > so that I can use the second database for QA purposes. > When I perform the Export as above, does that ma

Re: Bug in foreign keys

2003-01-09 Thread Heikki Tuuri
Rafal, I tested also with the `hotele`, and it worked ok. Please provide your my.cnf and MySQL version number. And test if you can repeat the error. Regards, Heikki Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 4.0.8-gamma-standard-

Selecting max value from sets

2003-01-09 Thread Benjamin Dixon
Hi all, I'm trying to figure out a way to select a group of maximums from a set such that each value pair's greatest value is in the result set. For example, let's say I have this table Value_Pairs: Name | Value Bob1 Joe7 Bob2 Don3 Don4 Bob6 The result I wan

RE: mysql monitoring?

2003-01-09 Thread David Lubowa
cacti? cheers David Ziggy Lubowa Network Engineer One2net (U) web: www.one2net.co.ug Tel: +256 41 345466 -Original Message- From: Shon Stephens [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 8:55 PM To: '[EMAIL PROTECTED]' Subject: mysql monitoring? is there an snmp mib o

Re: count(expr)

2003-01-09 Thread Keith C. Ivey
On 9 Jan 2003, at 10:29, Meena Vyavahare wrote: > Select col1, col2, count(*) as total, count(col3 < col4) as violations > from table1 > Where condn > group by col1, col2 > > The result of this query shows same values at both the columns for total > and violations. > The count(expr) does not work

Re: Bug in foreign keys

2003-01-09 Thread Heikki Tuuri
Rafal, - Original Message - From: "Rafal Jank" <[EMAIL PROTECTED]> Newsgroups: mailing.database.mysql Sent: Thursday, January 09, 2003 6:18 PM Subject: Bug in foreign keys > Hi! > I have two tables: > CREATE TABLE `pokoje` ( > `nrpok_p` char(10) NOT NULL default '', > `nip_h` int(10)

Re: Re[4]: mysql 4.0.8- crash on TCP connection

2003-01-09 Thread Gelu Gogancea
> All this is very interesting, BUT i have two binary builds (4.0.7 & 4.0.8), Ha,Hayou are gentle. > (load avg 10-60 Query/sec), and 4.0.8 crash (in some > hardware/software) after 2 seconds work :( If i understand well it crashed even if no one is connected ? Regards, Gelu ___

MySQL Database Design

2003-01-09 Thread Colaluca, Brian
I am in the midst of designing a personal database for keeping track of wines. After perusing through several beginner books on MySQL and PHP, I have decided that my next step would be to embark upon database design. My design is almost complete and normalized, although I do expect to be making

Re: Version 4 "safe" to use?

2003-01-09 Thread William R. Mussatto
On Thu, 9 Jan 2003, Paul DuBois wrote: > Date: Thu, 9 Jan 2003 11:29:03 -0600 > From: Paul DuBois <[EMAIL PROTECTED]> > To: Maximo Migliari <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > Subject: Re: Version 4 "safe" to use? > > At 13:51 -0300 1/9/03, Maximo Migliari wrote: > >What were the main benefi

Re: remote connect crash

2003-01-09 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dmitry V. Sokolov wrote: Good day, could you help me to solve this problem? This is a known issue that is already fixed in the BK source for 4.0.x, and will be in 4.0.9, which is currently being built. -Mark - -- MySQL 2003 Users Conference -

Re[4]: mysql 4.0.8- crash on TCP connection

2003-01-09 Thread Andrew Sitnikov
Hello Gelu, >> No, the glibc gethostby* will walk the tree defined in hosts.conf, >> normally files,dns. A non-find in /etc/hosts followed by a >NXDOMAIN GG> If you said soanyhow gethostby* is used by DNS and no reverse. GG> The Name Server(named) use this both functions depending by the ord

Re: remote connect crash

2003-01-09 Thread Gelu Gogancea
Hi, Start mysql daemon with options "--skip-name-resolve" Regards, Gelu _ G.NET SOFTWARE COMPANY Permanent e-mail address : [EMAIL PROTECTED] [EMAIL PROTECTED] - Original Message - From: "Dmitry

Re: Re[2]: mysql 4.0.8- crash on TCP connection

2003-01-09 Thread Gelu Gogancea
sql,query,queries,smallint > No, the glibc gethostby* will walk the tree defined in hosts.conf, > normally files,dns. A non-find in /etc/hosts followed by a >NXDOMAIN If you said soanyhow gethostby* is used by DNS and no reverse. The Name Server(named) use this both functions depending by the

Re: Year data type

2003-01-09 Thread Zak Greant
On Thu, Jan 09, 2003 at 10:48:18AM -0800, [EMAIL PROTECTED] wrote: > It seems odd to me that the data type "Year", should only allow the limited > range of 1901-2155. > i understand that this is so that it will store in 1 byte, but whats the > point? > i wanted to use a year field for historical da

Re[2]: mysql monitoring?

2003-01-09 Thread Andrew Sitnikov
Hello David, DL> is there an snmp mib or something available for snmp to monitor mysql DL> server? or, does anyone have a script that they would like to share that DL> they use to monitor and gather statistics about mysql? MYSQLSTAT - A set of utilities to monitor, store and display Mysql DBMS us

IGNORE Line LOAD DATA LOCAL

2003-01-09 Thread Karam Chand
Hello I have a fixed width csv file. To import it I use the following statement - load data local infile 'F:/Documents and Settings/Insane/Desktop/test.csv' into table `insane`.`user_details_copy` fields escaped by '\\' enclosed by '' terminated by '' lines terminated by \n' IGNORE 1 LINES ( id,

Re: Re[2]: mysql 4.0.8- crash on TCP connection

2003-01-09 Thread Christopher E. Brown
On Thu, 9 Jan 2003, Gelu Gogancea wrote: > > Functions gethostby* ,from glibc, work directly with the /etc/hosts file.If > this functions didn't find an entry for the client, will be crashed. > I try to find in the Andrew e-mail if he has installed the glibc 2.2.x but i > don't see nothing about i

Re: Hiding the password

2003-01-09 Thread Octavian Rasnita
If you have a CGI script with 700 permissions, that script cannot be accessed by the Apache server unless that server is running Apache SUID, meaning that your own account runs the web server. In most cases Apache is run by its own account. In this case, if you will set the permissions for the fil

Writing MySQL programs in Ruby

2003-01-09 Thread Paul DuBois
I've written an article on using Ruby to write programs that access MySQL databases. The article is available here: http://www.kitebird.com/articles/ I'd be interested in feedback, especially corrections if there are errors. -

Need book, but have basic question ??

2003-01-09 Thread Charles Mabbott
I have downloaded the ODBC driver and while I am fumbling [still reading] about that the reference it makes if for *.MDB similar extensions. I have cruised through the on-line manual and still have no idea how to create one of those type extensions with a MySql database. I am sure it is in

Re: Re[2]: mysql 4.0.8- crash on TCP connection

2003-01-09 Thread Gelu Gogancea
Functions gethostby* ,from glibc, work directly with the /etc/hosts file.If this functions didn't find an entry for the client, will be crashed. I try to find in the Andrew e-mail if he has installed the glibc 2.2.x but i don't see nothing about it.What i see is, he use 2.95.x which is declared by

Re: WHERE clouse

2003-01-09 Thread Andrea Forghieri
All the test I've made shows that the first query is faster . I can't believe my eyes. Andrea - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list ar

Re: Re[2]: mysql 4.0.8- crash on TCP connection

2003-01-09 Thread Christopher E. Brown
On Thu, 9 Jan 2003, Gelu Gogancea wrote: > Hi, > This is a glibc problem.In this case you can start mysql daemon with option > "--skip-name-resolve" and in this situation is no need to add the IP address > of every client in hosts file.The disadvantage is that the client can not > connect to the s

Re: Copying MySql database to others

2003-01-09 Thread Frank Peavy
Thanks everyone for your input. Stefan, > >From, within phpMyAdmin? 1. In the left frame, choose the database you want to backup / copy. 2. Click the EXPORT tab in the right frame. 3. Choose the tables in the database you want to backup. 4. Choose "Structure and data". 5. Check "Enclose table an

Re: mysql 4.0.8 crashes and refuses to restart after crash.

2003-01-09 Thread Diana Soares
I'm not shure, but i think that at least your read_buffer_size and sort_buffer_size values are too high! > key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 3415663 K > bytes of memory How much memory does that machine have ? You can modify those values in your mysql confi

Re: SELECT DISTINCT *

2003-01-09 Thread Paul DuBois
At 7:54 -0800 1/9/03, [EMAIL PROTECTED] wrote: Hey all; I am trying to work on a query that has SELECT DISTINCT * .. This does not work. While there is no error, the where clause causes repeats. I do not really expect this to work, as DISTINCT needs a column to work with. No, it doesn'

Re: Re[2]: mysql 4.0.8- crash on TCP connection

2003-01-09 Thread Gelu Gogancea
Hi, This is a glibc problem.In this case you can start mysql daemon with option "--skip-name-resolve" and in this situation is no need to add the IP address of every client in hosts file.The disadvantage is that the client can not connect to the server using host alias. Regards, Gelu _

Re: May I raise a question?

2003-01-09 Thread Diana Soares
Your mysql server does not seem to be running... Did you execute safe_mysqld ? Check the "Post installation setup" chapter from the manual. http://www.mysql.com/doc/en/Post-installation.html On Thu, 2003-01-09 at 01:16, [EMAIL PROTECTED] wrote: > Dear Editor, > > After installed the MySQL versi

Re: Version 4 "safe" to use?

2003-01-09 Thread Paul DuBois
At 13:51 -0300 1/9/03, Maximo Migliari wrote: What were the main benefits that you noticed straight away before adapting your code to use the new features that MySQL 4 offers? Does the query cache make a big difference? Oh, yes. It does. :-) Do you have any benchmarks, even off your head?

Re: Creating MySQL databases and tables via Perl/DBI

2003-01-09 Thread rich allen
the example will connect to the local mySQL server and create a new database named 'dbname" #!/usr/bin/perl -w use DBI; $dbh = DBI->connect( "dbi:mysql:", 'user', 'password', { PrintError => 0 } ) or die "Can\"t connect to database: $DBI::errstr\n"; $dbh->do("create database dbname"); $dbh->dis

Re: update auto increment

2003-01-09 Thread Christian Kohlschütter
Am Donnerstag, 9. Januar 2003 15:28 schrieb Csongor Fagyal: > Hi, > > Sorry if this had been asked on this list previously. > > If you had an auto_increment field in a table (let's name it "id"), > previously (in 3.23.x, 4.0.x) the following (legal) SQL statement > resulted in a "duplicate key" err

remote connect crash

2003-01-09 Thread Dmitry V. Sokolov
Good day, could you help me to solve this problem? MySQL server segmentation faults when remote mysql client tries to connect on source and binary distributions. Local client connect does not cause any problems whatsoever. - Bef

Demande d'inscription à mysql-france

2003-01-09 Thread Notification de Yahoo! Groupes
Bonjour, Vous avez récemment demandé à vous inscrire au groupe mysql-france. Comme vous êtes déjà membre de ce groupe, votre demande ne sera pas prise en compte. Pour toute question sur l'envoi de messages à ce groupe, veuillez envoyer un e-mail à [EMAIL PROTECTED] Cordialement, L'équipe s

Re: Bug in foreign keys

2003-01-09 Thread Rafal Jank
> At 16:11 +0100 1/9/03, Rafal Jank wrote: > >Hi! > >I have two tables: > >CREATE TABLE `pokoje` ( > > `nrpok_p` char(10) NOT NULL default '', > > `nip_h` int(10) NOT NULL default '0', > > `lozka_p` char(2) default NULL, > > `tv_p` char(1) default NULL, > > `lazienka_p` char(1) default N

Error 1104 (too many records)

2003-01-09 Thread Andrea Forghieri
Hi, I recently upgraded from 4.0.4 to 4.0.7 . I keep getting the following error message when a executing a query: ERROR 1104 at line xx : The SELECT would examine too many records and probably take a long time. Check your WHERE and use SET OPTION SQL_BIG_SELECTS=1 if the SELECT is ok. The proble

Year data type

2003-01-09 Thread speters
It seems odd to me that the data type "Year", should only allow the limited range of 1901-2155. i understand that this is so that it will store in 1 byte, but whats the point? i wanted to use a year field for historical data, such as the year famous people were born, such as abe lincoln - 1809, but

Re: Bug in foreign keys

2003-01-09 Thread Paul DuBois
At 16:11 +0100 1/9/03, Rafal Jank wrote: Hi! I have two tables: CREATE TABLE `pokoje` ( `nrpok_p` char(10) NOT NULL default '', `nip_h` int(10) NOT NULL default '0', `lozka_p` char(2) default NULL, `tv_p` char(1) default NULL, `lazienka_p` char(1) default NULL, `cena_p` int(10) default

Re: mysql 4.0.8- crash on TCP connection

2003-01-09 Thread Christopher E. Brown
On Thu, 9 Jan 2003, Gelu Gogancea wrote: > Hi, > What OS you use ? > > Regards, > > Gelu > _ > G.NET SOFTWARE COMPANY > > Permanent e-mail address : [EMAIL PROTECTED] > [EMAIL PROTECTED] > - Original

Re: Resetting the auto_increment to start from 1

2003-01-09 Thread Octavian Rasnita
Ha ha, thank you for "page 558" but I am blind and I am reading the electronic version of the book. However, I think I've reached to page 558 because I've seen how to do it. Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] - Original Message - From: "Paul DuBois" <[EMA

Re: Hiding the password

2003-01-09 Thread Octavian Rasnita
I've read more messages from Apache users list and the Apache experts say that if the web server is run by your own account this can create more security problems. I don't know what problems and I would also like to know but if someone wants to know, you can subscribe to that list. ... or if someo

Re: Hiding the password

2003-01-09 Thread Octavian Rasnita
Yes I know that Apache can be set to run using your own account, but most hosts don't do that because I heard that this can create other security problems. Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] - Original Message - From: "William R. Mussatto" <[EMAIL PROTECT

count(expr)

2003-01-09 Thread Meena Vyavahare
Here is my query- Select col1, col2, count(*) as total, count(col3 < col4) as violations from table1 Where condn group by col1, col2 The result of this query shows same values at both the columns for total and violations. The count(expr) does not work Thanks Meena ---

Re: Re[4]: mysql 4.0.8- crash on TCP connection

2003-01-09 Thread Gelu Gogancea
Hi, Try to start mysql daemon with "--skip-innodb" and see if the problem persist.I suppose is something wrong with your my.cnf configuration. Regards, Gelu _ G.NET SOFTWARE COMPANY Permanent e-mail address : [EMAIL PROTECTED]

RE: Backups mechanism

2003-01-09 Thread Fernando Grijalba
You can do the same thing in Win32 using a vb script. Just use the Run command of the shell object to run mysqldump. This is the way I back up our database to text files that get burnt into a CD. HTH JFernando ** sql ** -Original Message- From: David T-G [mailto:[EMAIL PROTECTED]] Sent

Re: How to easy delete old records from sql database

2003-01-09 Thread Paul DuBois
At 13:18 +0200 1/9/03, Putte Koivisto wrote: Is there any easy way to delete records from database, wich logs user activity at website? I mean, if there is somekind of limit for rows in table. And if limit is exceeded, older rows will be automaticly deleted, or even better, moved to another table.

Re: update auto increment

2003-01-09 Thread Paul DuBois
At 15:28 +0100 1/9/03, Csongor Fagyal wrote: Hi, Sorry if this had been asked on this list previously. If you had an auto_increment field in a table (let's name it "id"), previously (in 3.23.x, 4.0.x) the following (legal) SQL statement resulted in a "duplicate key" error: UPDATE whatevertable

Re[4]: mysql 4.0.8- crash on TCP connection

2003-01-09 Thread Andrew Sitnikov
Hello Gelu, GG> Hi Andrew, GG> I can not reproduce your case.For me work good.The only difference is that i GG> use source distribution and you use a binary distribution. GG> Please take a look in mysql log and tell me what you see there. GG> Regards, 030108 20:12:09 mysqld started 030108 20:12:

SELECT DISTINCT *

2003-01-09 Thread squeebee
Hey all; I am trying to work on a query that has SELECT DISTINCT * .. This does not work. While there is no error, the where clause causes repeats. I do not really expect this to work, as DISTINCT needs a column to work with. I am trying to avoid the workaround of putting in every colum

Re: Version 4 "safe" to use?

2003-01-09 Thread Maximo Migliari
What were the main benefits that you noticed straight away before adapting your code to use the new features that MySQL 4 offers? Does the query cache make a big difference? Do you have any benchmarks, even off your head? Maximo. At 09:47 8/1/2003 -0800, you wrote: On Wed, Jan 08, 2003 at 09:0

MySQL4 SSL certificate required?

2003-01-09 Thread David Rock
Hello, Can someone give me a some overview information regarding using SSL with MySQL version 4? I want to setup a 128bit SSL connection between our website hosted at an ISP and our MySQL (on FreeBSD) server which is hosted in our office. Basically I want the same level of security that we curren

Re: bug submitted (non-unique indicies in heap tables do not work correctly)

2003-01-09 Thread Aaron Krowne
Cute =) (MySQL sql query queries smallint =) Aaron Krowne On Thu, Jan 09, 2003 at 04:36:12PM +0100, [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 w

Bug in foreign keys

2003-01-09 Thread Rafal Jank
Hi! I have two tables: CREATE TABLE `pokoje` ( `nrpok_p` char(10) NOT NULL default '', `nip_h` int(10) NOT NULL default '0', `lozka_p` char(2) default NULL, `tv_p` char(1) default NULL, `lazienka_p` char(1) default NULL, `cena_p` int(10) default NULL, `zaliczka_p` int(10) default NULL

re: Re: sub select

2003-01-09 Thread Egor Egorov
On Thursday 09 January 2003 09:32, Sal wrote: > Thaks 4 ur info. Where can I get MySQL 4.1.0. You can compile it from development source tree: http://www.mysql.com/doc/en/Installing_source_tree.html -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This emai

re: How to easy delete old records from sql database

2003-01-09 Thread Egor Egorov
On Thursday 09 January 2003 13:18, Putte Koivisto wrote: > Is there any easy way to delete records from database, wich logs user > activity at website? I mean, if there is somekind of limit for rows in > table. And if limit is exceeded, older rows will be automaticly deleted, or > even better, mov

re: May I raise a question?

2003-01-09 Thread Victoria Reznichenko
On Thursday 09 January 2003 03:16, seed dot chan at citicorp dot com wrote: > After installed the MySQL version 3.23.53, I tried to test the MySQL by > typing the following command, relevant error message appears, please advise > how to fix. > > Command: Display Error Message: > >

4.0.8 doesn't compile with --without-innodb and --without-query-cache options

2003-01-09 Thread Grisha Mokhin
Using Linux Slackware and gcc 3.2.1. Here is the compiler report: make[4]: Entering directory `/home/local/src/mysql-4.0.8-gamma/sql' g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\"" -DDATADIR="\"/usr/local/mysql/var\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DHAVE_CONFIG_H -

ANN: EMS MySQL Manager 1.96 released

2003-01-09 Thread Igor Brynskich
EMS HiTech company is announcing the next version (1.96) of MySQL Manager -- A Powerful MySQL Administration and Development Tool for Windows95/98/ME/NT/2000/XP. You can download the latest version from http://www.mysqlmanager.com/download.phtml We're also announcing a special offer! If you purch

Re: Select * from names where words(name) = 3

2003-01-09 Thread Abhi Sahay
USE substring_index function Example: mysql> select substring_index(name,' ',3),name from test1; +-+---+ | substring_index(name,' ',3) | name | +-+---+ | a b c | a b c d e | | a b c

update auto increment

2003-01-09 Thread Csongor Fagyal
Hi, Sorry if this had been asked on this list previously. If you had an auto_increment field in a table (let's name it "id"), previously (in 3.23.x, 4.0.x) the following (legal) SQL statement resulted in a "duplicate key" error: UPDATE whatevertable SET id = id +1; Will this be fixed in 4.1.x?

Re: Question -Subselect

2003-01-09 Thread gerald_clark
I answered this yesterday. Your FROM must precede your WHERE. Terence Ng wrote: How do I correct this SQL code: 2 tables there, lcopen: id, bank, unit_price_us, order_cbm lcreceive: id, amount_us, due_date #this condition :lcreceive.due_date < current_date #only affect to : SUM(lcreceive.amou

Re: May I raise a question?

2003-01-09 Thread gerald_clark
What OS are you running? Did you start the server? What is in the error logs? [EMAIL PROTECTED] wrote: Dear Editor, After installed the MySQL version 3.23.53, I tried to test the MySQL by typing the following command, relevant error message appears, please advise how to fix. Command:

log-bin file rotation questions

2003-01-09 Thread Chambon
Hello, I set up a replication architecture with MySql everything works fine. Now I concentrate on log-bin file and I have a question I have understood (I hope... ) -that I can set a max_binlog_size, -that a new file (extension n+1) will be used while reaching max_binlog_size, -that the slave

Re: My new forum

2003-01-09 Thread David T-G
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Larry, et al -- ...and then Larry Brown said... % % I appreciate that the guy wants to build traffic on his list, but I have to Except that it isn't a list :-) But, yeah, I do as well. % say that I enjoy having this list as busy as it is. People

Re: Slow response with MRG tables.

2003-01-09 Thread Sinisa Milivojevic
On Wed, 08 Jan 2003 09:09:02 -0700 Mariella Di Giacomo <[EMAIL PROTECTED]> wrote: > Hello, > > > > I would like to ask three questions related to MySQL and MERGE tables. > Hi! This list is dedicated to the internal functioning of MySQL server. For the questions like above, please write to

Re: mysql 4.0.8- crash on TCP connection

2003-01-09 Thread Gelu Gogancea
Hi, What OS you use ? Regards, Gelu _ G.NET SOFTWARE COMPANY Permanent e-mail address : [EMAIL PROTECTED] [EMAIL PROTECTED] - Original Message - From: "Andrew Sitnikov" <[EMAIL PROTECTED]> To: <

Re: Autonum broken

2003-01-09 Thread John Morrison
Normalisation was not the right word. Each row has only two columns - "id" INT and "description" VARCHAR. So the rows did not, indeed could not, contain data relating to more than one entity. It was the /table/ which contained mixed data. The description column had data for two different cat

How to easy delete old records from sql database

2003-01-09 Thread Putte Koivisto
Is there any easy way to delete records from database, wich logs user activity at website? I mean, if there is somekind of limit for rows in table. And if limit is exceeded, older rows will be automaticly deleted, or even better, moved to another table. Is there any query to make this happen? Sinc

Re: [OT] Re: InnoDB vs. MySQL performance Issue

2003-01-09 Thread Gelu Gogancea
Hi Paul, MYSQL AB maybe have already done something to diffuse this situation but without to get involved this very-mega-ultra public MYSQL LIST. And i think also is a duty of every member of this list to make all to "keep clean" this list but without any implication of it. I feel frustration also,

details needed:

2003-01-09 Thread Chaitanya Atreya P. S
Hello, I want to know whether the mysql depot (mysql-3.23.54a) works on HP-UX PA_RISC2.0 or it works only on PA_RISC1.0. If it doesn't work on PA_RISC2.0, where can I find a mysql depot that works on PA_RISC2.0? A quick reply will be greatly appreciated. Thank You, Chaitanya Atreya.

Re: non-unique indicies in HEAP tables handled incorrectly.

2003-01-09 Thread Jocelyn Fournier
Hi, I just want to confirm MySQL 4.0.8 seems to be broken too. However MySQL 4.1 is working fine with this testcase. Regards, Jocelyn - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 09, 2003 6:32 AM Subject: non-unique indicies in HEAP tab

MySQL on large server

2003-01-09 Thread mysql list
Hi, I was wondering if anybody has built MySQL 3.23 from source that can handle a high number of connections & threads. I've have tried MySQL binaries in the past (not RPMs), but these have had stability/load problems. When building from source I don't have those issues, but I am limited by the

Possible SOLUTION SENDER?? Complex query, grouping and counting challenge

2003-01-09 Thread nospam1001
Believe that a respondent sent an email which appears to have been bounced & deleted before I got a chance to view it. If you are the person, please resend your response! Thank you. === Very complex Grouping and counting challenge Can anyone offer guid

  1   2   >