Re: how to create unique key for long varchar?

2013-11-05 Thread Li Li
I came up with a solution: using special "md5" to deal with conflicts steps to insert a url 1. insert into table(md5,url) values('md5 of url', url) 2. if get a duplicate entry for primary key 2.1 select md5,url from table where md5 like '%' for update 2.2 if url really exists, don't nee

Re: how to create unique key for long varchar?

2013-11-05 Thread Michael Dykman
The odds against the eventuality you are worried about are astronomically high. Much serious work on the internet would fall apart were that not true. Collision is simply not going to happen within the next several hundred thousand years. On Nov 5, 2013 9:59 PM, "Li Li" wrote: > I prefer your s

Re: how to create unique key for long varchar?

2013-11-05 Thread Li Li
I prefer your solution in that it's something like Optimistic Locking. but the problem is that if I define md5 as unique key and there exists 2 different urls with the same md5. I can't insert the second url anymore On Tue, Nov 5, 2013 at 11:55 PM, Dan Nelson wrote: > In the last episode (Nov 05)

RE: how to create unique key for long varchar?

2013-11-05 Thread Rick James
. > -Original Message- > From: Dan Nelson [mailto:dnel...@allantgroup.com] > Sent: Tuesday, November 05, 2013 7:56 AM > To: Li Li > Cc: mysql@lists.mysql.com > Subject: Re: how to create unique key for long varchar? > > In the last episode (Nov 05), Li Li said: > >

Re: how to create unique key for long varchar?

2013-11-05 Thread Dan Nelson
In the last episode (Nov 05), Li Li said: > I want to create a table with a long varchar column, maybe it's the url. > according to dns spec, the url's max length is fixed. but I have > to deal with url having long params such as > a.html?q=&fl=bb

how to create unique key for long varchar?

2013-11-04 Thread Li Li
hi all I want to create a table with a long varchar column, maybe it's the url. according to dns spec, the url's max length is fixed. but I have to deal with url having long params such as a.html?q=&fl= I want the url is unique whe

Re: How to create new mysql instance

2009-12-14 Thread Iñigo Medina
Can any body help me how to create new instance at the same mysql databas server in 5.0.85 community version ? You might find useful: http://code.openark.org/blog/mysql/manually-installing-multiple-mysql-instances-on-linux-howto At least i used that last time i had to set 2 instances on my

How to create new mysql instance

2009-12-14 Thread Jeetendra Ranjan
Hi, Can any body help me how to create new instance at the same mysql databas server in 5.0.85 community version ? Thanks Jeetendra Ranjan

How to create a relationship to another row in the same table

2009-10-03 Thread Michael Pawlowsky
I'm having a hard time trying to find the best way to create a relationship between two rows in the same table. I have a database that describes network equipment. There is a table called devices that contains information about the device. There is another table called ports that describ

MySQL University session on April 2: How to Create a Test Case

2009-03-30 Thread Stefan Hinz
How to Create a Test Case http://forge.mysql.com/wiki/How_to_Create_a_Test_Case This Thursday (April 2nd, 14:00 UTC), Patrick Crews will give a MySQL University session on How to Create a Test Case. This is an updated session of a talk we had in 2007, but this time it will be recorded (slides and

trying to figure out how to create the right query...

2008-12-09 Thread bruce
Hi. I have the following test db/tbl setup. stateTBL +--+ | stateName| | stateID |>>>+ +--+ V V V collegeTBL V +--+ V | collegeName | V | stateID |<<<+ | college

Re: How to create a unicode capable table??

2008-12-05 Thread Michael Monaghan
I'm not at all familiar with SQL Server, but you need to make sure that the encoding/charset you use in MySQL is the same as used in SQL S. If not the same, then you might need to transcode the data before migrating. Collation is less important than encoding. - if you get the charset wrong, then

RE: How to create a Unicode capable table??

2008-12-04 Thread Jerry Schwartz
>-Original Message- >From: Ali, Saqib [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 04, 2008 1:02 PM >To: mysql@lists.mysql.com >Subject: Re: How to create a unicode capable table?? > >Hello, > >Any thoughts on this? Thanks. > [JS] I'll be inte

Re: How to create a unicode capable table??

2008-12-04 Thread Ali, Saqib
Hello, Any thoughts on this? Thanks. On Tue, Nov 25, 2008 at 8:14 PM, Ali, Saqib <[EMAIL PROTECTED]> wrote: > What Charset and Collation should I use while creating a mysql table > such that it can take data from unicode SQL Server DB table? > > Thanks > saqib > http://doctrina.wordpress.com/ >

How to create a unicode capable table??

2008-11-25 Thread Ali, Saqib
What Charset and Collation should I use while creating a mysql table such that it can take data from unicode SQL Server DB table? Thanks saqib http://doctrina.wordpress.com/ -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[E

Re: How to create INDEX for this query?

2008-11-11 Thread Kelvin Wu
No advice? Anyway after monitoring slow queries for few days, I found most likely the following queries caused bad performance and locked table for long time: LIMIT 16780, 20 A big offset! Even the index is properly used. After restricting offset value within the software, eg, return er

How to create INDEX for this query?

2008-11-04 Thread Kelvin Wu
Hi All, I need advice for creating proper INDEX for a query. The table is like: mysql> desc article; ++--+--+-+-++ | Field | Type | Null | Key | Default | Extra | ++--+--+-+-

how to create a trigger

2008-10-26 Thread Uwe Kiewel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have 2 databases: production_db and test_db. Both databases have the same tables. Now, I want to do as follows: If a new record is inserted to the production_db interst the same recort into the test_db. I am pretty sure, it's a case fo a trigg

Re: use of wildcards or regular expressions in IFNULL, how to create a view that substitutes NULL by 0?

2008-09-06 Thread Brent Baisley
There is no way that I know of to reference every field in a table without using a stored procedure. If you really need to do something like that, and you will be adding new columns frequently, then it's most likely an indication that your table structure is not normalized. Those columns sh

use of wildcards or regular expressions in IFNULL, how to create a view that substitutes NULL by 0?

2008-09-04 Thread drflxms
Dear MySQL specialists, this is a MySQL-newbie question: I want to create a view of a table, where all NULL-values are substituted by 0. Therefore I tried: SELECT *, IFNULL(*,0) FROM table Unfortunately IFNULL seems not to accept any wildcards like * as placeholder for the column-name. REGEXP d

How to create/change table to "federated" within MySQL Admin

2008-06-12 Thread Peter Prinzen
Hi, I want to change an existing table to StorageType "federated" according to http://dev.mysql.com/doc/refman/5.1/en/federated-create.html I've just created this sample table, now I can't even have a look at the scheme with mySQL Administrator, only the "mySQL Query Browser" works and shows me th

Re: how to create new username n password in mysql

2007-05-08 Thread Mogens Melander
ut only from the host whitehouse.gov. The third account can access the customer database, but only from the host server.domain. > Mogens Melander wrote: >> >> GRANT CREATE,INSERT,DELETE,UPDATE,SELECT PRIVILEGES ON pauldb.* >> TO [EMAIL PROTECTED] IDENTIFIED BY 'mysec

Re: how to create new username n password in mysql

2007-05-08 Thread sunisundar
; > > On Tue, May 8, 2007 13:57, sunisundar wrote: >> >> how to create new username n password in mysql using commands. >> >> followed these steps:: >> mysql> create database pauldb; >> Query OK, 1 row affected (0.00 sec) >> >> # >> #

Re: how to create new username n password in mysql

2007-05-08 Thread Mogens Melander
GRANT CREATE,INSERT,DELETE,UPDATE,SELECT PRIVILEGES ON pauldb.* TO [EMAIL PROTECTED] IDENTIFIED BY 'mysecretpassword'; On Tue, May 8, 2007 13:57, sunisundar wrote: > > how to create new username n password in mysql using commands. > > followed these steps:: > mysq

how to create new username n password in mysql

2007-05-08 Thread sunisundar
how to create new username n password in mysql using commands. followed these steps:: mysql> create database pauldb; Query OK, 1 row affected (0.00 sec) # # Now we create the user paul and give him full # permissions on the new database mysql> grant CREATE,INSERT,DELETE,UPDATE,SELECT on

Re: How to create a table of dates?

2006-08-10 Thread Peter Brawley
>So if the date range is '2001-01-15' to '2003-04-01' then it would generate >approx 800 rows with dates between these 2 ranges. I can't seem to figure >out how to do it without writing a program. See Dates/'Make a calendar table at http://www.artfulsoftware.com/queries.php. PB - mos

How to create a table of dates?

2006-08-10 Thread mos
This one has me puzzled. All I need to do is create a table of dates, one date per row, from a starting to ending date. So if the date range is '2001-01-15' to '2003-04-01' then it would generate approx 800 rows with dates between these 2 ranges. I can't seem to figure out how to do it without

How to create references and insert into values in phpmyadmin?

2006-06-28 Thread Andreas Bauer
Hello NG, how can I implement a reference in phpmyadmin between two fields from two different tables, so that the two fields of the two different tables have the same values? And if I have to fill this two tables by building and executing the insert into command, which default value of the refere

How to create a query to get right commencing date

2006-04-13 Thread Arjan Hulshoff
Hello, I hope someone can help me with my problem. I want to join 2 tables. One contains data about start and finish dates of a machine install, the second table conatins data of install costs and a commencing date. Table 1: +-+++-+-+ | Machine

Re: How to create an application for managing users

2006-02-07 Thread Célio Cidral Junior
Thank you Shawn! 2006/2/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > > Célio Cidral Junior <[EMAIL PROTECTED]> wrote on 02/05/2006 02:20:48 > PM: > > There already IS a users table that you can either send CRUD statements to > or manage through the GRANT and REVOKE statements. Since MySQL securit

Re: How to create an application for managing users

2006-02-07 Thread SGreen
Célio Cidral Junior <[EMAIL PROTECTED]> wrote on 02/05/2006 02:20:48 PM: > 2006/2/4, sol beach <[EMAIL PROTECTED]>: > > What other C# applications have you previously written? > > Do you know anything more than how to spell SQL? > > Have you ever installed and administered MYSQL? > > I have been

Re: How to create an application for managing users

2006-02-05 Thread Célio Cidral Junior
2006/2/4, sol beach <[EMAIL PROTECTED]>: > What other C# applications have you previously written? > Do you know anything more than how to spell SQL? > Have you ever installed and administered MYSQL? I have been working as a professional programmer for around five years, and have been writing ente

Re: How to create an application for managing users

2006-02-04 Thread Peter Brawley
>I would like to write an application in C# to let someone to manage >users of a MySQL database. It should be able to create, edit and >delete users. Can someone point me out to how I can do that? I really >want to *write* such an application; I don't want to use an existing >client or somethin

How to create an application for managing users

2006-02-04 Thread Célio Cidral Junior
Hi, I would like to write an application in C# to let someone to manage users of a MySQL database. It should be able to create, edit and delete users. Can someone point me out to how I can do that? I really want to *write* such an application; I don't want to use an existing client or something.

Re: How to create database in different location

2006-01-04 Thread Colin Charles
Chris Guo wrote: Chris, We are using mysql as backend database for one of the application in our company server, and there are too many data in the Mysql database. So I wonder how I create a database on different location. How do you define too much data in the MySQL database? Do you want to

RE: how to create binary logging for a database

2005-12-14 Thread Jimmy Guerrero
) 636-9239 -Original Message- From: prathima rao [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 6:04 AM To: mysql@lists.mysql.com Subject: how to create binary logging for a database hello, how can i create a binary log in a new database - Original Message

how to create binary logging for a database

2005-12-14 Thread prathima rao
hello, how can i create a binary log in a new database - Original Message - From: "Adam Lipscombe" <[EMAIL PROTECTED]> To: Sent: 14/12/2005 3:50 PM Subject: Mysqldump INSERT statements (Was Mysqldump line endings) >> (--result-file) option to save your output but use the > output redi

How to create database in different location

2005-11-15 Thread Chris Guo
Hi, We are using mysql as backend database for one of the application in our company server, and there are too many data in the Mysql database. So I wonder how I create a database on different location. Any help would be highly appreciated. Chris

Re: question on how to create a subset table

2005-09-03 Thread Peter Brawley
Raymond, >I am new to Mysql and am working a project where I want a user to >be able to see some records but not all records in a particular table. That's what the WHERE clause of SQL's SELECT statement is for. Read the MySQL tutorial (http://dev.mysql.com/doc/mysql/en/tutorial.html) and the

Re: question on how to create a subset table

2005-09-03 Thread mfatene
Hi, This is a design question. the selection of data types must be intergrated to your application. If you have a table with : name type apple fruit redcolor a simple query like select * from tbl where type ='fruit' will give only fruits to the users. You can if you have mysql 5.x create

question on how to create a subset table

2005-09-03 Thread Raymond Owens
I am new to Mysql and am working a project where I want a user to be able to see some records but not all records in a particular table. I am assuming that I would need to create a subset table based on the original table and give the user access to only the subset table. Is it possible to do thi

Re: NewBie how to create store procedure

2005-04-11 Thread ManojW
MySQL supports Stored procedures from version 5.0 onwards...for more information see http://dev.mysql.com/doc/mysql/en/stored-procedures.html Rgds Manoj - Original Message - From: "Winanjaya" <[EMAIL PROTECTED]> To: Sent: Tuesday, April 12, 2005 2:23 PM Subject: NewB

NewBie how to create store procedure

2005-04-11 Thread Winanjaya
Dear All, I am very new to MySQL, I am using MySQL 4.1 Adminstrator, my question is very simple: how to create store procedure? ..I saw the "Create New Procedure/Function" menu but it disabled? .. please advise .. thanks Regards Winanjaya -- MySQL General Mailing List For list arch

Re: How to create random table names on the fly

2004-12-18 Thread Sasha Pachev
Mauricio Pellegrini wrote: Hi, I'm using MySql 4.1.4 gamma and there are certain circumstances in wich I need to create tables with random names from within querys. And after using them I need to drop them; so I need a way to *remember* these table names so I can dispose them later. Is that po

Re: How to create random table names on the fly

2004-12-18 Thread mos
At 06:56 AM 12/18/2004, you wrote: Hi, I'm using MySql 4.1.4 gamma and there are certain circumstances in wich I need to create tables with random names from within querys. And after using them I need to drop them; so I need a way to *remember* these table names so I can dispose them later. Is t

How to create random table names on the fly

2004-12-18 Thread Mauricio Pellegrini
Hi, I'm using MySql 4.1.4 gamma and there are certain circumstances in wich I need to create tables with random names from within querys. And after using them I need to drop them; so I need a way to *remember* these table names so I can dispose them later. Is that possible with MySql? Thank

Re: how to create views in mysql4.1

2004-11-21 Thread Jeff Smelser
On Sunday 21 November 2004 08:38 am, Dayakar wrote: > Can any one help me in creating view using mysql4.1. If we cannot then any > other alternative. It would be great if anyone give me an example for that. Thats a 5.0 feature.. Your not gonna get to far with 4.1.. Jeff -- =

Re: how to create views in mysql4.1

2004-11-21 Thread Rhino
- Original Message - From: "Dayakar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, November 21, 2004 9:38 AM Subject: how to create views in mysql4.1 > Hello friends, > > Can any one help me in creating view using mysql4.1. If we cannot then

how to create views in mysql4.1

2004-11-21 Thread Dayakar
Hello friends, Can any one help me in creating view using mysql4.1. If we cannot then any other alternative. It would be great if anyone give me an example for that. regards dayakar SMILE ALL THE WHILE.. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubs

RE: how to create a user with limited privileges

2004-09-01 Thread Logan, David (SST - Adelaide)
mber 2004 2:21 PM To: '[EMAIL PROTECTED] ' Subject: how to create a user with limited privileges Hi all, I would like to know the mysql command to do the following: Create a user (who will access mysql database), with privilaeges so that, he can only retrieve the information in the da

how to create a user with limited privileges

2004-09-01 Thread Rajashik Kar
Hi all, I would like to know the mysql command to do the following: Create a user (who will access mysql database), with privilaeges so that, he can only retrieve the information in the data base (values in the tables), he should not be able to alter, update, delete any table values. Kindly h

RE: How to create an Installation Package using VB.NET?

2004-07-14 Thread Roy Brown
esday, July 14, 2004 8:29 AM To: 'Roy Brown'; [EMAIL PROTECTED] Subject: RE: How to create an Installation Package using VB.NET? I'm sure there is some subset of files that you can include, based on what features you want to make available to your clients. -reggie > -Origi

RE: How to create an Installation Package using VB.NET?

2004-07-14 Thread Reggie Burnett
ett'; [EMAIL PROTECTED] > Subject: RE: How to create an Installation Package using VB.NET? > > Reggie > > I was hoping to perform the mysql installation myself. I was also hoping > that I don't have to install the full suite as available on the site, but > a > subset

RE: How to create an Installation Package using VB.NET?

2004-07-14 Thread Roy Brown
e Burnett [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 13, 2004 8:15 PM To: 'Roy Brown'; [EMAIL PROTECTED] Subject: RE: How to create an Installation Package using VB.NET? Roy I don't think we provide any merge module for our ODBC installation yet, but the changes that the odbc

RE: How to create an Installation Package using VB.NET?

2004-07-13 Thread Reggie Burnett
text file in temp and feed that to the server. Are you using the Vs.net installer stuff or wix? -reggie > -Original Message- > From: Roy Brown [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 13, 2004 3:54 PM > To: [EMAIL PROTECTED] > Subject: How to create an Installation

RE: How to create an Installation Package using VB.NET?

2004-07-13 Thread Jonathan Jesse
From: Roy Brown [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 13, 2004 4:54 PM To: [EMAIL PROTECTED] Subject: How to create an Installation Package using VB.NET? Hi, I am very new to MySQL and using it as the backend of my VB.NET application. Now, I am trying to create an installation package

How to create an Installation Package using VB.NET?

2004-07-13 Thread Roy Brown
Hi, I am very new to MySQL and using it as the backend of my VB.NET application. Now, I am trying to create an installation package from within VB and don't know what files from MySQL & MyODBC 3.51 I need to add to my installation package. Can anyone provide some help in this regards? Also, I will

Re: How to create query to count number of references to main table

2004-04-26 Thread Andy Wadsworth
Thank you Harald. That's exactly what I was looking for. -Andy. On Monday 26 April 2004 05:37 am, Harald Fuchs wrote: > In article <[EMAIL PROTECTED]>, > > If you're sure that the people and things entries for one place are > distinct, you can use, well, count(distinct): > > SELECT pl.name AS '

Re: How to create mysql user?

2003-12-16 Thread Binay
try restarting mysql service .. Cheers Binay - Original Message - From: "ads mysql" <[EMAIL PROTECTED]> To: "Duke, Brian" <[EMAIL PROTECTED]>; "Nitin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, December 16, 2003 2:07 PM S

RE: How to create mysql user?

2003-12-16 Thread ads mysql
luck. Help appreciated. "Duke, Brian" wrote: try this: grant ALL on abc.* to 'abc'@'localhost' identified by 'abc'; >I have created database 'abc' . >mysql> grant ALL on abc.table to 'abc' identified by 'abc';

Fw: How to create mysql user?

2003-12-16 Thread Nitin
- Original Message - From: "Nitin" <[EMAIL PROTECTED]> To: "ads mysql" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, December 16, 2003 2:01 PM Subject: Re: How to create mysql user? > did u do a > flush privilege > > >

RE: How to create mysql user?

2003-12-16 Thread ads mysql
ble to 'abc' identified by 'abc'; >Query OK, 0 rows affected (0.00 sec) -Original Message- From: ads mysql [mailto:[EMAIL PROTECTED] Sent: Monday, December 15, 2003 11:21 PM To: Nitin; [EMAIL PROTECTED] Subject: Re: How to create mysql user? O K. I accessed to my

Re: How to create mysql user?

2003-12-16 Thread Nitin
did u do a flush privilege - Original Message - From: "ads mysql" <[EMAIL PROTECTED]> To: "Nitin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, December 16, 2003 1:00 PM Subject: Re: How to create mysql user? > O K. I have tried

Re: How to create mysql user?

2003-12-16 Thread ads mysql
mysql -u abc -p abc where last abc is ur database name. Nitin - Original Message - From: "ads mysql" To: "Nitin" ; Sent: Tuesday, December 16, 2003 11:51 AM Subject: Re: How to create mysql user? > O K. > I accessed to mysql as root user and tried to created

Re: How to create mysql user?

2003-12-16 Thread Nitin
t; <[EMAIL PROTECTED]> To: "Nitin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, December 16, 2003 11:51 AM Subject: Re: How to create mysql user? > O K. > I accessed to mysql as root user and tried to created user 'abc' as folows : > > &

RE: How to create mysql user?

2003-12-15 Thread Duke, Brian
inal Message- From: ads mysql [mailto:[EMAIL PROTECTED] Sent: Monday, December 15, 2003 11:21 PM To: Nitin; [EMAIL PROTECTED] Subject: Re: How to create mysql user? O K. I accessed to mysql as root user and tried to created user 'abc' as folows : [EMAIL PROTECTED] mysql]# mysql -u root

Re: How to create mysql user?

2003-12-15 Thread ads mysql
ECTED]> wrote: right now, u r trying to connect t omyql with uer abc, not creating it. to create user abc grant on dbname.tablename to 'abc' identified by 'abc'; you can view the list of privileges available on myql website at http://www.mysql.com/doc/en/GRANT.html Enjoy Nit

Re: How to create mysql user?

2003-12-15 Thread Nitin
--- Original Message - From: "ads mysql" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 16, 2003 11:09 AM Subject: How to create mysql user? > > Hi, > I have installed mysql. As per documentation with user as 'root'. > > I can crea

How to create mysql user?

2003-12-15 Thread ads mysql
Syntax I got from Documentation for GRANT as follows: ### 4.4.1 GRANT and REVOKE Syntax GRANT priv_type [(column_list)] [, priv_type [(column_list)] ...] ON {tbl_name | * | *.* | db_name.*} TO user_name [IDENTIFIED BY [PASSWORD] 'password'] [, user_name [IDENTIFIED BY [PAS

How To Create An ArrayList From the MySQL database

2003-11-27 Thread Caroline Jen
I have a table "members" in the MySQL database. I am going to supply a String "editor" and search the "members" table. All those who are "editor" will be picked up and their name will enter the array I want to create. How do I code it and return this array? Here is a sketch of my code. I do n

AW: How To Create Users In MySQL?

2003-09-11 Thread Morten Gulbrandsen
ifferent under Linux and windows. The commands are not exactly the same. Even if it is the same MySQL version. Yours sincerely Morten Gulbrandsen -Ursprüngliche Nachricht- Von: Caroline Jen [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 10. September 2003 22:33 An: [EMAIL PROTECTED]

RE: How To Create Users In MySQL?

2003-09-10 Thread Dan Greene
com/doc/en/User_Account_Management.html ) > -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 10, 2003 4:33 PM > To: [EMAIL PROTECTED] > Subject: How To Create Users In MySQL? > > > I have the MySQL-3.23.55 installed in my PC. > Therefore,

How To Create Users In MySQL?

2003-09-10 Thread Caroline Jen
I have the MySQL-3.23.55 installed in my PC. Therefore, I am the DBA without the required DBA knowledge. First, how do I create users in the MySQL database? Second, how do I grant table creation privilege to users? Is GRANT ALL PRIVILEGES ON databasename TO someuser IDENTIFIED BY 'somepassword';

Re: How to create a stop word file?

2003-08-21 Thread daniel
ft_stopword_file The file from which to read the list of stopwords for full- text searches. All the words from the file will be used; comments are not honored. By default, built-in list of stopwords is used (as defined in `myisam/ft_static.c'). Setting this parameter to an empty string ("") will di

Re: How to create a stop word file?

2003-08-21 Thread Paul DuBois
At 10:12 +1000 8/22/03, <[EMAIL PROTECTED]> wrote: sorry to be vague but what is the ft_stopword_file i havent been able to be up to speed on that variable. Read the page referenced below: http://www.mysql.com/doc/en/SHOW_VARIABLES.html It describes what the variable is for. At 15:53 -0300 8/2

Re: How to create a stop word file?

2003-08-21 Thread daniel
sorry to be vague but what is the ft_stopword_file i havent been able to be up to speed on that variable. > At 15:53 -0300 8/21/03, Cleber Hostalácio de Melo wrote: >>Hi, >> >>I need to change the stop word file used by the MySQL in fulltext >>seach. >> >>The documentation (www.mysql.com/doc/en/Fu

Re: How to create a stop word file?

2003-08-21 Thread Paul DuBois
At 15:53 -0300 8/21/03, Cleber Hostalácio de Melo wrote: Hi, I need to change the stop word file used by the MySQL in fulltext seach. The documentation (www.mysql.com/doc/en/Fulltext_Fine-tuning.html) explains how to inform to MySQL the new stop word file through the "ft_stopword_file" variable.

RE: How to create a stop word file?

2003-08-21 Thread Steven Roussey
> how to separate each stop word in the list A different word on each line. -steve- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

How to create a stop word file?

2003-08-21 Thread Cleber Hostalácio de Melo
Hi, I need to change the stop word file used by the MySQL in fulltext seach. The documentation (www.mysql.com/doc/en/Fulltext_Fine-tuning.html) explains how to inform to MySQL the new stop word file through the "ft_stopword_file" variable. But I could not find any reference to the layout of thi

Re: How to create a schema

2003-02-19 Thread Ayyaparaju Ganapathiraju
Thank you very much. That information is very helpful as I am just starting to use/learn MySQL. Raju Ganapathiraju From: "Roger Baklund" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> CC: "Ayyaparaju Ganapathiraju" <[EMAIL PROTECTED]> Subject: Re: How to

Re: How to create a schema

2003-02-19 Thread Roger Baklund
* Ayyaparaju Ganapathiraju > 1). Is there an equivalent to creating a schema in MySQL. I would like to > create tables in multiple schemas within the same database. Some of the > tables will have foregign keys across schemas. No, there is no consept of 'schema' in mysql, other than the implicit 's

Re: How to create a schema

2003-02-18 Thread kk
AIL PROTECTED]> (BTo: <[EMAIL PROTECTED]> (BSent: Wednesday, February 19, 2003 10:30 AM (BSubject: How to create a schema (B (B (B> Hi, (B> (B> I have two questions here, please. (B> (B> 1). Is there an equivalent to creating a schema in MySQL. I would like to (B>

How to create a schema

2003-02-18 Thread Ayyaparaju Ganapathiraju
Hi, I have two questions here, please. 1). Is there an equivalent to creating a schema in MySQL. I would like to create tables in multiple schemas within the same database. Some of the tables will have foregign keys across schemas. I'm aware that I can create multiple databases and switch betw

FW: how to create database (auto)

2003-02-14 Thread Sherzod Ruzmetov
://www.mysql.com/doc/en/CREATE_INDEX.html [5] http://www.mysql.com/doc/en/Cannot_create.html [6] http://www.mysql.com/doc/en/SHOW_CREATE_TABLE.html This was an automated reply to your message about 'how to create database'. I used 'create database' as a keyword to query t

Re: How to create a table from other tables

2002-09-26 Thread Brent Baisley
CREATE TABLE TableC SELECT tableA.field1,table1.field2,tableB.field1 FROM tableA,tableB WHERE joinCondition That should do it, if I got the syntax correct. You do want to use the create/select combo though. On Thursday, September 26, 2002, at 12:59 AM, Jack wrote: > Dear all > i had two table

Re: How to create a table from other tables

2002-09-26 Thread Daniel Kiss
Hi! It sounds like a simple UNION ALL thing, but I think I don'tunderstand well what your problem is. Can you give an example? Daniel At 12:59 2002.09.26. +0800, you wrote: >Dear all >i had two tables, tableA & Table B. >I want to create a permanent table call Table C which the first two field

How to create a table from other tables

2002-09-25 Thread Jack
Dear all i had two tables, tableA & Table B. I want to create a permanent table call Table C which the first two field will be equal to Table A's first 2 field and last field will be equal to Table B's first field. can anyone pls tell me what query should i use? it will be nice if you can provid

re: how to create host table?

2002-09-25 Thread Egor Egorov
Ilyas, Wednesday, September 25, 2002, 3:09:34 PM, you wrote: IK> I am using MacOSX SERVER. When I want to start MySQL it says: IK> [HostPowerBook:/] ilyas% mysql IK> ERROR 2002: Can't connect to local MySQL server through socket IK> '/tmp/mysql.sock' (61) IK> According to Mysql documentation t

how to create host table?

2002-09-25 Thread Ilyas KESER
Hi there I am using MacOSX SERVER. When I want to start MySQL it says: [HostPowerBook:/] ilyas% mysql ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61) According to Mysql documentation this means that mysqld doesn't started. Just when I want to start mysql

Re: How to create a sequence for an id field

2002-08-20 Thread Egor Egorov
Brian, Monday, August 19, 2002, 11:48:16 PM, you wrote: BJ> I have a SQL statement to create a PostgreSQL table that include a line 'id serial' BJ> This line creates a integer field with a sequence atached to it to create an autonumber In MySQL you can use AUTO_INCREMENT: http://www.mysql.

How to create a sequence for an id field

2002-08-19 Thread Brian Johnson
I have a SQL statement to create a PostgreSQL table that include a line 'id serial' This line creates a integer field with a sequence atached to it to create an autonumber Is there a way to create a SQL statement to accomplish this that would work with both MySQL and PostgreSQL ---

Re: How to create temporary table in 4.0?

2002-08-13 Thread Jocelyn Fournier
Hi, There is a bug in GRANT for CREATE TEMPORARY TABLE privilege which is fixed now in the 4.0.3 tree. Regards, Jocelyn - Original Message - From: "Philip Mak" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 13, 2002 7:38 PM Subject: How to

Re: How to create temporary table in 4.0?

2002-08-13 Thread Paul DuBois
>I can't get CREATE TEMPORARY TABLE to work due to a privilege problem. Run the mysql_fix_privilege_tables script. There are new privileges in 4.0.2, one of which applies to temporary tables. >Does anyone know what I'm doing wrong? > >mysql> update user set create_tmp_table_priv='Y'; >Query OK,

How to create temporary table in 4.0?

2002-08-13 Thread Philip Mak
I can't get CREATE TEMPORARY TABLE to work due to a privilege problem. Does anyone know what I'm doing wrong? mysql> update user set create_tmp_table_priv='Y'; Query OK, 0 rows affected (0.00 sec) Rows matched: 2 Changed: 0 Warnings: 0 mysql> flush privileges; Query OK, 0 rows affected (0.00 s

Re: how to create tables ....isam .... ????

2002-06-29 Thread Paul DuBois
At 6:11 + 6/29/02, toby - wrote: >thnx a million paul > >got that :) > >>So ... why do you want to do this? > >well i get really irretated of seein row# 66 right after 5 So basically, it's just a psychological thing on your part, right? >but seriously i dont know the + or - points of th

Re: how to create tables ....isam .... ????

2002-06-28 Thread toby -
thnx a million paul got that :) >So ... why do you want to do this? well i get really irretated of seein row# 66 right after 5 but seriously i dont know the + or - points of the types besides my project supervisor just declared v DONT NEED isam since v dont NEED row 6 after 5 n not

Re: how to create tables ....isam .... ????

2002-06-28 Thread Paul DuBois
At 5:29 + 6/29/02, toby - wrote: >hi guyz > >i va all my tables " myisam " since its da default type > >how can i make isam tables Add TYPE = ISAM to the end of your CREATE TABLE statement. > >1. will someone plz guide me with about the syntex > >2. how can i change the type of my my

how to create tables ....isam .... ????

2002-06-28 Thread toby -
hi guyz i va all my tables " myisam " since its da default type how can i make isam tables 1. will someone plz guide me with about the syntex 2. how can i change the type of my myisam tables to isam :( without having to drop them thnx a million toby . sql, query ___

MySQL: how to create an index like 05042002NOTA1

2002-04-05 Thread azul
I need some help creating a Primary Key in MySQL with autoincrement Hello, how can i do a concatenated primary key index of: date,"NOTA",id e.g. 05042002NOTA1 which the id is generated daily, everyday start with id=1 and increments Azul -

Slightly OT: How to create a datetime compatible value in Perlfor mySQL?

2002-03-19 Thread Martin Kautz
Hello list, I need to write a small perl skript to insert a record (email, timestamp) into a table. Two problems: 1. Since email is unique I don't want to get the "duplicate record" message. If email already exist, the perl program should continue silent. 2. How do I create a datetime-compatibl

  1   2   >