Re: finding count of spaces in a string

2007-09-04 Thread Francesco Riosa
. Not having much luck finding a solution in the manual. SELECT 1 + CHAR_LENGTH(0 0 0 1 0 1 0 25 7 0 139 0 9) - CHAR_LENGTH(REPLACE(0 0 0 1 0 1 0 25 7 0 139 0 9, , )) AS ret HopeItHelp, Francesco -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

Re: Not Sorting Correctly

2007-03-23 Thread Francesco Riosa
It's possible to repeat with a varbinary field also in 5.1 CREATE TABLE t1 ( RoomNo varbinary(10) DEFAULT NULL, LastName varchar(25) NOT NULL, FirstName varchar(25) NOT NULL, ChapterID int(11) NOT NULL DEFAULT '358' ) ENGINE=MyISAM DEFAULT CHARSET=utf8; INSERT INTO `t1` (`RoomNo`,

Re: Finding a record in a result set

2007-03-23 Thread Francesco Riosa
Maybe this one could do (untested) ? SELECT COUNT(*), ( SELECT count(*) FROM employees AS t2 WHERE t2.name = 'Joe' AND t2.state = 'ME' AND t2.hiredate = datevalue) AS joesexist FROM employees WHERE name = 'Joe' AND state = 'ME' AND hiredate = datevalue; Jerry Schwartz ha scritto: I don't

Re: Functions and NULL with standard install

2007-03-21 Thread Francesco Riosa
select rpad(|IFNULL(|null, ''),5,'1'); |/||/| [EMAIL PROTECTED] ha scritto: I am running a basic install of MySQL 5.0 with strict mode turned on I would like to use RPAD however at times a NULL var will be sent to the function. My goal is to have a function that will convert the NULL to a

Re: Max number of 64 indices per table?

2007-01-26 Thread Francesco Riosa
Horst Jäger ha scritto: Hi everyone, the number of incices per table seems to be restricted to 64. Any way to change that? recompile with configure --with-max-indexes=128 I'm using MySQL 5.0.27 . -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To

Re: www.innodb.com

2006-11-10 Thread Francesco Riosa
Heikki Tuuri ha scritto: Bill, we are moving the DNS of innodb.com from Capnova to Oracle Corp. I can now view http://www.innodb.com through my ISP, Elisa. Does anyone still have problems accessing http://www.innodb.com? If you cannot see some web page, you can resort to Google's cache to

Re: [SPAM] - Re: Converting decimal to binary - Bayesian Filter detected spam

2006-01-10 Thread Francesco Riosa
And another one is (in inverse order for laziness): select (8 1) AS `0` , (8 2 1) AS `1` , (8 4 1) AS `2` , (8 8 1) AS `3` , (8 16 1) AS `4` , (8 32 1) AS `5` , (8 64 1) AS `6` , (8 128 1) AS `7` ; Ed Reed wrote: Well I solved the problem by using LPAD but it would be nice if

Re: [SPAM] - Re: Converting decimal to binary - Bayesian Filter detected spam

2006-01-10 Thread Francesco Riosa
Francesco Riosa wrote: And another one is (in inverse order for laziness): select (8 1) AS `0` , (8 2 1) AS `1` , (8 4 1) AS `2` , (8 8 1) AS `3` , (8 16 1) AS `4` , (8 32 1) AS `5` , (8 64 1) AS `6` , (8 128 1) AS `7` ; but this one looks better: select (8 1

Problem installing MySQL 5.0

2006-01-03 Thread Francesco Vincenti
not know what to do, so I need your help to solve this problem. Greetings Francesco Vincenti * *

Re: Problem installing MySQL 5.0

2006-01-03 Thread Francesco Vincenti
-Uvh --nodeps perl-DBI-1.50-1.i386.rpm and the installation finished without problems. Then, I installed both MySQL-server-standard-5.0.18-0 .rhel3.i386.rpm, with which I have had the problem, and MySQL-client-standard-5.0.18-0.rhel3.i386.rpm and all went in the right way. Greetings Francesco

Re: Importing dBase II +

2005-10-13 Thread Francesco R.
Alle 08:21, giovedì 13 ottobre 2005, Huub ha scritto: Hi, Can someone tell me if it is anyhow possible to import a dBaseIII+ database into MySQL and if so: how? On linux there is dbf2mysql http://packages.debian.org/stable/misc/dbf2mysql On windows you could import the tables in m$access

replication slave's warnings

2005-08-31 Thread Francesco Dalla Ca'
in log 'tana-bin.001' produced 6 warning(s). Default database: 'TSM' What's happened? How i can see the produced warning on the slave? Thanks in advance, Francesco Dalla Ca'. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com

Incorrect column name

2005-08-29 Thread Francesco Dalla Ca'
admin, not by me). There are some particular SQL mode that permit this? Thank in advance. Francesco. -- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: how i can log client connections?

2005-07-12 Thread Francesco Dalla Ca'
: [EMAIL PROTECTED] Hello. This issue has been raised in the list already before, however I don't remember that good solution was found. And without queries which was executed these log records don't give any useful information in most production environments. Francesco Dalla Ca' [EMAIL PROTECTED

how i can log client connections?

2005-07-08 Thread Francesco Dalla Ca'
) Settore Gestione Sistemi Francesco Dalla Ca' Email [EMAIL PROTECTED] === -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: mysqld threads

2005-04-09 Thread Francesco Riosa
probably are compiled with NPTL. The thread are still there but to see them you must use a different sintax of ps , like: #ps -eLf -- No problem is so formidable that you can't walk away from it. ~ Charles M. Schulz But sometimes run fast is better ~ Francesco R. -- MySQL General Mailing List

is mysql activities consuming RAM or is a linux kernel caching matter?

2003-02-10 Thread Francesco Leonetti
Dear list, I've been searching the archives before posting this request since it is about something you've already discussed. But I didn't find the solution, so here it comes my question. It is about RAM consuming. I'm running a PHP/mysql application on a redhat 8.1 - kernel 2.4-18 - 512 MB

problem with drop table

2003-01-05 Thread Francesco
Hello, I tried to drop a table with Mysql 4.0.1 alpha nt and I have encountered the following problem: ERROR : Error on delete of .'\camcomm.tmpge.MYI' The problem persists. I don't know the reason of this error. I ask if a new version of Mysql (the version 4.0.7 i s released) is better.

problem with PHP-Mysql.

2002-12-06 Thread Francesco
this Joke Francesco Delete this Joke Francesco Delete this Joke Add a Joke! Only the insert from a form does run. I don' t understand the problem. I also ask if the FoxServer Version has bounded perfromance because the form in a script PHP that call itself run only if the action of the form

other problem

2002-12-06 Thread Francesco
Hello, I tried the modify two fields in a table and MyCC and MySqlFront return the following error: Error: 7 - Error on rename of '.\aziendeseat\aziendege.MYI' to '.\aziendeseat\#sql2-610-1a.MYI' (Errcode: 13) The Table is named aziendege and contains the fields: ID NOT NULL AUTO_INCREMENT, Nome

mysql problem

2002-11-20 Thread Francesco
Hello, I tried to execute the following query: SELECT studenti.* FROM studenti,valutazioni LEFT JOIN valutazioni ON studenti.sid=valutazioni.sid WHERE valutazioni.sid IS NULL; and give me the following error message: ERROR 1066: Not unique table/alias: 'valutazioni' I have the Mysql 4.0.1 alpha

Multiple instances running over the same DB data with GFS/OpenGFS

2001-12-07 Thread Chemolli Francesco (USI)
I have a GFS/OpenGFS-based cluster I intend to use for an HA mysql setup. Just for fun, I tried running two instances of MySQL over the same table files, and you can imagine my surprise when it mostly worked I only got an error in table handler when when inserting row #8k of a concurrent

[beginner] How to update mysql with Linux ?

2001-06-11 Thread Francesco Marchioni
the starting scripts under /etc/rc.d/init.d ? Thanks a lot Francesco [EMAIL PROTECTED]

High availability anyone?

2001-05-15 Thread Chemolli Francesco (USI)
Hi. I'd like to build an HA MySQL server using shared storage over Fibre Channel. Having a look at the mailing list archives, the issue was addressed earlier on (I could find traces of it as early as 1999) but AFAICS no definitive solution has been reached. I know there is a commercial solution