On 15 Jul 2002 at 14:50, Chris Kay wrote: > > The data is stored in a text file that is created by mrtg/rrdtool > The file size always stays the same and never grows even though the data > does. > > I wish to pull the data into a mysql database, I don't have fields yet as > I am not sure how to do it,... > > > -----Original Message----- > From: David Robley [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 15, 2002 2:49 PM > To: Chris Kay; [EMAIL PROTECTED] > Subject: RE: [PHP] Re: Question 1 > > > On 15 Jul 2002 at 14:27, Chris Kay wrote: > > > > > I wish it was that eazy :) > > > ------------------------------------------------------------------------ > > --- > > > > > -----Original Message----- > From: David Robley > [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 15, 2002 2:27 PM > > To: [EMAIL PROTECTED] > Subject: [PHP] Re: Question 1 > > > In > article <E00ACB0129A4C748B02A744610798CE50652CE@headoffice- > > fs.techex.net.au>, [EMAIL PROTECTED] says... > > > > I am looking at > importing data from rdtool into a mysql backend And > > not sure how to go > about it... > > > > I was wondering if anyone has tried this or know of > some information > > > > that may help. > > > > > > Or even a theroy on how the best way would be to do this... > > > > > > Thanks in advance.. > > > > Does rdtool allow you to export in commma/tab/whatever delimited > > format? > > > > Then just use mysql's LOAD DATA INFILE > > > > OK - I can then assume that rdtool is the Ruby Documentation tool? At > least that's what google chucks up. It appears that it produces > documentation in a number of formats. Perhaps if you could be a bit more > specific about exactly what you want to achieve? For example, how is your > data currently formatted? is it just in text files? what sort of table > structure do you want to put it in?
First, may I suggest you keep the discussion on-list, as there may be others there better equipped to help you. My first suggestion, now that you say you are using rrdtool not rdtool:-) would be to open the file in which your data is stored and try and work out the structure in which it is stored. Then, decide which of that data you need for your purpose, and work from there. -- David Robley Temporary Kiwi! Quod subigo farinam "My stereo's half-fixed," said Tom monotonously. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php