Re: Importing Common Separated Values file

2001-01-24 Thread Richard Ellerbrock
Yes, read up on LOAD DATA statement in manual. -- Richard Ellerbrock [EMAIL PROTECTED] >>> Clement <[EMAIL PROTECTED]> 2001/01/25 09:33:46 >>> Hi, Can you suggest a way to import a CSV file into a MySQL table? Your help is greatly appreciated. Regards, Clement --

Importing Common Separated Values file

2001-01-24 Thread Clement
Hi, Can you suggest a way to import a CSV file into a MySQL table? Your help is greatly appreciated. Regards, Clement - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com

Re: Online db designer (alpha testing)

2001-01-24 Thread Anders Hedström
I don't know why I keep forgetting the URL every time I do this. Here it is, http://dbd.aktieprat.nu/ ... Anders Hedström wrote: > Hi > I have been building an online dbdesigner for MySQL, to be able to > design a database with some of my non-programming friends. > The result has become

content of a MySQL-Database on searchable CD-ROM?

2001-01-24 Thread Bernd Kulawik
Good morning, we want to create a bibliographical database with ca. 500.000 entries and a very simple structure (3 tables) to publish it on the internet (with PHP and Apache). A second aim is to make a CD for those, who cannot always be online. It should be usable like the CD-ROMs you normally

Online db designer (alpha testing)

2001-01-24 Thread Anders Hedström
Hi I have been building an online dbdesigner for MySQL, to be able to design a database with some of my non-programming friends. The result has become more than a toy, so I thought I'd show it to y'all, dear MySQL community. Features * Create/change/delete databases / tables / fields / keys * Ea

Re: mysql mail madness

2001-01-24 Thread John Dean
Hi The culprit is OutLook Express. Unfortunately OutLook Express is broken. I use Eudora Pro and I don't get any problems At 23:58 24/01/2001 +, Texscene_Support wrote: >Hi, > >I keep getting hundreds of mysql postings. > > >I was away between 16th jan, and 23rd. Since I came back I started

Re: oriented object databases

2001-01-24 Thread John Dean
Hi Use Objectvity, POET or Versant OODBMS MySQL is not an OODBMS. I have used both Objectivity and POET and for me POET the easiest to use, especially if you are proficient in C++ Both OODBMS are very expensive At 21:14 24/01/2001 +, Ez zougari Elmostafa wrote: >hello there; >i want to know

Text Max

2001-01-24 Thread Website4S
Hi, I`m setting up a field in my DB called Description and basically want it to have a max character length of 1000, my MySQL manual tells me varchar is limited to 255 so thats out of the window then it goes on to say text has a max of 64 kb of text and defines all the others in this way. I di

How to query???

2001-01-24 Thread Arthur Radulescu
Can anyone help me with this query??? I have a very big table (70.000 rows) which has several rows like this: idproductdescription 1P1desc1 2P1desc2 and I want to transform it into: idproductdescription 1

How to query???

2001-01-24 Thread Arthur Radulescu
Can anyone help me with this query??? I have a very big table (70.000 rows) which has several rows like this: idproductdescription 1P1desc1 2P1desc2 and I want to transform it into: idproductdescription 1

installation problems

2001-01-24 Thread revathi venkatraman
Sir, I have downloaded mysql from the net. I want to install it on the linux machine . I followed all the instructions given for installation in the binary distribution form. But there is an error saying that 'unable to connect to socket /tmp/mysql.sock 'while trying to check whether the serve

Re: Ideas??

2001-01-24 Thread Website4S
Hi Greg, Thanks for that, perhaps I should drink more coffee help my brain to be a bit more active at 5.30 in the morning. Cheers Ade - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://

RE: Ideas??

2001-01-24 Thread G r e g L a w r i e
Try turning your thinking the other way around and you will make life a little easier for yourself. Have a tblProject table with projectId as the primary key. You can have as many other fields for whatever data you want to store. Then have a tblBids table, having it's own primary key bidId. It

Re: odbc_connect();

2001-01-24 Thread Mac Martine
oh, true..thanks! actually its now saying: isnt odbc_connect() a predefined function? Fatal error: Call to unsupported or undefined function odbc_connect() -hmmm... mac - Original Message - From: Thiemo Nagel <[EMAIL PROTECTED]> To: Mac Martine <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> S

Ideas??

2001-01-24 Thread Website4S
Hi, I am creating a web site which allows users to post projects and then others to place bids. I am setting up two tables in MySQL 'Projects' & 'Bids' my problem is how best to cross reference. What I was thinking of doing is creating a number of fields in the Projects table... Bid1 Bid2

Re: odbc_connect();

2001-01-24 Thread Mac Martine
oh, true..thanks! actually its now saying: isnt odbc_connect() a predefined function? Fatal error: Call to unsupported or undefined function odbc_connect() -hmmm... mac - Original Message - From: Thiemo Nagel <[EMAIL PROTECTED]> To: Mac Martine <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> S

Best way to duplicate a table in a running database?

2001-01-24 Thread Guy Waugh
Hi there, One of my users wants to copy a large table. He normally does this through PHPMyAdmin, but the table seems too large for the web browser to handle, and it times out. I'm using mysql version 3.22.32-log on a RedHat Linux 6.2 (Intel) box. The file system is on a hardware RAID array.

Re: Undefined reference in libmysqlclient.a

2001-01-24 Thread Derek Sivers
>On RedHat there's no need to add "-lz" to the linker options, on Debian it >is (when using the statically libmyslclient.a). Is this a bug somewhere >in the makefile or anyways, should compress be in the .a lib or is it ought >to be added manually with -lz? Use -lz Read on: - THE PROBL

Re: Replication question

2001-01-24 Thread Jeremy D. Zawodny
On Wed, Jan 24, 2001 at 10:45:53PM -0500, Scott Vanderweyst wrote: > > I have a couple of questions regarding replication in MySQL: > > 1) does it work well/handle loss of connections due to network > outages/delays; we have a geographically diverse environment, and were > hoping to be able to re

Re: Troubles installing MySQL-3.22.32

2001-01-24 Thread Derek Sivers
At 09:58 PM 1/23/01 , Manuel Leos wrote: >Hi everybody, I'm trying to install the RPM on a RH >7.0 everything looks normal but the server dies >sending this message >mysqld: Can't find file: 'host.ISM' (errno: 2) It's part of the first database/table that MySQL sets up for you. I get this error

PHP on Cobalt RaQ - general info

2001-01-24 Thread Derek Sivers
>Just a question of curiousity. Can you install PHP using tars files? >I was looking at purchasing a few servers last fall and when I looked at the >RAQ3/4 they (colbalt) told me that you could only install their stuff and >they didn't have new versions of MySQL and only PHP3. Yep! The Cobalts

Replication question

2001-01-24 Thread Scott Vanderweyst
I have a couple of questions regarding replication in MySQL: 1) does it work well/handle loss of connections due to network outages/delays; we have a geographically diverse environment, and were hoping to be able to replicate the data across the connections (which may have outages from time to ti

Re: odbc_connect();

2001-01-24 Thread Thiemo Nagel
Hi, as far as I can see that, you forgot the $ sign in front of the odbc_db variable at the line, that causes the error. bye, Thiemo Mac Martine schrieb: > > hello- > I'm getting a parse error here...any ideas why? This is my first try at databases, >php, mysql and odbc, so. > the d

odbc_connect();

2001-01-24 Thread Mac Martine
hello- I'm getting a parse error here...any ideas why? This is my first try at databases, php, mysql and odbc, so. the database is one which i made in MSaccess... thanks- if(!(odbc_db = odbc_connect($odbc_dsn, $odbc_userid, $odbc_password))) <---PARSE ERROR ON LINE ABOVE-

RE: newbie question re: manual tutorial

2001-01-24 Thread John Wallace
Thanks for looking at my problem and giving me a hint. > Do a myisamchk on your table. It sounds like you're having > trouble with a corrupted index. > First run of myisamchk indicated "1 clients is using or hasn't closed the table properly" I ran myisamchk -r on the shop.MYI and got the messag

mysql.sock doesn't exist

2001-01-24 Thread lkeeton
Today I had an unsuccessful intallation of mysql 3.22.32 (RPM) server on a Cobalt Raq 3 Server. I am not quite sure why the file didn't install but the 2202 can't find var/lib/mysql mysql.sock error continues to be an error when starting safe_mysqld server. How can I solve this problem? I went

Re: MySQL + PHP ?

2001-01-24 Thread Peter Stapley
I have used both on the same machine(FreeBSD 4.1) and never have had a problem. - Original Message - From: "Khuon Tech" <[EMAIL PROTECTED]> To: "MySQL forum" <[EMAIL PROTECTED]> Sent: Wednesday, January 24, 2001 7:56 PM Subject: MySQL + PHP ? > > Hi all, > > I'm actually using RH kernel

MySQL + PHP ?

2001-01-24 Thread Khuon Tech
Hi all, I'm actually using RH kernel 2.2.16 with Apache(1.3.9 + mod_ssl)/Perl5/ MySQL(3.22.30). Managing databases in MySQL with Apache/DBI. My question is: Is it possible to use both DBI(Perl) and PHP on the same machine in order to manage databases in MySQL with Apache? Any conflict? I gon

Re: SELECT FROM TABLE WHERE ?

2001-01-24 Thread Angela
Did you ever get an answer? I played with some queries and came up with this: SELECT ID, NAME, RATING FROM SINGLEMALTS ORDER BY RATING DESC LIMIT 0,1; If you want more than one record, you can change the 1 at the end to how many you want. If you want to list them all in that order, you can take o

Re: Running mysql tests

2001-01-24 Thread Jorge del Conde
Hi, you need to install the perl DBI package! > What is DBI, sounds like data base interface or something like that. Do I > need a latter perl or a different configure for my perl??? "The DBI is a database interface module for Perl. It defines a set of methods, variables and conventions that pr

Re: Running mysql tests

2001-01-24 Thread Peter Stapley
DBI is the database interface for Perl, I assume this bench mark uses perl so you will need to install the DBI. - Original Message - From: "MacDonell, Dennis" <[EMAIL PROTECTED]> To: "'MySQL List'" <[EMAIL PROTECTED]> Sent: Wednesday, January 24, 2001 5:51 PM Subject: Running mysql tests

Re: mysql_fetch_row blocks my computer...

2001-01-24 Thread Jorge del Conde
Hi, >Row = mysql_fetch_row(result); < Here is the problem That syntax seems correct. Make sure you have defined Row as: MYSQL_ROW Row; and that result is defined as MYSQL_RES *result; printf("\n\t%u %4s",j,Row); <---YOUR problem seems to be here! change Row to Row[0] and see if

RE: mysql mail madness

2001-01-24 Thread Scott Gerhardt
Dear mail overload, Here are some things you can do: 1.) Make sure that you set your mail client to delete messages off the server when deleted. 2.) Download the messages and Delete all the messages you don't want. 3.) Make sure to remove yourself from the list before you go away next time. 4.)

Running mysql tests

2001-01-24 Thread MacDonell, Dennis
Hi, There must be a simple answer to this but I'm not quite across it. I build mysql-3.23.32 yesterday, and seeing if everything worked. Going through the steps of INSTALL-SOURCE, everything seemed to be working until I got to the bit where you run all the tests. From the command line in /usr/l

mysql_fetch_row blocks my computer...

2001-01-24 Thread Gonzalo Aguilar
First of all, before I forget it... My MySQL is: mysql Ver 9.38 Distrib 3.22.32, for pc-linux-gnu (i686) I have a problem with mysql_fetch_row... When I use it the system goes to 100% CPU usage and nothing else, I get not rows... The code is: . . .

Select not working selectively

2001-01-24 Thread Nathan Cook
When I run this query on a 20,000 record table with 18 fields. The table has some identical entries and I am trying to get a count of those entries descending. SELECT email, fname, lname, count(email) as emailcount FROM referralSpace GROUP BY email ORDER BY emailcount ASC LI

Re: mysql_fetch_row problem

2001-01-24 Thread Gonzalo Aguilar
Muhd Zamri MS wrote: > > Hi... > > I need to somebody clarify what is the problem with this..: > > MYSQL mysql; > MYSQL_RES *result; > MYSQL_ROW rows; > int i,n; > > . > . > . > > result = mysql_store_result(&mysql); > > n = mysql_num_rows(result); > > for(i=0;i<=n;i++) > { >

Re: Field_float::val_str crash in 3.23.32

2001-01-24 Thread Kevin Day
> > On Wed, Jan 24, 2001 at 05:09:59PM -0600, Kevin Day wrote: > > > > I don't know why configure doesn't think I have snprintf, but I > > guess I'm glad it doesn't, because shouldn't that cause bad things > > if I did? shouldn't the line be: > > > > snprintf(to,val_buffer->length(),"%.*f",

Re: Field_float::val_str crash in 3.23.32

2001-01-24 Thread Kevin Day
> > On Wed, Jan 24, 2001 at 03:15:48PM -0600, Kevin Day wrote: > > Does this only occur when more than one client is accessing the table > in question? If so, it's a thread-related problem that has been with > us since FreeBSD 3.x. :-( > > It looks like what I've seen before. > > I have a re-p

mysql mail madness

2001-01-24 Thread Texscene_Support
Hi, I keep getting hundreds of mysql postings. I was away between 16th jan, and 23rd. Since I came back I started to receive all the mysql mails since 16th of January whenever I press the "Send/Receive" button on the OUTLOOK EXPRESS. First time round there were about 800 messages. I patient

mysql mail madness

2001-01-24 Thread Texscene_Support
Hi, I keep getting hundreds of mysql postings. I was away between 16th jan, and 23rd. Since I came back I started to receive all the mysql mails since 16th of January whenever I press the "Send/Receive" button on the OUTLOOK EXPRESS. First time round there were about 800 messages. I patient

Re: Adding UDF functions

2001-01-24 Thread Jeremy D. Zawodny
On Wed, Jan 24, 2001 at 05:20:30PM -0500, Kent Hoover wrote: > > Can I add, activate, and use a new UDF function to an already > existing udf_.so library without restarting MySQL server? Yes. -- Jeremy D. Zawodny, <[EMAIL PROTECTED]> Technical Yahoo - Yahoo Finance Desk: (408) 328-7878Fax: (

Re: Field_float::val_str crash in 3.23.32

2001-01-24 Thread Jeremy D. Zawodny
On Wed, Jan 24, 2001 at 05:09:59PM -0600, Kevin Day wrote: > > I don't know why configure doesn't think I have snprintf, but I > guess I'm glad it doesn't, because shouldn't that cause bad things > if I did? shouldn't the line be: > > snprintf(to,val_buffer->length(),"%.*f",dec,nr); > > In

Re: Field_float::val_str crash in 3.23.32

2001-01-24 Thread Jeremy D. Zawodny
On Wed, Jan 24, 2001 at 03:15:48PM -0600, Kevin Day wrote: Does this only occur when more than one client is accessing the table in question? If so, it's a thread-related problem that has been with us since FreeBSD 3.x. :-( It looks like what I've seen before. I have a re-produceable case that

RE: rank newbie looking for SQL forum

2001-01-24 Thread Jason Witherspoon
Okay, thanks guys! I'll lob this ball atcha, then: My main data table is 'trcdatabase2'. I currently use perl programs to get our in-house exported flat-file database into web-ready shape, but these can go *really* *slowly*, so I wanted to harness the speed of SQL. I've created a couple of

RE: [PHP-DB] substring equiv in PHP

2001-01-24 Thread Oson, Chris M.
did you try substr? http://www.php.net/manual/en/function.strstr.php -Original Message- From: Lucas Rockwell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 1:14 PM To: PHPDB Subject: [PHP-DB] substring equiv in PHP Hello, I am wondering what PHP's equilivent of the SQL s

Re: Field_float::val_str crash in 3.23.32

2001-01-24 Thread Kevin Day
> > >Description: > > I'm getting a pretty consistant crash in mysqld: > > /usr/ports/databases/mysql323-server/work/mysql-3.23.32/sql/mysqld: ready for >connections > > Program received signal SIGSEGV, Segmentation fault. > 0x282ae35c in bcopy () from /usr/lib/libc_r.so.4 > (gdb) bt > #0

Using mysql-super-smack

2001-01-24 Thread Brad Christensen
I am attempting to benchmark mysql on a single-proc machine vs a quad-proc machine. Every time I run mysql-super-smack against the test2.smack file provided, I get the error: mysql-super-smack:client 'smacker2' referenced on line 61 is not defined mysql-super-smack:line 54: set_nu

Adding UDF functions

2001-01-24 Thread Kent Hoover
Can I add, activate, and use a new UDF function to an already existing udf_.so library without restarting MySQL server? Thanks, Kent Hoover - Before posting, please check: http://www.mysql.com/manual.php (the manual)

Re: Sizing HEAP table using .MYD/MYI

2001-01-24 Thread Jan Dvorak
Hi, If my calculations are correct, your table will grow quite a lot if you change from the MyISAM format to HEAP. The space to hold the data will be roughly 1.3GB (a double of what it's with MyISAM!) and the index will be another 1.3GB. Pretty huge, isn't it? I think the dynamic row format is

oriented object databases

2001-01-24 Thread Ez zougari Elmostafa
hello there; i want to know if it's possible to implemente an oriented object databases, and what should i do to release this implementation. thank's. - Before posting, please check: http://www.mysql.com/manual.php (the manu

Can't connect through socket error when starting server

2001-01-24 Thread lkeeton
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/m ysql.sock' (111) I have a Cobalt Raq3 trying to get mysql installed but I can't get passed this. Any suggestions. - Before posting, please check

RE: rank newbie looking for SQL forum

2001-01-24 Thread G r e g L a w r i e
I haven't participated, but the site at www.sqlteam.com looks useful and does have a number of forums there. HTH, G. > -Original Message- > From: Jason Witherspoon [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 25 January 2001 8:14 > To: [EMAIL PROTECTED] > Subject: rank newbie looking

RE: Query problem in mysql.3.23.32

2001-01-24 Thread jgomez
OK,here goes more information about my problem: I have a table with the next structure: flag char(1) nextval bigint(20) unsigned autoincrement The query i execute with no problems in mysql 3.22 is: select * from table; REPLACE INTO table values (\'\',nextval+1)

RE: rank newbie looking for SQL forum

2001-01-24 Thread Quentin Bennett
Hi Jason, You have found the right place. No one here minds you asking simple questions, so long as you have checked the manual and the list archive before asking. In particular, Red Hat installs are a frequent topic. This list is supposed to be MySQL specific, but sometimes we get a little sid

Should I use SQL_BUFFER_RESULT?

2001-01-24 Thread F008 (N.J.BRANDON)
Hi I have not used MySQL for a while and just noticed in the manual a feature called SQL_BUFFER_RESULT. I was wondering whether this is useful if I am writing an application in PHP (web based)? For example, if I did a select that returned 1000 rows, would PHP store the dataset in its memory and

Re: rank newbie looking for SQL forum

2001-01-24 Thread Scott Baker
start with: http://www.sqlcourse.com/ At 01:44 PM 1/24/2001 -0800, Jason Witherspoon wrote: >Hi-- > >As stated above, I'm a raw beginner looking for some (probably fairly >simple) SQL conceptual help. Having lurked for a while, I can see that >since this isn't MySQL-specific, there's probabl

rank newbie looking for SQL forum

2001-01-24 Thread Jason Witherspoon
Hi-- As stated above, I'm a raw beginner looking for some (probably fairly simple) SQL conceptual help. Having lurked for a while, I can see that since this isn't MySQL-specific, there's probably a better forum in which I can attempt to iron out my confusion. Can anyone point me to a mailing

RE: Doing multiple updates

2001-01-24 Thread Mark Maunder
Sounds good. You should probably have a cleaner process of some kind just in case one of your threads dies before it can release the lock. I think with get_lock you have a timeout that protects you from that. I'm curious about the internals of get_lock - perhaps it's more efficient to use a soft l

Field_float::val_str crash in 3.23.32

2001-01-24 Thread Kevin Day
>Description: I'm getting a pretty consistant crash in mysqld: /usr/ports/databases/mysql323-server/work/mysql-3.23.32/sql/mysqld: ready for connections Program received signal SIGSEGV, Segmentation fault. 0x282ae35c in bcopy () from /usr/lib/libc_r.so.4 (gdb) bt #0 0x282ae35c in bcopy () fro

RE: Doing multiple updates

2001-01-24 Thread Cal Evans
Randy, My recommendation (and there are probably many people who will disagree with me) is to use a "soft-lock" schema. In your account table, add a field named lockedBy. I usually add a field named lockedAt also as a timestamp. the basic flow is this: 1: Check to see if the record has somethi

RE: Doing multiple updates

2001-01-24 Thread Mark Maunder
Sounds like you want a mutex and you can use get_lock and release_lock in mysql for that. http://www.mysql.com/doc/M/i/Miscellaneous_functions.html GET_LOCK(str,timeout) Tries to obtain a lock with a name given by the string str, with a timeout of timeout seconds. Returns 1 if the lock was obta

Re: Junction entities VS. JOIN

2001-01-24 Thread Dylan Shea
Benjamin, beautifully put. Thank you both so much. --Dylan Shea Benjamin Pflugmann wrote: > Hi. > > It's simply that you can look at (a_id,b_id) as a PRIMARY KEY. You > don't need an additional, aritificial sequence number ab_id. > > CREATE TABLE table_ab ( > a_id INT NOT NULL, > b_id INT

mysql 3.23.32 & table problems

2001-01-24 Thread Peter Zaitsev
Hello monty, I'm using mysql 3.23.32 on linux and it looks like there is a problem with check/auto-recovery left: On many of my servers I find the above in a log file: 24.Jan 23:45:07 : pid:1412 counter:32256 AllInOne MySqlEr Query - #1034 [tor.local] - Incorrect key file for table: 'g09

Doing multiple updates

2001-01-24 Thread Randy Johnson
Hello, I am creating a mock site that has a money balance that people can login and pretend to pay money for stuff online via my site. I am using php with mysql to implement this. How do I make sure that a balance for a particular account is (locked) so only 1 spend for that account can happen

RE: Sizing HEAP table using .MYD/MYI

2001-01-24 Thread mike thomas
Richard Thanks for the info! I have just one more question. To get the structure of the table I did a myisamchk and did a desc on the table. The output is shown below. From this is it possible to determine the amount of RAM I would need for a HEAP table? Thanks! MichaelT MyISAM file: d

RE: Query problem in mysql.3.23.32

2001-01-24 Thread Don Read
On 24-Jan-01 Jesús Gómez Pastor wrote: > I have a problem in 3.23.32, > The query > > select * from table > repalce table values('','nextval+1) ^^ ^ these might be a problem, in addition to your select/replace/(update) confusion. > > returns me always nextval=1. n

RE: MySQL-3.22.32 host.ISM not found. Plz HELP

2001-01-24 Thread Mark Maunder
It's one of MySQL's permission files which is usually in /var/lib/mysql/mysql If the file is there it may be permissioned incorrectly. It usually needs to be owned by the mysql user and group so cd /var/lib/mysql chown mysql.mysql mysql -R if this seems to be the problem. The permission files in

RE: sql problem - it may be a version problem ??

2001-01-24 Thread The Tilghman
That feature is only available in 3.23, while you're running 3.22. Upgrade your server and you'll get it. -- "There cannot be a crisis today. My schedule is already full." --Henry Kissinger > -Original Message- > From: lrado [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 2

Re: AW: replication in 3.23.32

2001-01-24 Thread Sasha Pachev
On Wednesday 24 January 2001 09:47, Josef Chladek wrote: >> I am currently investigating this. In the mean time, see if the following >> workaround will solve the problem: >> >> CHANGE MASTER TO >> MASTER_HOST='your-master',MASTER_USER='user',MASTER_PASSWORD='mast >> er-pass', >> MASTER_LOG_POS

sql problem - it may be a version problem ??

2001-01-24 Thread lrado
hi everybody !!! i need to resolve the following query ( a silly one ) in a mysql server 3.22.30 and i get the following error: mysql> select count(distinct ip_dst) from iphdr; ERROR 1064: You have an error in your SQL syntax near 'distinct ip_dst) from iphdr' at line 1 mysql>

MySQL-3.22.32 host.ISM not found. Plz HELP

2001-01-24 Thread Manuel Leos
Hi everybody, I'm trying to install MySQL-3.22.32 on a RH 7.0 everything looks normal but the server dies sending this message mysqld: Can't find file: 'host.ISM' (errno: 2) How do I fix this?, Where can I get this file? or How can I build it? Thanks _

Re: fulltext search performance

2001-01-24 Thread Sergei Golubchik
Hi! On Jan 23, Alex Krohn wrote: > Hi, > > Has anyone used the fulltext indexes in 3.23 and can share their > experiences? I've only done limited testing, but was quite disapointed > with performance. > > We have an import of DMoz data into a table with Title, URL and > Description fields as a

RE: automation question: How do I copy the data from one table to another table with a time stamp every night?

2001-01-24 Thread Mark Maunder
Hey Chuck, We replicate data on a regular basis from Oracle to MySQL and back using perl cron scripts. Here's a basic one for ya: #!/usr/bin/perl use strict; use DBI; my $dbh1=DBI->connect("DBI:mysql:dbname:host.mark.com:6969", 'root' ,'password'); my $dbh2=DBI->connect("DBI:mysql:dbname2:host

Re: automation question: How do I copy the data from one table to another table with a time stamp every night?

2001-01-24 Thread Eric Frazier
Hi, I do what to know this literal question. But what about if you are doing this across two servers? You certainly don't want to copy they whole table to the second database to update the second with the first. And I know someone will say use replication, but I am more interesting in a general

Query problem in mysql.3.23.32

2001-01-24 Thread Jesús Gómez Pastor
I have a problem in 3.23.32, The query select * from table repalce table values('','nextval+1) returns me always nextval=1. table has 1 row and the query runs fine in mysql 3.22.x Any idea? Thanks.

Re: Problems with RPM installation

2001-01-24 Thread chuck
You might be able to build it from tarball as a regular user but access to the RPM database (e.g. installing via RPM) requires root level permissions. On Wed, 24 Jan 2001, lkeeton spewed into the bitstream: l>Why am I getting this error. Is the rpm program not working. I am running as l>user ad

version 3.20.32a default value weirdness

2001-01-24 Thread Nikos Andronikos
hey all, i'm having some problems with 3.20.32a not accepting any default values. on the following test create i get ERROR: Invalid default value for 'testid' create table tbltest ( testid mediumint(11) unsigned DEFAULT '0' NOT NULL auto_increment, test char(12) NOT NULL, PRIMARY KEY (testid))

Database reading problems

2001-01-24 Thread Chris Cameron
After noticing all my PHP scripts using MySQL had stopped working, I noticed that any attempt to look through databases mith mysql brought up; Can't read dir of '.' (Errcode: 9) Can't read dir of './mysql' (Errcode: 9) Database changed I can no longer get any information from MySQL, and I'm hopin

Re: write problems via MS Access 97 in table with timestamp and primary key

2001-01-24 Thread John Jensen
I used to get this all the time, myself, when I was trying to update a mysql database with Access 2000 through myodbc. Funny, at the time, nobody else seemed to understand what I was talking about. Once I got phpMyAdmin working, the problem became academic, but it never did get solved. I'm s

RE: automation question: How do I copy the data from one table to another table with a time stamp every night?

2001-01-24 Thread Cal Evans
if you've compiled php without apache support (separately from your normal php with apache support) but with mySQL then you can write php scripts that run from the command line. I usually keep a second php.ini for command line scripts because they can run long. This all could be put in a CRON jo

Re: Junction entities VS. JOIN

2001-01-24 Thread Benjamin Pflugmann
Hi. It's simply that you can look at (a_id,b_id) as a PRIMARY KEY. You don't need an additional, aritificial sequence number ab_id. CREATE TABLE table_ab ( a_id INT NOT NULL, b_id INT NOT NULL, PRIMARY KEY (a_id,b_id), UNIQUE (b_id,a_id) ) Replace INT by whatever type seems appropriate

Re: automation question: How do I copy the data from one table to another table with a time stamp every night?

2001-01-24 Thread Steve Ruby
Chuck Barnett wrote: > > Thanks for replying. > I know the SQL commands, I want to know how to automate the whole sequence. > > I've always written php pages that do the calls. I want to write a script > to do it on the server as a cron job or something. Ahhh, pardon my confusion, since this

Re: automation question: How do I copy the data from one table to another table with a time stamp every night?

2001-01-24 Thread Chuck Barnett
Thanks for replying. I know the SQL commands, I want to know how to automate the whole sequence. I've always written php pages that do the calls. I want to write a script to do it on the server as a cron job or something. thanks Chuck - Original Message - From: "Steve Ruby" <[EMAIL PROT

Problems with RPM installation

2001-01-24 Thread lkeeton
Why am I getting this error. Is the rpm program not working. I am running as user admin not root. I was told that I can still install mysql without using the root user. The only thing i know is that when I went to that directory below I don't have permission to write to that directory. I am not

Re: automation question: How do I copy the data from one table to another table with a time stamp every night?

2001-01-24 Thread Steve Ruby
Chuck Barnett wrote: > > How do I copy the data from one table to another table with a time stamp > every night? > > example: table A contains x,y,z. > > at midnight, I want to copy table A's contents to table B (B has same > fields, just adds a date field) and reset x,y,z to zero. > what d

Replication questions

2001-01-24 Thread Kevin . Brown
I'm doing NIDS work as a small part of my job and have setup MySQL 3.22.32 for logging of alerts. My problem is that when a user accesses the db it gets locked and the NIDS hangs if the read takes too long, forcing a reboot of the NIDS box. I'm trying to determine if I replicate the db and do th

HELP!!

2001-01-24 Thread Paul Yoon
Dear, I am Tomcat 3.2 user and it is running on Windows 2000 Professional. I used MS Access and Tomcat crashed everytime. So I downloaded MySql (mm.mysql-2.0.1-bin.jar for JDBC , MySQL3.23, MyODBC ) and still Tomcat is crashing. I think the problem would be memory leaking caused by JDBC-ODBC bri

automation question: How do I copy the data from one table to another table with a time stamp every night?

2001-01-24 Thread Chuck Barnett
How do I copy the data from one table to another table with a time stamp every night? example: table A contains x,y,z. at midnight, I want to copy table A's contents to table B (B has same fields, just adds a date field) and reset x,y,z to zero. my setup is a cobalt raq4i MySQL 3.22.32 Thank

SQL Reference

2001-01-24 Thread Quentin Smith
Hi- I know I'm probably gonna regret this (bandwith issues), but I have just put up an online SQL reference at http://comclub.dyndns.org:8081/sqlref/ Feel free to use it. If you see any problems, just tell me or hit the webmaster link at the bottom. --Quentin --

misc problems

2001-01-24 Thread Arin Komins
Hi there folks, I upgraded to 3.23.32 yesterday from 3.22.32. Now I'm seeing a whole host of problems. (I just joined the list, so while I saw tc lewis' similar problem #1, I didn't see the resolution.) 1) I've got the aborted connection problem appearing in my logs frequently: 010124 11:17:5

Re: Displaying Date correctly

2001-01-24 Thread j.urban
It's not annoying if that's the format you require... Try the DATE_FORMAT() function like so: select DATE_FORMAT(datecolumn,"%d/%m/%y") from tbl_name; Please see the manual: http://www.mysql.com/doc/D/a/Date_and_time_functions.html On Wed, 24 Jan 2001, Sam wrote: > Hi all, > > I was wonde

Displaying Date correctly

2001-01-24 Thread Sam
Hi all, I was wondering how I can display a date in this format 'DD/MM/YY' As when I do a select statement and display the date I get it in this format 'DD-MM-YYY 00:00:00' Which is kind of annoying. I am using mySQL and also PHP. Thanks in advance. Sam Rose

Re: Command line utility?

2001-01-24 Thread Marc Kidwell Pestana
Try writing a PERL wrapper, that dumps the table to the screen and then pipe it to more % MyPerlwrapper -table | more >Is there a user friendly utility that would allow one to display the >structure of a table or view the contents of one? Of course, this can >be done from within "mysql -p" bu

Problem with 3-23-28 gamma wpi files

2001-01-24 Thread Robert Gehrig
Hi There appears to be a problem with the .wpi files of 3-23-28 OS/2 port. The main file sends my swap file to over 300 Meg and with the inf and pdf files I get a message that they are corrupted. Could the person who ported it please re-issue them. Thanks Robert Gehrig Webmaster at www.gdbar

Re: Connection to remote Mysql Server.

2001-01-24 Thread Sherwin Ang
Rajesh Prakasan I use this free and lighweight SSH client for win32 to access my remote mysql servers on linux check it out at http://www.chiark.greenend.org.uk/~sgtatham/putty/ -Sherwin Yesmynet Internet #mysql - undernet irc - Original Message - From: "Rajesh Prakasan" <[EMAIL

Using LOAD from buffer instead of file

2001-01-24 Thread Martin Stoufer
I have not read in the documentation if we can do this or not. I would like to have a script running that would have a server socket listening for connections. Once a connection is made, it would receive, say, 5000 lines of info into some temp buffer. We have some efficient SWIG'd C code that can

RE: Command line utility?

2001-01-24 Thread Mark Maunder
mysql etoys < test.txt | more where test.txt contains something like: desc addresses; desc members; Or try mysqldump dbname addresses members orders -d | more That'll give you the data definition language without any data for each table. (addresses, members and orders in the above example) If

Problem on installing MySQL in AIX powerPC

2001-01-24 Thread Hyup Cho
Here are attached files: <> <> <> --- Dear MySQL supporter, I tried to install MySQL version 3.23.32 on our AIX machine but got errors. Source compilation also failed. Here are the situation I worked and attached are error log files. Binary Insta

Problem on installing MySQL in AIX powerPC

2001-01-24 Thread Hyup Cho
Dear MySQL supporter, I tried to install MySQL version 3.23.32 on our AIX machine but got errors. Source compilation also failed. Here are the situation I worked and attached are error log files. Binary Installation released file : mysql-3.23.32-ibm-aix4.3.3.0-rs6000.tar.gz error log fro

  1   2   >