Table_locks_immediate and Innodb Selects

2005-11-07 Thread lee
Why would a simple select against an innodb db result in a bump of the table_locks_immediate variable? I've been debugging a different problem and I noticed this behavior. I don't believe it is a problem but can't explain the behavor and it seems odd. Regards, Lee mysq

tmpdir "round-robin" algorithm?

2004-02-17 Thread lee
to the directories in the order listed in tmpdir? Or are all the directories functionally equal? Thanks in advance! /lee = == /lee +---+ | This concludes our broadcast day| +---+ __ Do

MySQL version 4.1.x

2004-02-18 Thread lee
anges in release 4.1.x (Alpha) > * C.2.1 Changes in release 4.1.2 (not released yet) > * C.2.2 Changes in release 4.1.1 (01 Dec 2003) > * C.2.3 Changes in release 4.1.0 (03 Apr 2003: Alpha) Thanks in advance! /lee = == /lee +-

appropriate datatype - blob/text?

2002-02-19 Thread Lee
. Any advice would be greatly appreciated. - Best regards, Lee sql,query - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request

Re: How can this Oracle Query converted to MySQL

2002-06-26 Thread lee
e table -- Company, in your FROM list is not joined with anything except in the subquery. I fail to see how the query could produce proper results. -- Lee Fesperman, FirstSQL, Inc. (http://www.firstsql.com) == * The Ultimate DBMS is here

mysql - multimedia database

2006-07-10 Thread Shain Lee
Hi , I'm just behind a mulimedia database , that wanted to be online with WAP contents. So , i decided to go ahead with mysql , and i installed mysql latest 5.0 in fedora core 5 with innoDB .upto now every thing success. But , my worries is , how can i created huge mulimedia database wit

udf configuration

2006-07-19 Thread Yong Lee
Hi all, I hope I have hit the right group for this question. I would like to create a UDF that is configurable at run time. Similar to how mysql can use variables defined in the /etc/my.cnf file, I'd like my UDF to make use of configuration parameters that can be set at run time. I'm w

udf configuration resources

2006-07-19 Thread Yong Lee
Hi all, I hope I have hit the right group for this question. I would like to create a UDF that is configurable at run time. Similar to how mysql can use variables defined in the /etc/my.cnf file, I'd like my UDF to make use of configuration parameters that can be set at run time. I'm w

Finding the closest value

2006-07-31 Thread Lee Goddard
using a Kohonen network, but I would prefer to use MySQL. Many thanks in anticipation Lee -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Finding the closest value

2006-08-03 Thread Lee Goddard
n-col1)), LEAST( ABS(MIN(@n-col2)), ABS(MIN(@n-col3)) ) ) FROM ... I think the formula is just right - very clever. But is it possible to make sure that col1, col2 and col3 are all from the same record? Thanks in anticipation Lee -- MySQL G

mysql driver for C++

2006-09-12 Thread Shain Lee
Hi , Could you please tell me , how can i install C++ , mysql driver in Fedora core 5 ? Is that available for any platforms ? does YUM supports for install mysql c++ ? please help me , its really urgent . Thank you, Shaine. - Yahoo! Cars NEW

utf8 charset question

2006-09-18 Thread Yong Lee
Hi all, I'm fairly new to character sets and I'm trying to get a better understanding of how mysql deals with them. I hope someone out there can shed some light on a behavior that I am seeing. We're using mysql 4.1.12 with clustered tables. I have a table with a varchar and a text field w

Simple GROUP / ORDER problem

2005-06-29 Thread Lee Denny
ding on my part, but does any one have any ideas? All the best, Lee -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

BOOLEAN Vs NON-Boolean

2005-07-15 Thread Lee Denny
ave the biggest overhead, an could there be a better approach? Cheers, Lee -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

MAX select problem

2005-07-29 Thread Lee Denny
he right figure, but when I try to pull out the date that this occured on with, SELECT max(visits) as maximum, visit_date FROM visit WHERE (((visit_date >= '$sdatestring') and (visit_date < '$edatestring')) and (site_id=$site_id)) GROUP BY visit_date I get a complet

mysql and c

2005-07-31 Thread Christian Lee
Hi all, is it possible to send from server to client a handle to MySQL connection. for example then i'm trying: server: Code: ... MYSQL mysql; mysql_init(&mysql); mysql_real_connect(&mysql,); ... send(socket,&mysql, sizeof(MYSQL),0); - client: Code:

increment and update in one query

2005-08-03 Thread Christian Lee
Hi all, I've a question to guru :) there're two tables: mysql> show fields from domains; ++--+--+-+-+ | Field | Type | Null | Key | Default | Extra ++--+--+-+-+ | id | int(10)

RE: increment and update in one query

2005-08-03 Thread Christian Lee
>> Hi all, >> >> I've a question to guru :) >> there're two tables: >> mysql> show fields from domains; >> ++--+--+-+-+ >> | Field | Type | Null | Key | Default | Extra >> ++--+--+-+-+

add a column if not exists

2005-09-26 Thread Claire Lee
I want to check if a column exists in a table before I do an alter table to add it. How do I do this in mysql? Thanks. Claire __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- MySQL Genera

strange order by problem

2005-09-27 Thread Claire Lee
I need to order a few names by the number following the main name. For example swap2, swap3, swap10 in the order of swap2, swap3, swap10, not in swap10, swap2, swap3 as it will happen when I do an order by. So I came up with the following query: mysql> select distinct secname, date from optresult

Re: strange order by problem

2005-09-27 Thread Claire Lee
5| 2005-09-23 | | SWAP5| 2005-09-22 | +--++ --- Hassan Schroeder <[EMAIL PROTECTED]> wrote: > Claire Lee wrote: > > I need to order a few names by the number > following > > the main name. For example swap2, swap3, swap10 in > the > > order of swap2, swap3, swap1

compare tables from two systems

2005-10-05 Thread Claire Lee
We have two clusters running the same data independently and saving output to databases on two systems (two hosts) respectively. We need to compare the output each day. Is there an easy way to compare tables from two systems? We are sure the structure of the tables are all the same and we need to c

Re: SSH tunnel for Mysql

2005-11-20 Thread Lee Zelyck
to mysql. Your done. Not sure how you would do it with other pructs, but I don't imagine it would be much more difficult. Lee --- Jerry Swanson <[EMAIL PROTECTED]> wrote: > How to create ssh tunnel for Mysql? > TH >

upgrade from 4.1 to 5.0

2006-03-03 Thread Claire Lee
Hello, I'm going to upgrade from 4.1 to 5.0. My question is how do I handle the data from old version. Do I need to recreate tables in the mysql database when I install the new version or can I use the old mysql database from the old version? Data in other database I believe I can dump and import

mysql++1.7.1 & vc++6 compile errors

2006-03-13 Thread Keith Lee
Hi I am using visual studio C++ 6, with SDK, my mysql database is 4.1.18, i downloaded mysql++ 1.7.1 as this is the compatiable version for vc++6. the example program compiles and runs. when i go to make my own project i use the wizard and create a basic dialog MFC app. at the top of the main

mysql++1.7.1 & vc++6 compile errors

2006-03-13 Thread Keith Lee
thanks for the reply Jason, i have now added mysql++.lib to the linker and also copyied the libmysql.dll to the system folder. the program complies now with a few performance warnings but no errors. there is one link error LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other lib

mysql_store_result() and MYSQL_ROW allocations

2006-03-18 Thread Lee H
id rows.. Cheers, -- - Lee H // anfl -I code, therefore I break things. signature.asc Description: Digital signature

query optimization question (my struggle against 'using temporary; using filesort')

2009-09-22 Thread Ciaran Lee
Hi, I hope this is the right place to ask a question about query optimization. Background: I have a database which has events, which occur in places (listings). Places have addresses, and addresses belong to a city. I can select the latest event within a particular city very efficiently (less tha

Re: query optimization question (my struggle against 'using temporary; using filesort')

2009-09-24 Thread Ciaran Lee
ot be much better. Regards, Ciaran Lee 2009/9/24 Gavin Towey > Hi Ciaran, > > So I think there's a couple things going on: > > 1. The explain plan for your "slow" query looks wrong, such as mysql is > confused. It's possible your index statistics are incorrect.

Re: auto_increment without primary key in innodb?

2010-01-25 Thread Yong Lee
yah, mysql only allows one auto increment field n that's used as the primary key in tables. I don't think it has to be the primary key as long as it is a unique key i think that's okay. so u should be able to do : create table (myid int unsigned not null auto_increment., unique key (myid));

Re: Error in mysql replication with LOAD DATA INFILE

2010-12-19 Thread Lee Gary
Hi Anand, Just try 'load data local infile',it maybe work. Eric 2010/12/20 Anand : > Hi guys, > > i am facing a serious issue with my replication , i tried so many things but > no luck. > > my replication is running with mysql 5.0.51a in master and 5.0.90 in slave. > > we run LOAD DATA INFILE in

Practical connection limits MySQL 5.1/5.5

2011-04-13 Thread Jeff Lee
Hey All, Can anyone provide some guidance as to what the practical connection limits to MySQL 5.1/5.5 are under linux? We're running a ruby on rails application that establishes 50 to 100 connections to our database upon startup resulting in around 1,000 persistent db connections. I've been told

Fwd: why must user variable in EXECUTE USING clause ?

2012-03-26 Thread Cifer Lee
-- Forwarded message -- From: Reindl Harald Date: Mon, Mar 26, 2012 at 9:17 PM Subject: Re: why must user variable in EXECUTE USING clause ? To: Cifer Lee would you PLEASE send to the list instead off-list and put your answer BELOW instead to-posting? is it really so difficult

Re: Fwd: why must user variable in EXECUTE USING clause ?

2012-03-27 Thread Cifer Lee
to > avoid the "feature" (?) of Outlook that glues lines together. This > "feature" can be disabled/reverted (although this is not widely known) > > At 21.38 26/03/2012 +0800, Cifer Lee wrote: > > > >-- Forwarded message -- > >From:

List queries

2008-01-27 Thread Yong Lee
Hi all, Is there a problem with the mysql web page (http://lists.mysql.com/) where you can query mailing list archives ? I can't seem to get more than 20 results to any query. Thanks, Yong. Yong Lee Developer [EMAIL PROTECTED] http://www.eqo.com/ direct: +1.604.273.8173 x113 m

RE: Match/No Match query

2008-05-21 Thread Yong Lee
chris, you're going to need a source for all the distinct codes that you may see in your product tableie: if you don't have a full list somewhere (like your temp table) you cannot do your query because you have nothing to compare against. assuming you had some table X which had a list of all

RE: Replication for reporting

2008-05-21 Thread Yong Lee
yes, one master to multiple slaves. I believe u can set up multiple mysql instances on a single machine with each mysql instance collecting from a different master. Yong. -Original Message- From: Andrey Dmitriev [mailto:[EMAIL PROTECTED] Sent: May 21, 2008 11:29 AM To: mysql@lists.mys

performance question

2008-09-11 Thread Yong Lee
All, Just curious as to which query would be better in terms of performance: select * from (select * from a union select * from b) as c; versus select * from a union select * from b; or would these 2 queries be the same ? Thanks, Yong. Yong Lee Developer [EMAIL PROTECTED] <h

Contents storing in mysql

2006-11-16 Thread Shain Lee
Hi , I wanted to store images , musics, videos ..etc in mysql database.storing contents as content type BLOB , i don't have any issues with that setup. But , now i need to store that contents in folders and should be kept the contents path with referrence ofcontents file name . for ea

rhel4 mysql max rpm question

2006-12-19 Thread Yong Lee
Hi All, I noticed that there are RPM downloads for RHEL4 but that these do not contain the ndb storage engine (ie: these are standard builds). As such, I've resolved to just use the generic x86 rpm bundles that are offered but I'm curious if the ndb storage engine will ever get included into a

mysql data into CSV file.

2007-01-04 Thread Shain Lee
Hi For example , suppose i have a database - Music, and a table in it is mp3. under mp3 there is more fields , like, id, artist, name , mp3_file...etc. I wanted to get that info which has stored in relavent fields into a CSV fle . Can somebody help me to do that please ? Can i do it mysql co

Re: mysql data into CSV file. / (Errcode: 13)

2007-01-11 Thread Shain Lee
ioned above. really got stucked. how can i solve that problem ? is it a bug ? please help . Thank you, Shaine. Jake Peavy <[EMAIL PROTECTED]> wrote: On 1/4/07, Shain Lee <[EMAIL PROTECTED]> wrote: I wanted to get that info which has stored in relavent fields into a CSV fle . Can

Re: mysql data into CSV file. / (Errcode: 13)

2007-01-11 Thread Shain Lee
Thank you , that is working with /tmp/ directory. actually what is the issue behind writing that files into user defined folder , like /home/test/ ? have you find any solution for that ? Thank you, Shaine. Nils Meyer <[EMAIL PROTECTED]> wrote: Hi Shain, Shain Lee wrote: > ERROR

Load Balance on MySql

2007-01-17 Thread Shain Lee
Hi Friends , I have huge WAP content database and it's included with wallpapers, ringtones, games ...etc.That content database getting hits more that 1000 /sec. This is actually massive. My Webserver s are Tomcat and apache , because some applications written in java and some are php . per

Re: Load Balance on MySql

2007-01-18 Thread Shain Lee
Thanx for the information , but i wanted to go for a long term plan and for a fixed solution. bcause little by little that load getting high. please need some mysql expertise help. Thank you, Shaine. Ady Wicaksono <[EMAIL PROTECTED]> wrote: Hi Lee better you start to benchmark your

log table advice

2007-02-06 Thread Yong Lee
ed on current time before doing an insert) and then have a cron job to create new tables as needed and to also backup and remove older tables as they are no longer being used. Any thoughts on this ? Thanks, Yong. Yong Lee Developer [EMAIL PROTECTED] <http://www.eqo.com/&g

Duplication of records within the same table.

2005-04-19 Thread Lee Denny
text... page_id is already auto_increment. I'm sure that an INSERT .. SELECT statement should do it, but I'm unsure of the correct syntax. cheers, Lee -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Character Set Problem

2005-05-03 Thread Lee Denny
PHP to query the database, but would like to change the data in the DB if possible. I know this is a bit vague but I was wondering if anyone had any insight into this. Cheers, Lee -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Character Set Problem

2005-05-04 Thread Lee Denny
Is it possible to change the character set just for an individual table and if so which character set should I try to display this european characters? Cheers, Lee - Original Message - From: "Sumito_Oda" <[EMAIL PROTECTED]> To: "Lee Denny" <[EMAIL PROTECTED

porting Oracle schema to MySQL

2004-01-28 Thread Claire Lee
Hi, I'm a newbie working on a big project. The idea is to transport an existing Oracle database at http://www.ebi.ac.uk/arrayexpress/ to a local MySQL server. The Schema, scripts and loader for Oracle can be found in the website. But how to create an exactly same database with mySQL? I have no clue

SQL Query problem

2004-02-20 Thread Claire Lee
Hi All, I have a query problem here. Say I have a table with employee records of three different departments. If each department manager wants to see employee info of their own department. Three different queries will be needed. Is there a way that I can write one single query and let SQL decide wh

Replication Can Master initiate replication to Slave?

2004-03-03 Thread Lee Chalupa
The documentation I find describes the slave contacting the master to initiate the replication service.   I need the master to be able to contact the slave. Is this possible.   Thanks   lee   -- Lee Chalupa Something Else Enterprises, Inc. [EMAIL PROTECTED] 770 381 2377 -- MySQL General Mailing

Can't connect to DB after upgrading to mysql 4.1.5

2004-10-05 Thread Claire Lee
Hi, I have a perl script that connect to mysql using the following: my $dbh = DBI->connect("DBI:mysql:$dbname;host=$host","$dblogin", "$dbpasswd") or die "Cannot connect to $dbname: " . $DBI::errstr; But after I upgraded to 4.1.5 I get the following error message: DBI->connect(dbname;host=host) f

Fulltext search Strategy - Need Help

2004-11-03 Thread Lee Denny
earch once for 'ford' and then go through the record-set this returns for 'focus'. My first thought is use a temporary table - but is there a way of doing this with one query? Cheers, lee -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Upgrading from MySQL Max 3.23 to 4.1.x

2004-12-21 Thread Lee Zelyck
ould be to do a seperate install and then let depot do the migration. However, if MySQL provides a simple 'upgrade' I would love to hear of it. Thanks! Lee __ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com

Select problem for column with Binary attribute

2004-06-26 Thread Michael Lee
Hi, I am using MySQL 4.0.20. For a table of INNODB type, same query return different results when different query plan is used. select * from project_team where project_id = 'FMS '; --> 2 rows. (primary key used) select * from project_team ignore index (PRIMARY) where project_id = 'FMS ';

INNODB transaction log size

2004-06-27 Thread Michael Lee
Hi, I would like to migrate my DB from Sybase ASE to MySQL INNODB table. Data has been extracted and stored as a file. I want to use the command Load Data Infile to insert the data to MySQL. However, some table contains millions of rows. Can i control the batch size of the loading (e.g. commit

RE: INNODB transaction log size

2004-06-28 Thread Michael Lee
nd issue the commits after `x` number of inserts. -Original Message----- From: Michael Lee To: [EMAIL PROTECTED] Sent: 6/28/04 1:21 AM Subject: INNODB transaction log size Hi, I would like to migrate my DB from Sybase ASE to MySQL INNODB table. Data has been extracted and stored as a file. I wan

File name of Binary Log

2004-07-02 Thread michael . lee
Hi, I have enabled the binary log on MySQL (4.0.20). The name of the binary log is hostname-bin.001, hostname-bin.002, etc ... What will happen if the suffix become 999? Will error occurs when flush logs is executed? Regards, Michael --

mysqladmin flush-logs

2004-07-05 Thread michael . lee
Hi, I would like to use logrotate to manage the log files generated by MySQL. I used the command "mysqladmin flush-logs" to close the log file. However, the sql command displayed on the query log is "Refresh". According to the information from this forum, command "flush logs" should be used in

RE: how to write query to return records has the closest date to end of month

2004-07-06 Thread michael . lee
Hi Lam, Try and see whether following SQL work for you: create temporary table tmp as select product_id, min(abs(to_days('2004-6-30') - to_days(snapshot_date)) + if(snapshot_date > '2004-6-30',0,0.1)) as date_diff from product_tbl group by product_id; select product_tbl.* from product_tbl, tm

distinct based on two fields

2004-08-03 Thread Claire Lee
I have a table like this name price type A __ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscri

distinct based on two fields--please help

2004-08-03 Thread Claire Lee
I have a table like this name price type A10 1 B30 2 A20 1 B20 2 would like to distinct based on name and type, do a sum and get the following result name price type A 30 1 B 50 2 How do I do this with one sql qu

need help for a query

2004-08-23 Thread Claire Lee
Hi, Here's a table of mine namedate changeDate n1d1 cd1 n2d1 cd3 n2d2 cd1 n4d1 cd2 n1d2 cd5 n5d1 cd4 n6d2 cd2 I need to select every name for which the changeDate corresponding

Tricky Date Query

2004-09-07 Thread Lee Denny
Hello, I need to perform a select that compares two dates I need to return all records that haven't had date_2 set after a given number of days since date_1. I'm sure this can be done in one query but I just can't get my head around this one. Can anyone help? Cheers, Lee --

Read-Only DB User

2004-10-10 Thread Lee Zelyck
db itself. Anyway, if anyone can provide a lean and concise statement that will provide this, it would be very much appreciated. Thanks! Lee __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

SOLVED: Read-Only DB User

2004-10-10 Thread Lee Zelyck
nting a the password in hex format. Anyway, thanks again James! Lee --- James Weisensee <[EMAIL PROTECTED]> wrote: > Lee, > On the MySQL side: > > GRANT SELECT ON db.* TO user@'host' IDENTIFIED BY > PASSWORD 'password'; > > This will give 'user

Problem starting up mysql

2003-09-09 Thread Claire Lee
Hi all, I installed mysql 4.0.14 binary distribution on RedHat 8.0 following the instructions in the manual. But I can't get it to work. Please help. When I start mysql using the command: shell> bin/mysqld_safe --use=mysql & the following message shows: "Starting mysqld daemon with databases

Database Design and Bianry Operations

2003-10-14 Thread Lee Denny
is a more efficient method using binary operations (only one field populated with zeros and ones) but I can't find anything to help in the manuals. Any thoughts? Lee Denny -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

replicate-ignore(d)-table continues to replicate

2003-11-13 Thread Lee Webb
cate-do-table=radius.RADPOOL Cheers Lee Webb -- Systems Administrator DOT Communications [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Newbie Can't Add a User to MySQL

2004-03-20 Thread Lee Zelyck
-+ | Database | +--+ | forums | | phpBB| | test | +--+ 3 rows in set (0.00 sec) mysql> USE forums; ERROR 1044: Access denied for user: '@localhost' to database 'forums' mysql> USE forums; ERROR 1044: Access denied for user: '@localho

Re: Newbie Can't Add a User to MySQL

2004-03-21 Thread Lee Zelyck
problematic php snippets below, as well as the forumuser creation and authentication process. If somone could please point out my mistakes, that would be awesome! Thanks again, Lee TESTER ?php //Database connect script $dbhostname = "localhost"; $dbuser = "forumuser"; $db

Notifying User when DB is Updated via browser

2004-06-14 Thread Lee Denny
atest applications. Is there any way of using some sort client-server technology to alert the user, via the browser that a new entry has appeared in the DB - I'm already sending an email but this is still not the best solution. Thanks in advance, Lee Denny -- MySQL General Mailing Lis

RE: Cannot connect to MySQL server with a java application

2002-02-06 Thread Lee, Andrew
Almost, but not exactly the same . DriverManager.getConnection(dburl, dbuser, dbpasswd) <-- note, 3 arguments here > -Original Message- > From: debian [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, February 06, 2002 1:59 PM > To: [EMAIL PROTECTED] > Subject: Cannot connect to MyS

RE: Cannot connect to MySQL server with a java application

2002-02-12 Thread Lee, Andrew
Almost, but not exactly the same . DriverManager.getConnection(dburl, dbuser, dbpasswd) <-- note, 3 arguments here > -Original Message- > From: debian [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, February 06, 2002 1:59 PM > To: [EMAIL PROTECTED] > Subject: Cannot connect to MyS

mysql: how to copy table with varchar datatype?

2002-02-22 Thread Wai Lee
Hi, Does anybody know how to copy an existing mySQL table schema with varchar datatype my sql statement is: CREATE TABLE new_table AS SELECT * FROM old_table where 1=0; All the text columns in the old_table are in VARCHAR datatype, however, after I copy to a new_table, all columns change to CH

?informix database convert to MySQL?

2002-02-25 Thread Jessica Lee
Hi, I'm new to MySQL and this list. ^_^ My question is: "What's the best and fastest way to convert an Informix database to MySQL?" Thanks, Jessica - Before posting, please check: http://www.mysql.com/manual.php (the

Re: Re: [ANN] Blue World Announces Lasso vs. PHP White Paper

2002-03-07 Thread Lee McNeil
James, I believe there is something amiss here. Here is the header output from www.blueworld.com (192.147.161.21) using curl: [lee@whitestar lee]$ curl -i www.blueworld.com HTTP/1.1 302 Moved Temporarily Date: Fri, 08 Mar 2002 02:13:20 GMT Content-Type: text/html Connection: close URI: http

RE: software errors when trying to execute

2002-03-29 Thread Lee, Andrew
$sth->execute || die "Not successful: $!"; doesn't tell you why the command did not work ... die with $dbh->errstr; That will give you more info. > -Original Message- > From: Ray Goniea [SMTP:[EMAIL PROTECTED]] > Sent: Friday, March 29, 2002 1:41 PM > To: [EMAIL PROTECTED] > S

RE: Password function

2002-04-02 Thread Lee, Andrew
If user_id and passwd are fields in your table and the passwd field is encrypted : SELECT user_id FROM user WHERE passwd = PASSWORD('plaintext_user_pass') > -Original Message- > From: Ramiro Varandas Jr [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, April 02, 2002 11:49 AM > To: [EMAIL PRO

remote connection/users

2002-04-13 Thread Lee Connell
I am new with mysql. I have the latest version installed on a win2k = machine. I am trying to access mysql DB from another machine. It = returns invalid username/password, but if i connect locally with the = same login info it connects fine. What do i have to do to allow any = remote host to

mysql: 15 tables equi-join problems

2002-04-30 Thread Wai Lee
Hi, Do anyone know there may be a limitation in mysql to do a 15 tables equi-join? I did some experiment with it if I only do 10 tables equi-join, it takes seconds to retrieve the results, but if I do more than 10 tables, it took forever and run with 100% CPU time to execute the query. The

Re: mysqlaccess

2002-06-12 Thread Lee Mahan
* > > `My definition of an educated man is the > fellow who knows the right thing to do at the time > it has to be done. > ... You can be sincere and still be stupid.'' > > -- Charles F. Kettering, American inventor (1876-1958). > > *

Chinese character error

2002-06-24 Thread henry lee
Dear professional people, When I write a program to store the (Big5) Chinese characters ¯S³\¸gÀç into mysql database through the mysql ODBC driver, the original chinese characters change into another characters ¯S³¸gÀç in mysql database. On the other hand, I have tried the program to store

Thanks for the solution of Chinese character problem

2002-06-24 Thread henry lee
ael Widenius <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: "henry lee" <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] >Subject: Chinese character problem Date: Mon, 24 Jun 2002 14:30:44 +0300 > > >Hi! > > >>>>> "henry" == hen

Setting up hostname

2002-07-05 Thread Desmond Lee
Hi guys I just managed to install mysql... yippy But, i had to use the '--force option' when executing the /usr/local/mysql/scripts/mysql_install_db . I got a message saying that i needed to configure the hostname latter on. So, now that mysql is isntalled i need to set up the hostname stuff.

Re: Setting up hostname

2002-07-08 Thread Desmond Lee
Hi there Thanks for your reply. >check your system configuration ... > >just run from shell script : hostname >and what does it show you ... WHen i run 'hostname' i get my ip address shown to me. >and then check your /etc/hosts and /etc/resolv.conf my /etc/hosts has the following in it: # D

Re: Setting up hostname

2002-07-09 Thread Desmond Lee
Hi Thanks for all your help, much appreciated. I edited my both the /etc/resolv.conf and /etc/hosts to include the line 'hostname 142.135.134.154' of course, that's not my real ip addy. Am i suppose to edit these files? or did you mean to edit the /etc/sysconfig/network file. THe /etc/sysconf

Foreign keys in MySQL

2002-07-10 Thread Hanxue Lee
Hi, In the MySQL documentation, it is stated that "foreign keys in SQL are not used to join tables, but are used mostly for checking referential integrity (foreign key constraints). " Does it mean that constraints are not supported? I need to have Update and perhaps Delete Referential Integrity

MySQL in different OSes

2002-07-17 Thread Hanxue Lee
Hi, I just want to know if I can just copy a MySQL database from, say Windows 2000 to Linux. Will it still work? Does it has binary data compabilities? Thank you Yours Truly, Hanxue - Before posting, please check: http://

question about varchars

2002-07-24 Thread Desmond Lee
Hello there Mysql documentation says the following: "values are stored using only as many characters as are needed, plus one byte to record the length. Values are not padded; instead, trailing spaces are removed when values are stored." So, then would there be anything wrong with making all

question about varchars

2002-07-24 Thread Desmond Lee
Hello there Mysql documentation says the following: "values are stored using only as many characters as are needed, plus one byte to record the length. Values are not padded; instead, trailing spaces are removed when values are stored." So, then would there be anything wrong with making all

Re: THIS IS NOT AN ADVERTISEMENT

2002-07-24 Thread Desmond Lee
>From: [EMAIL PROTECTED] >To: "Desmond Lee" <[EMAIL PROTECTED]> >Subject: Re: THIS IS NOT AN ADVERTISEMENT Date: Thu, 25 Jul 2002 03:37:48 >+0200 > >Your message cannot be posted because it appears to be either spam or >simply off topic to our filter.

help me out here guys... you gotta have a primary key

2002-07-27 Thread Desmond Lee
k This is seems ridiculous to me,.. but i'll let you tell me if i'm just being stubborn. So, one of my associates has made a linking table (some people also call it intersection table, cross tab table, but i believe that the propper way to model a many to many relationship is via a "linkin

graphical interface to mysql on red hat 7.3

2002-07-28 Thread Desmond Lee
Hi there I'm doing fine with the command line interface of mysql, no complaints from me. Howerver, another team member who knows nothign about mysql is more familiar with the windows stuff like access. Is there an graphical interface for mysql on red hat v7.3? I figured i'd ask here because th

graphical interface to mysql on red hat 7.3

2002-07-28 Thread Desmond Lee
Hi there I'm doing fine with the command line interface of mysql, no complaints from me. Howerver, another team member who knows nothign about mysql is more familiar with the windows stuff like access. Is there an graphical interface for mysql on red hat v7.3? I figured i'd ask here because th

graphical interface to mysql on red hat 7.3

2002-07-28 Thread Desmond Lee
Hi there I'm doing fine with the command line interface of mysql, no complaints from me. Howerver, another team member who knows nothign about mysql is more familiar with the windows stuff like access. Is there an graphical interface for mysql on red hat v7.3? I figured i'd ask here because th

RE: help me out here guys... you gotta have a primary key

2002-07-28 Thread Desmond Lee
Hi Eric I dunno why people make 100 field tables, sounds a little harsh. I'll keep you in mind the next time i wanna make a 100 field table. Anyways, just to let you know mysql 4 will be supporting foreign key constraints. And yes thoes other db technologies like postGrep already support key

RE: graphical interface to mysql on red hat 7.3

2002-07-28 Thread Desmond Lee
Ya... i'll give it a try, thanks :) But do you know of any free graphical interfaces for linux that are not browser based? Thanks again (fast reply to ) desmond >From: "Shashank Tripathi" <[EMAIL PROTECTED]> >To: "'Desmond Lee'" <[

do you need to define not null and unique?

2002-07-29 Thread Desmond Lee
Hello Just wnated to calrify something here. If you define your id in a table to be a primary key, do you also need to define it as 'NOT NULL' and 'UNIQUE'. I've notice in some examples like the following off the mysql site: CREATE TABLE animals ( id MEDIUMINT NOT NULL AUTO_INCR

  1   2   3   >