Re: Inserting binary data into a BLOB field

2001-06-16 Thread Lucian Daniel Kafka
At 08:00 AM 6/16/01 +, you 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, and include

Re: What does tmp_table_size *really* do?

2001-06-16 Thread Jeremy Zawodny
On Fri, Jun 15, 2001 at 10:03:57PM -0500, Dan Nelson wrote: 30 seconds of cscope browsing on the mysql source shows the follwing comments right before calls to create_tmp_table(): /* Create a tmp table if distinct or if the sort is too complicated */ /* group data to new table */ So

Re[2]: Multiple CPU's in Freebsd

2001-06-16 Thread Strange Alex
Hello Matthew, Thursday, June 14, 2001, 12:18:08 AM, you wrote: MR Try this: update your ports, then build the mysql port with MR WITH_LINUXTHREADS=1. This should result in a FreeBSD native binary MR linked against linuxthreads instead of libc_r, so it should use multiple MR processors. Hm.. I

COUNT(DISTINCT) -- is this correct behaviour?

2001-06-16 Thread tommie
count() gives 0 but count(distinct) gives 1. is this correct or a bug or is there something wrong with my SELECT? mysql create table t1 (f1 int); mysql insert into t1 values (1); mysql create table t2 (f1 int,f2 int); mysql select t1.f1,count(t2.f2) from t1 - left join t2 on t1.f1=t2.f1

Re: Error Compiling MySQL++ examples (HELP PLEASE)

2001-06-16 Thread Sinisa Milivojevic
Tim Williams writes: I've downloaded the mysql++ api and I'm trying to compile the examples but I keep getting these warnings I don't understand. When I compile , using the Makefile provided I get the following warnings: custom1.cc:8:1 : warning: pasting ~ and stock does not give a

Re: MySQLGUI problems

2001-06-16 Thread Sinisa Milivojevic
Pablo Prado writes: Hi all, I downloaded the both mysql-3.23.39-sun-solaris2.7-sparc.tar.gz mysqlgui-solaris-2.7-sparc-static-1.6 a few days ago. While the sql server is running fine, I cannot get the gui to work. I gunziped it and made it executable using chmod u+x filename. After

Just a quick question about data conversions?

2001-06-16 Thread David Ayliffe
In order to add data to mysql, using LOAD INTO, am I right in thinking that this file has to be local to the machine. Therefore I have to ftp the file I want inserted to the machine running the MySQL server; Correct? Thanks lots David Ayliffe ([EMAIL PROTECTED])

Help me....

2001-06-16 Thread sunil gc
sir, i have a problem.can u please tell me the process how i can transfer my database from MSSQL to MYSQL.Is there any Wizard like import,export im MSSQL. Please send me the details. __ Do You Yahoo!? Spot the hottest trends in

Re: Character set insensitive terms?

2001-06-16 Thread Sinisa Milivojevic
Mark W. de Raad writes: Good afternoon, We have an not-so-unusual problem where people are accessing a database from different countries (in this example, Germany and the UK). One of the search terms commonly used is: gehäuse (housing), which the UK types in as gehause and Germany (rightly

Re: COUNT(DISTINCT) -- is this correct behaviour?

2001-06-16 Thread Sinisa Milivojevic
[EMAIL PROTECTED] writes: count() gives 0 but count(distinct) gives 1. is this correct or a bug or is there something wrong with my SELECT? mysql create table t1 (f1 int); mysql insert into t1 values (1); mysql create table t2 (f1 int,f2 int); mysql select t1.f1,count(t2.f2) from t1

Re: What does tmp_table_size *really* do?

2001-06-16 Thread jaab
On Fri, 15 Jun 2001, Dan Nelson wrote: 30 seconds of cscope browsing on the mysql source shows the follwing ^^ What is cscope? Where can I get it? =) Sincerely, Jan -- Mr. Jan-Aage Bruvoll IT Project Manager 20 Min Holding, Thurgauerstrasse 40, CH-8050 Zurich

Re: What does tmp_table_size *really* do?

2001-06-16 Thread Kevin Whitney
A better tool is Source Navigator, available at Red Hat site. It's Cscope on steroids! Kevin [EMAIL PROTECTED] wrote: On Fri, 15 Jun 2001, Dan Nelson wrote: 30 seconds of cscope browsing on the mysql source shows the follwing ^^ What

RE: What does tmp_table_size *really* do?

2001-06-16 Thread Sander Pilon
The answer to ALL your 'where can I get it' questions is - 1) Freshmeat. www.freshmeat.net (Search for 'cscope'.) 2) Google. www.google.com (Repeat search) Seaarch 1 results in this url: http://freshmeat.net/projects/cscope/ -Sander -Original Message- From: [EMAIL PROTECTED]

RE: Possible Bug in mysql 3.23.38

2001-06-16 Thread William M. Quarles
I would like to note that bug reports should only be sent out if you are using the latest version, which now is 3.23.39. --On Friday, June 15, 2001 17:37 -0600 Chris Bolt [EMAIL PROTECTED] wrote: After creating a new database, I ran: update user set password = 'SomeJunk' where user =

Re: mysqldump on large database..

2001-06-16 Thread SDiZ Cheng
- Original Message - In the last episode (Jun 15), SDiZ Cheng said: When i use mysqldump, seems that MySQL will open all the tables in the database. But, what i have is: a database will over 10,000 tables .. I get a Too much opened file error on this.. I think increasing

mysql and php - Can't Connect To MySQL Server warning

2001-06-16 Thread Larbes, James (GEAE, CDI Corp)
I have installed mysql-3.23.38-hp-hpux10.20-hppa1.1 on an hpux10.20 Unix machine. I also have PHP 4.0.5 installed. When I run mysql through PHP on my web server, I get a Can't connect to MySQL server warning error once every ten times I try to access a database. Is there something I need

Shortest route between 2 cities

2001-06-16 Thread Vahan Yerkanian
Greetings All! I'm looking for a code which will find the shortest route between 2 cities, with data being stored in SQL tables listed below. Anyone has coded such a task ever? I'm including the structure of tables used. CREATE TABLE Cities ( cityID int(4) unsigned NOT NULL auto_increment,

Re: What does tmp_table_size *really* do?

2001-06-16 Thread Dan Nelson
In the last episode (Jun 16), Jeremy Zawodny said: Ah, thanks. The funny thing is that I *did* think to check the source code for a different problem I ran into severl minutes later. I'll have to poke at this some more. I just restarted with a 64MB maximum and one of my more common queries

Re: Shortest route between 2 cities

2001-06-16 Thread Gary Huntress
Here is the text of an email that I googled (eeek! its a verb!) The algorithm you need is called single-source, shortest path, also known as Dijkstra's algorithm. Here's one way to implement it, in pseudo-code. Shortest route on graph of locations in Inform

Re: Just a quick question about data conversions?

2001-06-16 Thread ryc
Yes the server must be able to open the file. I dont know how you would write a file path that accesses another machine heh. ryan In order to add data to mysql, using LOAD INTO, am I right in thinking that this file has to be local to the machine. Therefore I have to ftp the file I want

Re: Shortest route between 2 cities

2001-06-16 Thread Vahan Yerkanian
Yeah I know, I'm googling and yahooing and etc for the last 3 days but my math knowledge is still insufficient to write a PHP code for this. Any kind soul who can stop my pain? Vahan Gary Huntress wrote: Here is the text of an email that I googled (eeek! its a verb!) The algorithm you

Re: mysql and php - Can't Connect To MySQL Server warning

2001-06-16 Thread Steve Brazill
Is it 'exactly' once every 10 times ?? You should check to make sure it's not an 'external' issue. - Do you have a 'series' of DNS servers (like 10) that you use to lookup system names (and 1 of them isn't working properly ?) Try some other service (like 'pinging' the MySQL server from the

Display error but continue script

2001-06-16 Thread Dawn H
How do I make an error display, but still continue the script? The error subroutine does not exit, but the original subroutine that calls it doesn't continue after the error message, it just quits. =Dawn H http://www.rdcss.com/ - RD Computer Solutions http://wow.cooncheese.com/ -

RE: Display error but continue script

2001-06-16 Thread Dawn H
I'm using Perl -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of MikemickaloBlezien Sent: Saturday, June 16, 2001 2:06 PM To: Dawn H Cc: [EMAIL PROTECTED] Subject: Re: Display error but continue script On Sat, 16 Jun 2001 13:47:29 -0500, Dawn H [EMAIL

RE: Display error but continue script

2001-06-16 Thread Don Read
On 16-Jun-01 Dawn H wrote: How do I make an error display, but still continue the script? The error subroutine does not exit, but the original subroutine that calls it doesn't continue after the error message, it just quits. A look at the code that does that would help ... but:

access denied problem

2001-06-16 Thread chao cheng
Hi, I just installed Mysql from source for Linux. When I type the following command: mysqladmin -u root password mysql I got this error: mysqladmin:connect to server@localhost' failed error:'access denied for user:'root@localhost'(using password:NO)' Can some tell me how to correct this

RE: Display error but continue script

2001-06-16 Thread Dawn H
Ah. The subroutine bail_out() that I'm using is using die. Aha! :-) Thanks, =Dawn -Original Message- From: Don Read [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 16, 2001 2:39 PM To: Dawn H Cc: MySQL Email List Subject: RE: Display error but continue script On 16-Jun-01 Dawn H

Re: Display error but continue script

2001-06-16 Thread MikemickaloBlezien
On Sat, 16 Jun 2001 14:33:44 -0500 (CDT), Don Read [EMAIL PROTECTED] wrote: A heck of alot easier with Perl!(Just my opinion) :) Just disable RaiseError and enable PrintError when using DBI On 16-Jun-01 Dawn H wrote: How do I make an error display, but still continue the script? The error

Re: What does tmp_table_size *really* do?

2001-06-16 Thread Jeremy Zawodny
On Sat, Jun 16, 2001 at 12:35:52PM -0500, Dan Nelson wrote: In the last episode (Jun 16), Jeremy Zawodny said: Ah, thanks. The funny thing is that I *did* think to check the source code for a different problem I ran into severl minutes later. I'll have to poke at this some more. I just

MySQL 4 and WINDOWS

2001-06-16 Thread technical Support
Hello, Has anyone managed to compile the BETA version of MySQL 4 for Windows? I have downloaded the source however, it appears to be for LINUX or UNIX. * * Visit http://www.computerstaff.net - Computer Jobs at all LEVELS *

innodb admin questions

2001-06-16 Thread ryc
My application needs to insert between 200-500k rows about once a day... When using MyISAM tables I determined the best way to get this done (while still allowing users to perform select statements from the table) was to use mysqlimport with --low-priority. This way all the inserts get bundled up

Re: Replacing source with binary

2001-06-16 Thread Tobias Tobiasen
Tobias Kjær Tobiasen wrote: Hello I have installed 2.23.32 from source - and I want to upgrade to the latest *rpm* (redhat 6.2@intel). How to do this? The database is in production so downtime should be avoided.. Can I do this: 1) Install the rpm on top of the source installation (I

Need help with mysql

2001-06-16 Thread Malkhaz Mangoshvili
Hello. I installed on my computer Red Hat Linux 7.0. After that I started configuring mysql. I upgraded mysql, added all necessary packages and I wanted to run mysql server. Whenever I type mysql it gives me such an error message: ERROR 2002: Can't connect to MYSQL server through socket

Re: Need help with mysql

2001-06-16 Thread Trond Eivind Glomsrød
Malkhaz Mangoshvili [EMAIL PROTECTED] writes: Hello. I installed on my computer Red Hat Linux 7.0. After that I started configuring mysql. I upgraded mysql, added all necessary packages and I wanted to run mysql server. Whenever I type mysql it gives me such an error message: ERROR

Database Corruption

2001-06-16 Thread Craig G Meyers
I'm new to mysql. I developed a unix korn shell script that performs three queries on our database. Our DBA found corruption problems coincidental to my script development. Is it possible that I could have corrupted the data with three SELECT queries? We are pretty fast-and-loose with security

Re: Need help with mysql

2001-06-16 Thread Paul DuBois
At 6:23 PM -0400 6/16/01, Malkhaz Mangoshvili wrote: Hello. I installed on my computer Red Hat Linux 7.0. After that I started configuring mysql. I upgraded mysql, added all necessary packages and I wanted to run mysql server. Are you using RedHat's MySQL RPMs? If so, you should uninstall

Strange Mysql behaviour

2001-06-16 Thread William Wong
Hi there, For some reason, this query doesn't work: PHP4 mysql_query(select * from user where username='myname' and passwd = password('mypass')); WHILE this one does work: PHP4 mysql_query(select * from user where username='myname' and password('mypass')); Notice the lack of passwd = in the

Re: What does tmp_table_size *really* do?

2001-06-16 Thread Dan Nelson
In the last episode (Jun 16), Jeremy Zawodny said: Err, I forgot to mention that there's a Using filesort in the output as well. That makes me believe it wants to write to disk (even if there may be sufficient RAM). I'm not sure Using filesort actually means it is going to create a file. The

Re: Strange Mysql behaviour

2001-06-16 Thread Paul DuBois
At 8:49 PM -0400 6/16/01, William Wong wrote: Hi there, For some reason, this query doesn't work: PHP4 mysql_query(select * from user where username='myname' and passwd = password('mypass')); Define doesn't work. Fails to return rows? PHP generates an error message? WHILE this one does

Re: Strange Mysql behaviour

2001-06-16 Thread William Wong
PHP4 mysql_query(select * from user where username='myname' and passwd = password('mypass')); Define doesn't work. Fails to return rows? PHP generates an error message? Hi Paul, Sorry bout that. Yes it doesn't return any rows despite the fact that the correct username and password are

Re: java driver

2001-06-16 Thread Paul DuBois
At 12:29 PM +0100 6/15/01, Michael Garthwaite wrote: I'm new to mysql and relatively new to java. I've downloaded a type 4 driver from mm.mysql. I've put the folder containing the driver in my classpath and included the driver in my code as per the instructions as follows: try{

Re: Strange Mysql behaviour

2001-06-16 Thread SDiZ Cheng
I think the problem goes here: PHP4 $result = mysql_query(insert into user values ('$username', password('$password'), '$email')); Please ensure $password is correct, and with no problem.. ( eg. space/CRLF at the enter of the string ... etc.. )

Re: Strange Mysql behaviour

2001-06-16 Thread William Wong
Looks correct to me. Try running this query from the mysql program to verify that you're really matching the password of some entry: mysql SELECT *, password('mypass') FROM user; Hi guys, I've solved the problem, but it was something related to the password function. In my user table, my

.dump files

2001-06-16 Thread trogers
hello, i have some files from a Cd that are .dump files, how do i get these db into mysql? (is it possible using phpMyAdmin). again, these are .dump files, not .sql files. thank you. - Before posting, please check:

RE: .dump files

2001-06-16 Thread Chris Bolt
What format are they in? Please paste a few sample lines. hello, i have some files from a Cd that are .dump files, how do i get these db into mysql? (is it possible using phpMyAdmin). again, these are .dump files, not .sql files.