database corruption ? how to fix ?

2007-03-22 Thread Gregory Machin

hi
when i try and do a mysqldump of the databases it exites with this error

[EMAIL PROTECTED] diaendomet]# mysqldump -ucojjohealth -p --all-databases 
alldatabases.sql
Enter password:
mysqldump: Got error: 29: File '../diaendomet/users.MYD' not found
(Errcode: 2) when using LOCK TABLES

so i ran

mysqlcheck --all-databases --auto-repair -ucojjohealth -p

and now i get the following

error: File '../diaendomet/users.MYD' not found (Errcode: 2)

what do i do next ?

many thanks
--
Gregory Machin
[EMAIL PROTECTED]
www.linuxpro.co.za

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: database corruption ? how to fix ?

2007-03-22 Thread Gregory Machin

it gives
the following errors for all the databases ..

myisamchk: error: './diaendomet/users.MYD' is not a MyISAM-table
myisamchk: error: './diaendomet/users.MYD' is not a MyISAM-table

phpmyadmin reports the tables as being MyISAM..

any sugetions

On 3/22/07, Jean-Sebastien Pilon [EMAIL PROTECTED] wrote:

- Stop you mysql server
- change working directory to $MYSQL_DATA_DIR
- run myisamchck with */*.MYD

This will run a check on all your table files




 -Original Message-
 From: Gregory Machin [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 22, 2007 8:41 AM
 To: mysql@lists.mysql.com
 Subject: database corruption ? how to fix ?

 hi
 when i try and do a mysqldump of the databases it exites with
 this error

 [EMAIL PROTECTED] diaendomet]# mysqldump -ucojjohealth -p --all-databases 
 alldatabases.sql
 Enter password:
 mysqldump: Got error: 29: File '../diaendomet/users.MYD' not found
 (Errcode: 2) when using LOCK TABLES

 so i ran

 mysqlcheck --all-databases --auto-repair -ucojjohealth -p

 and now i get the following

 error: File '../diaendomet/users.MYD' not found (Errcode: 2)

 what do i do next ?

 many thanks
 --
 Gregory Machin
 [EMAIL PROTECTED]
 www.linuxpro.co.za

 --
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe:
 http://lists.mysql.com/[EMAIL PROTECTED]


NOTICE: This email contains privileged and confidential information and is 
intended only for the individual to whom it is addressed. If you are not the 
named addressee, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately by e-mail if you have received this 
transmission by mistake and delete this communication from your system. E-mail 
transmission cannot be guaranteed to be secured or error-free as information 
could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or 
contain viruses.

AVIS: Le présent courriel contient des renseignements de nature privilégiée et 
confidentielle et n'est destiné qu'à la personne à qui il est adressé. Si vous 
n'êtes pas le destinataire prévu, vous êtes par les présentes avisés que toute 
diffusion, distribution ou reproduction de cette communication est strictement 
interdite. Si vous avez reçu ce courriel par erreur, veuillez en aviser 
immédiatement l'expéditeur et le supprimer de votre système. Notez que la 
transmission de courriel ne peut en aucun cas être considéré comme inviolable 
ou exempt d'erreur puisque les informations qu'il contient pourraient être 
interceptés, corrompues, perdues, détruites, arrivées en retard ou incomplètes 
ou contenir un virus.




--
Gregory Machin
[EMAIL PROTECTED]
www.linuxpro.co.za


stored procedures and regex

2006-09-27 Thread Gregory Machin

Hi
Can mysql's stored procedures do regex function


--
Gregory Machin
[EMAIL PROTECTED]
www.linuxpro.co.za


mysql-workbench - not working on fc 5.

2006-05-25 Thread Gregory Machin

I get the following when I try and lauch mysql-workbench .
[EMAIL PROTECTED] ~]$ mysql-workbench
The program 'mysql-workbench-bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
 (Details: serial 749 error_code 8 request_code 143 minor_code 5)
 (Note to programmers: normally, X errors are reported asynchronously;
  that is, you will receive the error a while after causing it.
  To debug your program, run it with the --sync command line
  option to change this behavior. You can then get a meaningful
  backtrace from your debugger if you break on the gdk_x_error() function.)


--
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
www.exponent.co.za
Web Hosting Solutions
Scalable Linux Solutions
www.iberry.info (support and admin)

+27 72 524 8096


Re: mysql query and version problem .... Help!

2006-03-22 Thread Gregory Machin
It's working ok ..
But I have one problem ..
I'm getting the following error Table 'max_bids3' already exists;

but I get the following ...
mysql DROP TABLE max_bids3;
ERROR 1051 (42S02): Unknown table 'max_bids3'

What do I do to fix this, and how can I see the temp tables ?


On 3/21/06, Addison, Mark [EMAIL PROTECTED] wrote:

  -Original Message-
  From: Gregory Machin [mailto:[EMAIL PROTECTED]
  Sent: 21 March 2006 11:28
  To: mysql@lists.mysql.com
  Subject: mysql query and version problem  Help!
 
  Hi.
 
  I have just found out that my hosting provider is using mysql
  4 and I'm
  using mysql 5 the one query I need wont work and is a key
  feature in the
  application .. here is the query i'm using
 
  SELECT dealer_id, auto_id, bid_amount FROM bids b1 WHERE
  bid_amount=(SELECT
  MAX(b2.bid_amount)
  FROM bids b2 WHERE b1.auto_id = b2.auto_id) AND
  auto_dealer_id = '3' AND
  Bid_Status = '1';
 
  How do I get this to work on version 4 ?

 You could create a tmp table with the max bids and then join on
 that. Something like:

 CREATE TEMPORARY TABLE max_bids
 SELECT auto_id, MAX(bid_amount) AS max_bid_amount
 FROM bids
 GROUP BY auto_id;
 SELECT dealer_id, b1.auto_id, bid_amount FROM bids b1, max_bids b2
 WHERE b1.auto_id = b2.auto_id
 AND bid_amount=max_bid_amount
 AND auto_dealer_id = '3' AND Bid_Status = '1';

 mark
 --


 Please Note:



 Any views or opinions are solely those of the author and do not
 necessarily represent
 those of Independent Television News Limited unless specifically stated.
 This email and any files attached are confidential and intended solely for
 the use of the individual
 or entity to which they are addressed.
 If you have received this email in error, please notify
 [EMAIL PROTECTED]

 Please note that to ensure regulatory compliance and for the protection of
 our clients and business,
 we may monitor and read messages sent to and from our systems.

 Thank You.




--
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
www.exponent.co.za
Web Hosting Solutions
Scalable Linux Solutions
www.iberry.info (support and admin)

+27 72 524 8096


mysql query and version problem .... Help!

2006-03-21 Thread Gregory Machin
Hi.

I have just found out that my hosting provider is using mysql 4 and I'm
using mysql 5 the one query I need wont work and is a key feature in the
application .. here is the query i'm using

SELECT dealer_id, auto_id, bid_amount FROM bids b1 WHERE bid_amount=(SELECT
MAX(b2.bid_amount)
FROM bids b2 WHERE b1.auto_id = b2.auto_id) AND auto_dealer_id = '3' AND
Bid_Status = '1';

How do I get this to work on version 4 ?
Many thanks
--
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
www.exponent.co.za
Web Hosting Solutions
Scalable Linux Solutions
www.iberry.info (support and admin)

+27 72 524 8096


Re: mysql query and version problem .... Help!

2006-03-21 Thread Gregory Machin
On 3/21/06, Addison, Mark [EMAIL PROTECTED] wrote:

  -Original Message-
  From: Gregory Machin [mailto:[EMAIL PROTECTED]
  Sent: 21 March 2006 11:28
  To: mysql@lists.mysql.com
  Subject: mysql query and version problem  Help!
 
  Hi.
 
  I have just found out that my hosting provider is using mysql
  4 and I'm
  using mysql 5 the one query I need wont work and is a key
  feature in the
  application .. here is the query i'm using
 
  SELECT dealer_id, auto_id, bid_amount FROM bids b1 WHERE
  bid_amount=(SELECT
  MAX(b2.bid_amount)
  FROM bids b2 WHERE b1.auto_id = b2.auto_id) AND
  auto_dealer_id = '3' AND
  Bid_Status = '1';
 
  How do I get this to work on version 4 ?

 You could create a tmp table with the max bids and then join on
 that. Something like:

 CREATE TEMPORARY TABLE max_bids
 SELECT auto_id, MAX(bid_amount) AS max_bid_amount
 FROM bids
 GROUP BY auto_id;
 SELECT dealer_id, b1.auto_id, bid_amount FROM bids b1, max_bids b2
 WHERE b1.auto_id = b2.auto_id
 AND bid_amount=max_bid_amount
 AND auto_dealer_id = '3' AND Bid_Status = '1';

 mark
 --


I thought about that but I'm worried about the users getting the rite data
if multiple users make the same requests at the same time  ...  i supose the
easiest would be to name the temp tables after the user making the request
??


Re: problem with selecting my max bid ..

2006-03-19 Thread Gregory Machin
Thanks for the further input, It works perfectly ...
If you wouldn't mind please explain, the use  of the b1 and b2 are they
intended as varaibles ..


On 3/17/06, Michael Stassen [EMAIL PROTECTED] wrote:

 Gregory Machin wrote:
  Ok I tried the following
  SELECT dealer_id, auto_id, bid_amount FROM bids WHERE bid_amount=(SELECT
  MAX(bid_amount) FROM bids WHERE auto_dealer_id='3');
  which gives
  +---+-++
  | dealer_id | auto_id | bid_amount |
  +---+-++
  | 3 |  12 |  9 |
  +---+-++
  1 row in set (0.00 sec)
 
  wich is the max bid overall, what I want is the max bid for each auto_id
 ...

 No, it's the max bid received by auto_dealer number 3.  It's a coincidence
 if
 that's also the max bid overall.

  How would I go about this ?

 By following the example in the link I sent.

SELECT dealer_id, auto_id, bid_amount
FROM bids b1
WHERE bid_amount=(SELECT MAX(b2.bid_amount)
  FROM bids b2
  WHERE b1.auto_id = b2.auto_id);

 You see?  Rows are selected if they have the max bid of all rows with the
 same
 auto_id.

 You keep saying you want the max bid per auto_id, but your examples always
 include restrictions on auto_dealer_id.  That's fine, but it's a separate
 issue.
   You can just add any additional restrictions to the main query's WHERE
 clause:

SELECT dealer_id, auto_id, bid_amount
FROM bids b1
WHERE bid_amount=(SELECT MAX(b2.bid_amount)
  FROM bids b2
  WHERE b1.auto_id = b2.auto_id)
  AND auto_dealer_id = '3' AND Bid_Status = '1';

 Michael




--
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
www.exponent.co.za
Web Hosting Solutions
Scalable Linux Solutions
www.iberry.info (support and admin)

+27 72 524 8096


Re: problem with selecting my max bid ..

2006-03-17 Thread Gregory Machin
Ok I tried the following
SELECT dealer_id, auto_id, bid_amount FROM bids WHERE bid_amount=(SELECT
MAX(bid_amount) FROM bids WHERE auto_dealer_id='3');
which gives
+---+-++
| dealer_id | auto_id | bid_amount |
+---+-++
| 3 |  12 |  9 |
+---+-++
1 row in set (0.00 sec)

wich is the max bid overall, what I want is the max bid for each auto_id ...

How would I go about this ?

On 3/17/06, Michael Stassen [EMAIL PROTECTED] wrote:

 Gregory Machin wrote:
  Hi.
  I have the following table
 
  | bid_id | dealer_id | auto_dealer_id | auto_id | bid_amount | timestamp
 |
  Bid_Status |
 
 +-+-+--++-++-+
  |   1 |3 | 3 |12 |
 2
  | NULL |  1 |
  |   2 |3 | 3 |12 |
 3
  | NULL |  1 |
  |   3 |  24 | 3 |12 |
 4
  | NULL |  1 |
  |   4 |  24 | 3 |12 |
 5
  | NULL |  1 |
  |   5 |  24 | 3 |12 |
 6
  | NULL |  1 |
  |   6 |3 |   24 |14 |
 4
  | NULL |  1 |
  |   7 |3 | 3 |13 |
 4
  | NULL |  1 |
  |   8 |  24 | 3 | 12
 |7
  | NULL |  1 |
  |   9 |  24 | 3 |13 |
 59000
  | NULL |  1 |
  | 10 |  24 | 3 |12 |
 8
  | NULL |  1 |
  | 11 |  24 | 3 |13 |
 6
  | NULL |  1 |
 
 
  where auto_dealer_id is the dealer who put the car on auction ,
  auto_id is the id of the car on auction,
  bid_amount is the amount did on the car but dealer_id
 
 
  what I want is to get the max bid placed for each car and the dealer_id
 who
  placed it.
  I currnetly have the following:
  mysql SELECT dealer_id, auto_id, bid_id ,MAX(bid_amount) AS
 'bid_amount'
  FROM bids  WHERE auto_dealer_id = '3' AND Bid_Status = '1' GROUP BY
 auto_id;
  +---+-+++
  | dealer_id | auto_id | bid_id | bid_amount |
  +---+-+++
  | 3 |  12 |  1 |  8 |
  | 3 |  13 |  7 |  6 |
  +---+-+++
 
  But this output is wrong because if you refer to the source table above
 the
  dealer_id should be 24 in both cases..
  What have I missed ?
 
  Many Thanks
  Gregory Machin

 GROUP BY does not return rows.  It returns group names and aggregate
 stats.  You
 are grouping on auto_id, so you get random (actually, the first found)
 values
 for dealer_id and bid_id for each group.  Many systems wouldn't even allow
 this
 query.  Mysql does allow you to select columns not present in the GROUP BY
 clause as a convenience, but you are warned only to use columns with
 unique
 values per group
 http://dev.mysql.com/doc/refman/4.1/en/group-by-hidden-fields.html.

 Yours is a FAQ, however, with 3 solutions in the manual
 
 http://dev.mysql.com/doc/refman/4.1/en/example-maximum-column-group-row.html
 .

 Michael




--
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
www.exponent.co.za
Web Hosting Solutions
Scalable Linux Solutions
www.iberry.info (support and admin)

+27 72 524 8096


problem with selecting my max bid ..

2006-03-16 Thread Gregory Machin
Hi.
I have the following table

| bid_id | dealer_id | auto_dealer_id | auto_id | bid_amount | timestamp |
Bid_Status |
+-+-+--++-++-+
|   1 |3 | 3 |12 | 2
| NULL |  1 |
|   2 |3 | 3 |12 | 3
| NULL |  1 |
|   3 |  24 | 3 |12 | 4
| NULL |  1 |
|   4 |  24 | 3 |12 | 5
| NULL |  1 |
|   5 |  24 | 3 |12 | 6
| NULL |  1 |
|   6 |3 |   24 |14 | 4
| NULL |  1 |
|   7 |3 | 3 |13 | 4
| NULL |  1 |
|   8 |  24 | 3 | 12 |7
| NULL |  1 |
|   9 |  24 | 3 |13 | 59000
| NULL |  1 |
| 10 |  24 | 3 |12 | 8
| NULL |  1 |
| 11 |  24 | 3 |13 | 6
| NULL |  1 |


where auto_dealer_id is the dealer who put the car on auction ,
auto_id is the id of the car on auction,
bid_amount is the amount did on the car but dealer_id


what I want is to get the max bid placed for each car and the dealer_id who
placed it.
I currnetly have the following:
mysql SELECT dealer_id, auto_id, bid_id ,MAX(bid_amount) AS 'bid_amount'
FROM bids  WHERE auto_dealer_id = '3' AND Bid_Status = '1' GROUP BY auto_id;
+---+-+++
| dealer_id | auto_id | bid_id | bid_amount |
+---+-+++
| 3 |  12 |  1 |  8 |
| 3 |  13 |  7 |  6 |
+---+-+++

But this output is wrong because if you refer to the soucrce table above the
dealer_id should be 24 in both cases..
What have I missed ?

Many Thanks
Gregory Machin







--
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
www.exponent.co.za
Web Hosting Solutions
Scalable Linux Solutions
www.iberry.info (support and admin)

+27 72 524 8096


mysql workbench and download?

2006-03-10 Thread Gregory Machin
Hi
where can I download mysql workbench ? The links on the mysql forum dont
work ... and i cant seem to find another download ... probably not see the
wood for the treats ..

Thanks

--
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
www.exponent.co.za
Web Hosting Solutions
Scalable Linux Solutions
www.iberry.info (support and admin)

+27 72 524 8096


time stapstamp problem, when updating records.

2006-03-09 Thread Gregory Machin
Hi
I  have a problem I need to create recordes with a time stamp that is not
updated when the record is updated. Is this posible or will I have to
manualy create the timestamp using php and insert it when the record is
created ?

Thank you for your time.

--
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
www.exponent.co.za
Web Hosting Solutions
Scalable Linux Solutions
www.iberry.info (support and admin)

+27 72 524 8096


Re: selecting records newer than say 20 min

2006-03-07 Thread Gregory Machin
Hi
Thanks for you support hope you have a grate day ..

On 3/7/06, Martijn Tonies [EMAIL PROTECTED] wrote:

 Hello Gregory,


  What, is the easest way to select all the records created in the last 20
 min
  stay based on a column that has a timestamp record.

 select * from mytable
 where some_timestamp  date_add(current_timestamp, interval -15 minute)

 Martijn Tonies
 Database Workbench - development tool for MySQL, and more!
 Upscene Productions
 http://www.upscene.com
 My thoughts:
 http://blog.upscene.com/martijn/
 Database development questions? Check the forum!
 http://www.databasedevelopmentforum.com




--
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
www.exponent.co.za
Web Hosting Solutions
Scalable Linux Solutions
www.iberry.info (support and admin)

+27 72 524 8096


installing mysql in a chroot jail.

2006-01-13 Thread Gregory Machin
Hi
I have fc4 and would like to install / upgrade to mysql 5. When i try via
yum using fedore-devel.repo it wants to update most of my system because of
dependencies  So I though why not install mysql5 in a charoot jail thus
leaving my os intacted and allowing me to do testing on both version (using
different ports). But I havnt a clue how to create a chroot and install
mysql into it ... Any idea how I would go about this ?

--
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
www.exponent.co.za
Web Hosting Solutions
Scalable Linux Solutions
www.iberry.info (support and admin)

+27 72 524 8096


Help need search database

2005-07-29 Thread Gregory Machin
Hi 
Please could advise me.

I need search all the tables in a database for a single string. I'm
trying to figure out how, where and what other tables exponent cms
saves it text pages and references to, so i can finish writing a mass
page import module


In short can mysql do a recursive search,  through all the table's in
a database ..
Many Thanks ..
-- 
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
Web Hosting Solutions
Scalable Linux Solutions 
www.iberry.info (support and admin)
www.goeducation (support and admin)
+27 72 524 8096

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



search in all tables in the data base ..

2005-07-27 Thread Gregory Machin
Hi all.
Please could you advise.
I would like to know if one could do a recursive search through a data
base and get a result of wich column and field is holding the string ?

Many Thanks .
-- 
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
Web Hosting Solutions
Scalable Linux Solutions 
www.iberry.info (support and admin)
www.goeducation (support and admin)
+27 72 524 8096

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Quotation marks in string causing repace to not work.

2005-07-25 Thread Gregory Machin
Hi 

Please could you advise. I inserted some web pages into a table and
now i need to do updates to the pages so that the cms can display them
with out the legacy code. there are about 1000 pages.

I tried the following  

UPDATE temp SET 'file_content' = REPLACE(file_content, '?php
require($_SERVER['DOCUMENT_ROOT']./scripts/define_access.php);?' ,
'');

but it didn't work, i think thing problem is that the string i need to
replace / null has quotation marks .. how can i work around this 

Many Thanks

-- 
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
Web Hosting Solutions
Scalable Linux Solutions 
www.iberry.info (support and admin)
www.goeducation (support and admin)
+27 72 524 8096

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Regex problem..

2005-07-25 Thread Gregory Machin
Hi.

Please could you advise me...
I have php pages that are stored in a mysql database, that will later
be imported into a cms
I want to use mysql's regex funtion to remove unwanted php code and
update links to images
and urls.

But i cant seem to get my brian around the regex part ...

i want to remove the header include ?php require(./include/header1);?
i tried \?php[^][header1].*\? , and other attempts but no luck ..
unfortunetly i can do a normal string replace because of varations,in
the code ...

Many Thanks
-- 
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
Web Hosting Solutions
Scalable Linux Solutions 
www.iberry.info (support and admin)
www.goeducation (support and admin)
+27 72 524 8096

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



storing php pages with sql queries in a mysql database

2005-07-23 Thread Gregory Machin
Hi all.
I'm writing a php script to store the contents of html and php pages
in a data base, it works well until there are mysql queries in the
pages source then give errors such as this one.

Query failed: You have an error in your SQL syntax near 'temp' 

how do stop mysql from trying to interperate this data and blindly store it ??

Many Thanks
-- 
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
Web Hosting Solutions
Scalable Linux Solutions 
www.iberry.info (support and admin)
www.goeducation (support and admin)
+27 72 524 8096

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re search and replace in large text fields

2005-07-21 Thread Gregory Machin
Hi all...
Please could you advise me my MySql, is a bit shacky.
I need to capture about 700 web pages to a large text column in my
database, the search for all the links in the pages within the column
and replace them with new relative links .. to the pages now stored in
the data base ..

so how do I 
1 import all the pages in one directory into the column.
2 how do i do a search and replace the tags with the new correct ones ?

Many thanks ...


-- 
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
Web Hosting Solutions
Scalable Linux Solutions 
www.iberry.info (support and admin)
www.goeducation (support and admin)
+27 72 524 8096

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Saving a whole txt file in a database

2005-07-21 Thread Gregory Machin
Hi all 
How does one save a whole txt file in a largetext column ?
Ihave found l lots  on delimited filesbut non on saving a whole text file .

Many thanks 
-- 
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
Web Hosting Solutions
Scalable Linux Solutions 
www.iberry.info (support and admin)
www.goeducation (support and admin)
+27 72 524 8096

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



need deb for msyslog ..

2003-12-21 Thread Gregory Machin
Hi all.
Has anyone got a deb for woody for msyslog .
I have looked on www.apt-get.org but didn't come up with anything ..

Or if anyone could sugest an opensource replacement for syslogd that logs to mysql 
that is better then that would be grate ..


Many thanks
Gregory Machin
072 5248 096
[EMAIL PROTECTED]
[EMAIL PROTECTED]

System Administrator for
 - Academy Internalional
 - Vukani Skills Lab

Systems Developer for 
  sylque.com
  scsza.com
  linuxpro.co.za

Programming 
  Mysql 
  PHP
  Delphi
  Kylix