Re: SHOW TABLES; show nothing

2001-12-06 Thread Benjamin Pflugmann
Hi. On Mon, Dec 03, 2001 at 11:41:38PM -0800, [EMAIL PROTECTED] wrote: > These areI thinkpre-built > Dunno for sure. > > # rpm -qa | grep -i glibc > compat-glibc-6.2-2.1.3.2 > glibc-devel-2.2-5 > glibc-common-2.2.4-13 > glibc-2.2.4-13 > # mysql --version > mysql Ver 11.6 Distrib 3.23.28

[ot] harsh mail rejection

2001-12-06 Thread Chris Withers
[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: > > database,sql,query,table Why does this list not include SELECT and INSERT?

Efficient Boolean combination of results of several SELECTs

2001-12-06 Thread Chris Withers
...in MySQL, to keep the list filter happy :-( Hi, I have several different SELECTs, each of which returns a set of results which I'd like to combine in a boolean fashion. So, say I have 4 selects, w, x, y, and z, I might want to do: ((x AND y) OR Z ) AND (NOT w) What's the best way of going

Re: does mysql.sock come with a linux 323 installation

2001-12-06 Thread Benjamin Pflugmann
Hi. mysql.sock is created by the mysqld process when it is started. The lack of it usually means that either mysqld doesn't run or that the file got deleted by an other process. For more info, see http://www.mysql.com/doc/C/a/Can_not_connect_to_server.html Bye, Benjamin. On Thu, Dec 0

Re: Slow results with SELECT's that return large numbers of results

2001-12-06 Thread Chris Withers
neeraj arora wrote: > > Hi, > I think indexing the column(s) can help you. Already spent a week figuring how to get the SELECT to work fast when a few results are returned, os all appropriate columns are indexed ;-) > u can find more on this page > http://www.linux-mag.com/cgi-bin/printer.pl?i

RE: 64bit mysql and gcc

2001-12-06 Thread Michael Widenius
Hi! > "Greg" == Greg Cope <[EMAIL PROTECTED]> writes: Greg> We use the Sun's cc complier - this is the standard complier here on Spark / Greg> Solaris. The problem is that we don't have access to a system to a Solaris 8 system with SUN cc installed. (If anyone want to make one available

Re: [ot] harsh mail rejection

2001-12-06 Thread Jeremy Zawodny
On Thu, Dec 06, 2001 at 09:08:41AM +, Chris Withers wrote: > [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: > > >

Re: Efficient Boolean combination of results of several SELECTs

2001-12-06 Thread Jeremy Zawodny
On Thu, Dec 06, 2001 at 09:10:38AM +, Chris Withers wrote: > ...in MySQL, to keep the list filter happy :-( > > Hi, > > I have several different SELECTs, each of which returns a set of > results which I'd like to combine in a boolean fashion. So, say I > have 4 selects, w, x, y, and

Re: queries on particular table produce errors

2001-12-06 Thread Jeremy Zawodny
On Wed, Dec 05, 2001 at 04:57:42PM -0700, Jon Gardiner wrote: > > I can't speak for other table formats but in MyIsam tables you can > take your database down, rename the table's files (.frm .MYI .MYD), > and restart the server. I'd make a backup if you are going to try > it, though. Watch out i

Re: Efficient Boolean combination of results of several SELECTs

2001-12-06 Thread Chris Withers
Jeremy Zawodny wrote: > > Hm. It sounds like you just want to combine the WHERE clauses > (intelligently) and end up with one big query, right? Yup, but given that each WHERE clause is already pretty hairy, I was hoping someone would say "oh, sure, here's some set operations to complement UNION

Re: Efficient Boolean combination of results of several SELECTs

2001-12-06 Thread Jeremy Zawodny
On Thu, Dec 06, 2001 at 11:15:03AM +, Chris Withers wrote: > Jeremy Zawodny wrote: > > > > Hm. It sounds like you just want to combine the WHERE clauses > > (intelligently) and end up with one big query, right? > > Yup, but given that each WHERE clause is already pretty hairy, I was > hopin

Re: Slow results with SELECT's that return large numbers of results

2001-12-06 Thread Jeremy Zawodny
On Thu, Dec 06, 2001 at 09:28:10AM +, Chris Withers wrote: > neeraj arora wrote: > > > Already spent a week figuring how to get the SELECT to work fast when a few > results are returned, os all appropriate columns are indexed ;-) > > > u can find more on this page > > http://www.linux-mag.co

Re: Access denied for user

2001-12-06 Thread Daniel Rezny
Hi check if mysqld is running if not start it and try again. daniel josep wrote: >I get the following message when trying to view a php page > >Warning: Access denied for user: 'jupshoes@localhost' (Using password: YES) >in /home/jupshoes/public_html/guest/index.php on line 27 >Unable to conne

Re: optimize for SELECTs on multiple large tables

2001-12-06 Thread Jeremy Zawodny
On Thu, Dec 06, 2001 at 09:39:18AM +1000, Arjen G. Lentz wrote: > Well, you have to realise that the server can only use a one index > per table (for obvious reasons). That's far from being obvious to a lot of folks... > You can actually split a table into multiple identical ones, by > using ME

Re: Efficient Boolean combination of results of several SELECTs

2001-12-06 Thread Chris Withers
Jeremy Zawodny wrote: > > > Yup, but given that each WHERE clause is already pretty hairy, I was > > hoping someone would say "oh, sure, here's some set operations to > > complement UNION" ;-) > > How about, "try out MySQL 4.0 with UNION support"? :-) Can UNION do boolean AND, NOT and OR combin

Re: Slow results with SELECT's that return large numbers of results

2001-12-06 Thread Chris Withers
Jeremy Zawodny wrote: > > SQL_BUFFER_RESULT (http://www.mysql.com/doc/S/E/SELECT.html) my help, > depending on what the real bottleneck is. H... I thought temporary tables were bad? > Sure, change your > > SELECT * FROM foo WHERE ... > > to > > SELECT COUNT(*) FROM foo WHERE ... > >

Re: Efficient Boolean combination of results of several SELECTs

2001-12-06 Thread Jeremy Zawodny
On Thu, Dec 06, 2001 at 11:59:04AM +, Chris Withers wrote: > Jeremy Zawodny wrote: > > > > > Yup, but given that each WHERE clause is already pretty hairy, I was > > > hoping someone would say "oh, sure, here's some set operations to > > > complement UNION" ;-) > > > > How about, "try out My

User Privileges being set to 'N'

2001-12-06 Thread Noonan, David (SCH)
Hello, At seemingly random intervals all of the privileges for every user in the mysql.user table get set to 'N'. I found the statements below in the binlog. Is there a way to find out who/what ran these? Answers to some security questions: There are only three users in MySQL.

Re: Slow results with SELECT's that return large numbers of results

2001-12-06 Thread Jeremy Zawodny
On Thu, Dec 06, 2001 at 12:05:01PM +, Chris Withers wrote: > Jeremy Zawodny wrote: > > > > SQL_BUFFER_RESULT (http://www.mysql.com/doc/S/E/SELECT.html) my help, > > depending on what the real bottleneck is. > > H... I thought temporary tables were bad? It depends on the problem. In you

Re: reliability on the server

2001-12-06 Thread Jeremy Zawodny
On Tue, Dec 04, 2001 at 11:05:52AM +0100, Ornella Fasolo wrote: > Hallo, > > i would like to know if there is a reliability mechanism inside > mysql. I have a server on a machine and several clients that access > to the server My problem is to find a way to assure that if the Data > base machine

Re: porting mysql to ibm os/390 open edition

2001-12-06 Thread Jeremy Zawodny
On Mon, Dec 03, 2001 at 08:01:11PM -0800, Peschko, Edward wrote: > hey, > > I was wondering if you had any plans to port mysql to os-390, and > the open edition environment there. I think it would be a really > cool idea, considering that most shops that have a IBM mainframe are > looking for way

Re: Some questions to the pre-sale technical support of MySQL

2001-12-06 Thread Jeremy Zawodny
On Tue, Dec 04, 2001 at 04:37:31PM +0200, Sinisa Milivojevic wrote: > Hofhauser, Bela writes: > > Hi, > > MySQL 3.23 already has synchronous replication. It is in a > widespread use already. I'd call it asynchronous replication. The master really has little concept of what the slaves are doing m

Re: ISAM 2 MyISAM Conversion

2001-12-06 Thread Jeremy Zawodny
On Mon, Dec 03, 2001 at 09:28:11AM -0800, Steve Osborne wrote: > > I have an existing database with ISAM tables that I would like to > convert to MyISAM tables. Using phpMyAdmin, I can change the table > type using a drop-down box, however I do not know the repercussions > of the table type conve

Re: Efficient Boolean combination of results of several SELECTs

2001-12-06 Thread Sinisa Milivojevic
Jeremy Zawodny writes: > On Thu, Dec 06, 2001 at 11:59:04AM +, Chris Withers wrote: > > Can UNION do boolean AND, NOT and OR combination of sets generated > > by SELECTs? > > Hmm... > > http://www.mysql.com/doc/U/N/UNION.html > > Nope. :-( > > Jeremy > -- > Jeremy D. Zawodny, <[EMAIL PR

Re: porting mysql to ibm os/390 open edition

2001-12-06 Thread Sinisa Milivojevic
Jeremy Zawodny writes: > > If you do find someone running MySQL on Linux on the big iron, I'd > love to hear about it. Heck, if GCC, Perl, and Apache can work on it, > there's a chance that some hacker at IBM has alredy managed to get > MySQL working, too. That'd be excellent. > > Jeremy > --

Re: Some questions to the pre-sale technical support of MySQL

2001-12-06 Thread Sinisa Milivojevic
Jeremy Zawodny writes: > > I'd call it asynchronous replication. The master really has little > concept of what the slaves are doing most of the time, right? > > Jeremy > -- > Jeremy D. Zawodny, <[EMAIL PROTECTED]> > Technical Yahoo - Yahoo Finance > Desk: (408) 349-7878 Fax: (408) 349-5454

howto change db privileges?

2001-12-06 Thread josep
I'm able to connect to connect to the database but unable to select elements. Josep - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To r

Re: porting mysql to ibm os/390 open edition

2001-12-06 Thread Jeremy Zawodny
On Thu, Dec 06, 2001 at 02:57:15PM +0200, Sinisa Milivojevic wrote: > Jeremy Zawodny writes: > > > > If you do find someone running MySQL on Linux on the big iron, I'd > > love to hear about it. Heck, if GCC, Perl, and Apache can work on it, > > there's a chance that some hacker at IBM has alred

Re: howto change db privileges?

2001-12-06 Thread Dave Lake
Josep As root you need to log in to the database mysql. You then need to give whatever priviledges you want to your normal account. See section 6.14 in the manual (Adding New user Privileges to MySQL). Dave >From: "josep" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Subject: howto change db

Re: PHP + MySQL problem (strange behavior)

2001-12-06 Thread mjriding
I've had a few queries that worked strangely worked in Mysql monitor, but did not work from PHP. I was able to solve every one of them by ensure that the query in PHP did not have any line breaks in it. It normally doesn't matter if there are line breaks in the code, but on occassion, a line

Re: Efficient Boolean combination of results of several SELECTs

2001-12-06 Thread Chris Withers
Sinisa Milivojevic wrote: > > No, but in 4.1 there will be INTERCEPT and MINUS too, beside > UNION's (with or without ALL option). Those three combined can > produce any of the above relational operations. wooah! *dribble*! :-) When can I start using this code? Where can I get it from? ch

Host

2001-12-06 Thread Simon Green
Just a small bit of help... Before a make this change I would like some help Am I right in think if in the MySQL database on the db tables there are no blank host enters then there is no point in having anything in the host table? Thanks Simon

MySQL cobalt raq 3

2001-12-06 Thread sac
Hello I have installed MySQL in Cobalt Raq 3 Please can sendme info for aneble MySQL to mi customers in cobalt raq? Please Beste regards Pablo martin - Before posting, please check: http://www.mysql.com/manual.php (the

mysqld-max: Table 'mysql.host' doesn't exist

2001-12-06 Thread Levis_Anne-Marie
Hi, I am new to MySQL and installed the Win2000 version on my labtop. I had no problems until I got to the security part and did the following according to the docs: The default privileges on Windows give all local users full privileges to all databases without specifying a password. To make MyS

Re: Connection issue with Kylix to Mysql 3.23

2001-12-06 Thread TAKAHASHI, Tomohiro
Hi, Did you make contact with Borland Support? Did you post message in Borland Newsgroup, 'newsgroups.borland.com'? Edward Valentine wrote: > > I downloaded and installed the new patch from Borland that allows Kylix to > use versions of MySQL 3.23 and newer. Most of the errors on connecti

Re: porting mysql to ibm os/390 open edition

2001-12-06 Thread Sinisa Milivojevic
Jeremy Zawodny writes: > > Ah, excellent. > > Do you know if he's one any benchmarks with it? Those machines tend > to have great I/O systems, so I'd expect very good performance. > > Any chance I could get his e-mail address via private mail? > > Jeremy > -- > Jeremy D. Zawodny, <[EMAIL PRO

replication pb w/ mysql 3.23.35 as master and mysql 3.23.45 as slave

2001-12-06 Thread berrebi remy
hi, i just upgrade mysql to newer version 3.23.45 and now the slave that is just upgraded (the master will be the next to be upgraded but in one week) return such error: 011206 15:29:41 Slave thread: error connecting to master: Unknown MySQL Server Host 'hostname' (0) (76), retry in 60 sec i

Re: Slow results with SELECT's that return large numbers of results

2001-12-06 Thread erik pearson
:Now, is there any way I can quickly return the length of the :result set withotu :actually returning the result set itself? : : :Chris : :(MySQL question, obviously ;-) Dunno if this was answered cause I'm on digest but, Try SELECT Count(*) from... erik st.m __

Re: [ot] harsh mail rejection

2001-12-06 Thread Keith C. Ivey
On 6 Dec 2001, at 9:08, Chris Withers wrote: > > database,sql,query,table > > Why does this list not include SELECT and INSERT?! Worse, why do we have to put up with the filtering at all when it's not doing its job? The Portuguese spam got through yesterday, but legitimate messages are block

ANN: EMS MySQL Manager 1.22 released

2001-12-06 Thread Igor Brynskich
Dear Sirs and Madams, EMS HiTech company is announcing the next version (1.22) 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 What's new in version 1.22

Cluster?

2001-12-06 Thread Barry Roomberg
I'm trying to determine the "correct" way of dealing with a high availability situation, which might also be a high performance (spread queries across multiple systems) situation. I've "googled" for MySQL cluster, and found one project that last seems last touched a year ago. 1) All data is rea

Re: select statement group by unusual results

2001-12-06 Thread chip . wiegand
"DL Neil" <[EMAIL PROTECTED]> on 12/06/2001 12:26:45 AM Internet mail from: Please respond to "DL Neil" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> cc: <[EMAIL PROTECTED]> Subject: Re: select statement group by unusual results Chip, > > I have a database with 12 tables. I am running

Re: [ot] harsh mail rejection

2001-12-06 Thread Sasha Pachev
On Thursday 06 December 2001 03:50 am, Jeremy Zawodny wrote: > Because it's not yet perfect. ?Perhaps someone at MySQL.com and update > the filters a bit. ?Sasha, maybe? It is important to understand that no bot could ever get it right in 100% of the cases regardless of how sophisticated the rul

RE: Cluster?

2001-12-06 Thread Greg_Cope
> -Original Message- > From: Barry Roomberg [mailto:[EMAIL PROTECTED]] A few notes: > 1) All data is readonly. No write requirement except > monthly load. use myisam pack to compress the data / indexs. Also use -rq --analyse --sort-index as myisam arguments to rebuild the index

installing of mysql

2001-12-06 Thread Bettina Ketzmerick
Hello, I want to install mysql on my sun (solaris 2.7). But I have a problem. The output after configuring is: loading cache ./config.cache checking host system type... sparc-sun-solaris2.7 checking target system type... sparc-sun-solaris2.7 checking build system type... sparc-sun-solaris2.7 ch

Re: ANN: EMS MySQL Manager 1.22 released

2001-12-06 Thread Raymond Abel
At 20:25 2001-12-06 +0500, Igor Brynskich wrote: allo Is this product free like MYSQLfront? If it is not free, Can I considere it as a SPAM (SPAM is a no sollocited commercial email) on a Mailling List? Ray >Dear Sirs and Madams, > >EMS HiTech company is announcing the next version (1.22) of

ALTER TABLE error

2001-12-06 Thread Steve Osborne
Can anyone tell me why I am receiving the following error? I am connecting to a remote server via ssh, and accessed the mysql prompt by typing: mysql The following is the screen contents after trying to use the ALTER TABLE command; 'dbname' has been sub'd for actual database name. Welco

Re: installing of mysql

2001-12-06 Thread George Horvath
Bettina Ketzmerick wrote: > Hello, > > I want to install mysql on my sun (solaris 2.7). But I have a problem. The > output after configuring is: > > loading cache ./config.cache > checking host system type... sparc-sun-solaris2.7 > checking target system type... sparc-sun-solaris2.7 > checking

I need some help translating a PostgreSQL Query to MySQL

2001-12-06 Thread Dave Burgess
I was wondering if anyone could help me converting some PostgreSQL queries with sub-queries into a similar form usable (hopefully) by both, or at least into a form that I can use in place of the PostgreSQL ones. I'm going to post them - I hope no one minds. If this is the wrong mailing list for

Re: ANN: EMS MySQL Manager 1.22 released

2001-12-06 Thread Ulf Bäckman
Hmm 30 days trial then you have to register. Seems like spam to me Raymond Abel wrote: > > At 20:25 2001-12-06 +0500, Igor Brynskich wrote: > > allo > > Is this product free like MYSQLfront? > > If it is not free, > Can I considere it as a SPAM > (SPAM is a no sollocited commercial email) >

Re: select statement group by unusual results

2001-12-06 Thread DL Neil
Hi Chip, > Thanks for the tips. So here's my latest attemp: > > select distinct Title, Details, StartDate, StopDate, City, State > from phpCalendar_Details t1, phpCalendar_Daily t2, phpCalendar_EventLocations t3 > where t1.LocationID = t2.LocationID > and t1.EventLocationID = t3.EventLocationID >

Re: ANN: EMS MySQL Manager 1.22 released

2001-12-06 Thread Etienne Marcotte
I think you are overreacting with your spam thing. Quoted from the link he gave: === This trial version is FULLY functional! An unregistered copy of the EMS MySQL Manager may be used for evaluation purposes for a period of 30 (thirty) days following the initial installation. At the end of the TRI

Re: ALTER TABLE error

2001-12-06 Thread Mikel King
are you sure you don't want to UPDATE Advertisers SET PACK_KEYS=0;? Steve Osborne wrote: >Can anyone tell me why I am receiving the following error? I am connecting >to a remote server via ssh, and accessed the mysql prompt by typing: mysql > The following is the screen contents after try

Re: ALTER TABLE error

2001-12-06 Thread Carl Troein
Steve Osborne writes: > ERROR 2000: Access denied for user: '@localhost' to database 'dbname' > > Can anyone give me some insight as to why I cannot do this? Do I require > root privileges to do this (right now I am logged in as a user, as this > remote server is an ISP)? What unix user you a

Strange 'sleep'

2001-12-06 Thread Roger Baklund
Hi, we have a mysql server with a strange behaviour: when we execute a query, it takes about 5 seconds, even for simple selects which should return almost immediately. I run "mysqladmin --sleep=1 processlist" to see what happens, and the process is in 'sleep' mode for 5 seconds. I never see the

Re: ALTER TABLE error

2001-12-06 Thread sherzodR
It means you're connecting to the server as an annonymous user. If you have a username to connect to the server, run the following query: mysql> show grants for your_user_name@localhost; and it will show you all the priveleges that you have for specific databases and tables. That's the best wa

Re: Why can't I get ORDER BY to work with FULLTEXT?

2001-12-06 Thread Mark J. Degallier
Has anyone had a similar problem? I can't figure out what I'm doing wrong. Help! (database description in previous post) > THIS QUERY WORKS: > SELECT * FROM products WHERE (MATCH > (title,short_desc,long_desc,spec_desc,item_no) AGAINST ('rubber')) > > THIS QUERY DOES NOT WORK -- RETURNS NOTH

Duplicate Keys and Myisam tables

2001-12-06 Thread Graeme Wallace
Hi, I'm getting Duplicate Keys errors from mysql when i have more than one application attempting to insert into a table. I've tried using LOCK TABLES to no avail. Can anyone describe how the Duplicate Keys error occurs so I can understand how to code around it ? regards, Graeme Wallace XXI

NULL Strings

2001-12-06 Thread Ward, Mark
I don't know how this affects anything, but, I'm running the most recent version of mySQL for win98. Why is it that an SQL statement like this (or any variation)... SELECT * FROM classification WHERE level1 = "FOO" AND level2 = "NULL"; will return an empty set. I know that there should be resul

Re: select statement group by unusual results

2001-12-06 Thread chip . wiegand
"DL Neil" <[EMAIL PROTECTED]> on 12/06/2001 05:27:55 PM Internet mail from: Please respond to "DL Neil" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> cc: <[EMAIL PROTECTED]> Subject: Re: select statement group by unusual results Hi Chip, > Thanks for the tips. So here's my latest attem

Re: NULL Strings

2001-12-06 Thread Etienne Marcotte
SELECT * FROM classification WHERE level1 = "FOO" AND level2 IS NULL; IS NULL instead of = "NULL" null is not a value, it's the abscence of value Etienne "Ward, Mark" wrote: > > I don't know how this affects anything, but, I'm running the most recent > version of mySQL for win98. > > Why is

Mysql 4.0

2001-12-06 Thread em huynh
Hi, I have a couple of problems with mysql 4.0. First: I tried to compile a new binary using the online docs. The configure script (./configure --prefix=/usr/local/mysql) when fine. After a "make" command, it stops at libmysql stating some kind of recurssive problem. I also tried using the bin

RE: SHOW TABLES; show nothing

2001-12-06 Thread Gill, Vern
Don't use binaries cuz I prefer to roll my own... # c++ -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) # gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 2731 (Red

Re: NULL Strings

2001-12-06 Thread Christian Andersson
Well considering that you are searching for the text 'NULL' and not a null value haveyou tried " level2 is null" ? :-) - Original Message - From: "Ward, Mark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 06, 2001 6:37 PM Subject: NULL Strings > I don't know

Re: Why can't I get SORT BY to work with FULLTEXT?

2001-12-06 Thread Sergei Golubchik
Hi! Sorry for delay :-( On Dec 05, Mark J. Degallier wrote: > > > > I need a repeatable test case. > > CREATE TABLE products ( > id mediumint(6) default NULL auto_increment, > numOfFileUploads tinyint(2) NOT NULL default '2', > category_id text NOT NULL, > item_no varchar(30) NOT NULL d

dos prompt help

2001-12-06 Thread Ward, Mark
Okay, got through that NULL problem. Thanks. My next question is regarding using the DOS prompt. At work, I'm using Win2000. When I'm using mySQL, if I want to repeat commands, I can just press the up key without retyping the whole thing. But at home I use Win98. I can't do the same thing, even t

Re: Cluster?

2001-12-06 Thread Shakeel Sorathia
I can tell you how we solved this problem. we have a 24/7 op where we need to constantly pull data from mysql machines. This data can be updated at anytime by our tools, but the live servers will only be reading data. So we have one machine which is connected to our tools box, this is wher

More info on mysqlbinlog strangeness

2001-12-06 Thread Wendell Dingus
I've been using mysqlbinlog to capture a file of inserts/updates/deletes on numerous servers since the early 3.23.x days. I have 3.23.46-max on a pair of servers now though where it is exhibiting some strange behavior. Based on some emailed suggestions I've tried leaving off the "-uroot -ppassword

Re: dos prompt help

2001-12-06 Thread Etienne Marcotte
hum maybe you can cut/paste with the right button of your mouse. this does not work under winNT4, but on my win2k it does, and you could try it on your machine. right click in the screen replaces the ctrl-v used for "paste" and it automatically cuts any highlighted text (as in mIRC) HTH Etienne

Problems compiling mysql 3.23.36 on Solaris 8

2001-12-06 Thread Jason Ahrens
I have compiled mySql before on Solaris, and never had this problem. On this system, configure goes fine, and make chugs along until the 'sql' directory, at which point the following occurs: gcc -O3 -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-except

just moved from windows to linux mysql

2001-12-06 Thread Curtis Gordon
Hi, I have just setup a dedicated linux/php/mysql dev box in my office and I am gearing up to move my databases from a windows box to the linux box. There are a couple of things I would like to be clear on before I start. 1) when I am logged into linux as "user1" and I create a database, does t

Re: porting mysql to ibm os/390 open editionjzawodn@yahoo-inc.com

2001-12-06 Thread esp5
On Thu, Dec 06, 2001 at 04:30:29AM -0800, Jeremy Zawodny wrote: > On Mon, Dec 03, 2001 at 08:01:11PM -0800, Peschko, Edward wrote: > > hey, > > > > I was wondering if you had any plans to port mysql to os-390, and > > the open edition environment there. I think it would be a really > > cool idea,

Re: just moved from windows to linux mysql

2001-12-06 Thread Erik Price
On Thursday, December 6, 2001, at 02:15 PM, Curtis Gordon wrote: > Hi, I have just setup a dedicated linux/php/mysql dev box in my office > and I am gearing up to move my databases from a windows box to the > linux box. There are a couple of things I would like to be clear on > before I start

Creating MySQL table w/2 primary keys

2001-12-06 Thread Demirchyan Oganes-AOD098
Hello everyone, I have this create table statement, drop table IF EXISTS GROUP_CONCLUSION_GROUPING CASCADE; CREATE TABLE IF NOT EXISTS GROUP_CONCLUSION_GROUPING( ANALYSIS_RESULT_ID MEDIUMINT(20) PRIMARY KEY REFERENCES PAD_ANALYSIS_RESULT(ANALYSIS_RESULT_ID), GROUP_CONCLUSION_IDMEDIU

Re: just moved from windows to linux mysql

2001-12-06 Thread Mike(mickalo)Blezien
Just to add a few side notes. We have 2 MySQL's running on a RH/Linux 6.2 box, and it has proven to be very stable and very reliable. :) We have approx., 30+ clients that use the one of the MySQL servers, and we set up each client with a .my.cnf in each of the respective root directories: /home

Re: Creating MySQL table w/2 primary keys

2001-12-06 Thread sherzodR
As far as I know, you can't do tht. What you could do instead is have one Primary Key col and make another one UNIQUE. I did that several times, and it does work! -- What they need to teach in school is for people to think for themselves. :-) -- Larry Wall in <[EMAIL PROTECTED]>

Re: just moved from windows to linux mysql

2001-12-06 Thread Curtis Gordon
Thank you Eric and Mike, I really appreciate the help! >From: "Mike(mickalo)Blezien" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: "Curtis Gordon" <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] >Subject: Re: just moved from windows to linux mysql >Date: Thu, 06 Dec 2001 13:50:52 -0600 > >Jus

Re: Creating MySQL table w/2 primary keys

2001-12-06 Thread rc
why not use a concatenated Primary key? create table tname col_name1 int, col_name2 int, PRIMARY KEY (col_name1,col_name2) you get the drift On Thu, 6 Dec 2001, sherzodR wrote: > > As far as I know, you can't do tht. What you could do instead is > have one Primary Key col and make

Re: just moved from windows to linux mysql

2001-12-06 Thread Paul DuBois
At 2:46 PM -0500 12/6/01, Erik Price wrote: >On Thursday, December 6, 2001, at 02:15 PM, Curtis Gordon wrote: >>2) can somebody, anybody offer up some links to a quicky tutorial >>on loading a database with existing data, and backing up an >>existing database. I don't mean the ones in the mysql

Packet is Larger than max_allowed_packet from server configuration of 65536 bytes

2001-12-06 Thread Chris Stark
Hi, I am having a problem with the configuration of the mysql server or client. I have a very large query that I need to send to MySQL from Java. The query has approximately 5000 individual items in the where clause. (i.e. WHERE i!='AP' AND i != 'J3' AND...to 5000). When I try to execute the Q

Re: Re: Creating MySQL table w/2 primary keys

2001-12-06 Thread rc
On 6 Dec 2001 [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: > > database,sql,query,table > > If you just reply to this message

Where can I download berkeley DB 3.2.9a for MySQL 3.23.46 installation?

2001-12-06 Thread Ziying Sherwin
We are interested in installing MySQL 3.23.46 from source on our Solaris 2.8 machine. However, we could not find berkeley DB 3.2.9a that is required by MySQL package. Does anyone know where to find it? Thanks. Since I am not on this mailing list, please send the reply to [EMAIL PROTECTED] Thank

Re: Where can I download berkeley DB 3.2.9a for MySQL 3.23.46 installation?

2001-12-06 Thread Trond Eivind Glomsrød
Ziying Sherwin <[EMAIL PROTECTED]> writes: > We are interested in installing MySQL 3.23.46 from source on our Solaris > 2.8 machine. However, we could not find berkeley DB 3.2.9a that is > required by MySQL package. Does anyone know where to find it? Thanks. > > Since I am not on this mailing li

RE: does mysql.sock come with a linux 323 installation

2001-12-06 Thread Rick Emery
mysql.sock is created by mysqld and deleted when mysqld stops -Original Message- From: David Phoon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 11:31 PM To: [EMAIL PROTECTED] Subject: does mysql.sock come with a linux 323 installation I'd like to know if mysql.sock come

Re: Creating MySQL table w/2 primary keys

2001-12-06 Thread Etienne Marcotte
using primary key (col1, col2) makes no index on col2... which is not good if you lookup only in col2 primary key (col1), unique index (col2) don't forget to add "not null" beside your col2 definition. Etienne rc wrote: > > why not use a concatenated Primary key? > > create table tname > c

Re: just moved from windows to linux mysql

2001-12-06 Thread Etienne Marcotte
http://www.linux-mag.com/2001-03/mysql_01.html There ya go, you can't have it better explained, as for the user access part. For the data transfer, that I don't know Etienne Curtis Gordon wrote: > > Hi, I have just setup a dedicated linux/php/mysql dev box in my office and I > am gearing up t

Re: Creating MySQL table w/2 primary keys

2001-12-06 Thread Etienne Marcotte
I found a way to have two primary key, if those keys relate on many columns. mysql> create table keytest( -> col1 int not null, -> col2 int not null, -> unique index (id1,id2), -> unique index (id2,id1) Query OK, 0 rows affected (0.01 sec) mysql> describe keytest; +---+--

Re: Creating MySQL table w/2 primary keys (fwd)

2001-12-06 Thread rc
for a table in a database (just so my message makes it to the list): can you make a concatenated primary key, then make the second one an index? - Before posting, please check: http://www.mysql.com/manual.php (the man

MySQL 3.23.46 - Redhat 6.2 - cannot connect to server

2001-12-06 Thread Bart Brinkmann
We're having severe problems here. We've been running 2.23.3 on Redhat 6.2 for a while and all has been well. I've also installed mysql several times with no issues. We had a hard drive go out today, and since then we have not been able to get mysql to successfully start and accept connections. Ty

Fw: locking specific rows

2001-12-06 Thread Walter D. Funk
Hi, I need to implement an access/logging system in mysql+php, which once a user logs in, does not let another individuals log in using the same user-password. I don´t care if users share a user-password, the only thing I want to avoid is that this users sharing the same user-pw combination, don´

PASSWORD() question

2001-12-06 Thread Tyler Longren
Hello, I have some usernames and passwords. The passwords have had the PASSWORD() function used on them. I need to set up an area of a site to allow users to have their passwords e-mailed to them. I can't just say SELECT password FROM table WHERE email='$email' AND username='$username' because

RE: PASSWORD() question

2001-12-06 Thread Jonathan Hilgeman
No - instead, update the password with a new, random one, and e-mail the random one to the user. - Jonathan -Original Message- From: Tyler Longren [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 1:37 PM To: MySQL List Subject: PASSWORD() question Hello, I have some userna

RE: Creating MySQL table w/2 primary keys

2001-12-06 Thread Quentin Bennett
Hi, That may have the desired effect of two unique keys, but you stil only have one primary key (probably id1,id2). PRI is listed against each column involved in the Primary key. Regards Quentin -Original Message- From: Etienne Marcotte [mailto:[EMAIL PROTECTED]] Sent: Friday, 7 Decemb

are my queries bloated?

2001-12-06 Thread Erik Price
Hello, all -- Somehow my simple image file-organizing database has turned into something huge and frightening. I was hoping that I could get some input on what I have so far -- it seems correct to me but because it links so many tables together, I wonder if I'm supposed to be doing this much

RE: locking specific rows

2001-12-06 Thread Peter Lovatt
Hi What about a table with logged in user ids and a timestamp (I use a sessions table). Update the timestamp when they access the system. Check when a user tries to login. If that user id, but a different person, has accessed the system within the last xx minutes or seconds then consider them lo

MYSQL time and system time differs

2001-12-06 Thread Paurin Dalal
Hi, I get difference of 15 hours when i issue select sysdate(); command on mysql> prompt and date command on bash shell. I am using cobalt linux. I change system time from server interface control panel. Can anyone tell me what would be the problem. My time format is ICT. I changed my forma

removing PACK_KEYS

2001-12-06 Thread Steve Osborne
HELP PLEASE !! I have run into a problem where my ISP upgraded their mysql version, and now the dump files (.sql) from the mysqldump command cannot be restored on my local server. Unfortunately, I have to wait for our server to be updated, so the simplest solution is not an option. The error th

Re: Why can't I get SORT BY to work with FULLTEXT?

2001-12-06 Thread Mark J. Degallier
> But both these queries produce identical one-row results for me. > I've tried both 3.23 and 4.0 versions. > Isn't your MySQL version too old ? Thanks -- sorry for being a pest! I was using a beta 3.23 version -- I upgraded and it is fixed. ... a lesson learned :-( -Mark ---

sort_buffer size

2001-12-06 Thread Drew Toussaint
Hi all, We have a system in place that is a LAMP application. The system we have it running on is a FreeBSD 4.3 on a Pentium 3 1Ghz with 500MB of RAM. A mysqladmin -i5 stat returns: Uptime: 44254 Threads: 24 Questions: 779657 Slow queries: 531 Opens: 213 Flush tables: 1 Open table

RE: removing PACK_KEYS

2001-12-06 Thread Jon Gardiner
Pack keys is the only flag that we had trouble with when we were upgrading. As an emergency fix you could use the following to restore: sed -e "s/PACK_KEYS=1//g" < filename.sql | mysql --user=root -p backupdatabasename Jon Gardiner. > -Original Message- > From: Steve Osborne [mailto:[E

  1   2   >