RE: Uploading database content with PHPMyAdmin

2004-02-05 Thread Dan Muey
> I have just started to use PHPMy Admin in the last hour or > so. How do I > upload the data and structure to a remote server. I have done a > mysqldump and have tried to upload it but I keep getting an error. > > I create a statement in a window, browse to a file to upload it and > submit

RE: Is there any documentation of Best Practices/Troubleshooting Guides for Administering MySQL

2004-02-04 Thread Dan Muey
ific question to this list. HTH DMuey > > > -Original Message- > From: Dan Muey [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 04, 2004 3:33 PM > To: Schwartz, Evelyn; [EMAIL PROTECTED] > Subject: RE: Is there any documentation of Best > Practices/

OT: Bash script to MySql

2004-02-04 Thread Dan Muey
Sorry for the OT, I deleted the messages from the perosn who sent me a response offlist. In response to his personal emails in reply to: http://lists.mysql.com/mysql/158945 he said, Perl was a write only language (meaning it is hard to read since careless people may do sloppy code - not me tho

RE: Is there any documentation of Best Practices/Troubleshooting Guides for Administering MySQL

2004-02-04 Thread Dan Muey
> We are implementing three or four MySql servers (as a start) > and I'm writing the Troubleshooting Guide for our operational > staff. None of these folks have any MySQL experience (and > I'm a newbie myself). I need a pretty basic 'Cheat Sheet' for > troubleshooting common production type pr

RE: Bash script to MySql

2004-02-04 Thread Dan Muey
> Why not use another language that has mysql hooks built in? Good suggestion. > For example, from version 4.3.0 PHP comes with SAPI to allow > scripting from the command line, ideal for cron style tasks > and it's mysql support is very mature. Or better yet, Perl. Not only is its mysql suppor

Simple Binary Download Difference question

2004-01-29 Thread Dan Muey
What is the difference between 'Mac OS X downloads' and 'Mac OS X Package Installer downloads' listed at: http://www.mysql.com/downloads/mysql-4.0.html I know I want 'standard' and not 'max' or 'debug' but do I want 'Mac OS X downloads' or 'Mac OS X Package Installer downloads'? What's the diffe

Re: mysql_install_db and error 22

2004-01-29 Thread Dan Muey
Howdy List, I came across this article in the mail archives: http://www.mail-archive.com/[EMAIL PROTECTED]/msg85864.html And subscribed to the list because I am having the same issue. (Hope A. Tucovic is still on the list!) I get: Got error 22 when trying to lock mutex in log.cc , line 1689 when

RE: AUTO_INCREMENT Starting over

2003-12-03 Thread Dan Muey
> "Dan Muey" <[EMAIL PROTECTED]> wrote: > >> "Dan Muey" <[EMAIL PROTECTED]> wrote: > >> > I have a table that I create with=3D20 > >> > CREATE TABLE SuperTest ( > >> >ID int(11) NOT NULL AUTO_INCREMENT, &g

RE: AUTO_INCREMENT Starting over

2003-12-03 Thread Dan Muey
> "Dan Muey" <[EMAIL PROTECTED]> wrote: > > > > I have a table that I create with=20 > > > > CREATE TABLE SuperTest ( > >ID int(11) NOT NULL AUTO_INCREMENT, > >Name varchar(64) NOT NULL, > >Domain varchar(6

AUTO_INCREMENT Starting over

2003-12-02 Thread Dan Muey
Hello group, I have a table that I create with CREATE TABLE SuperTest ( ID int(11) NOT NULL AUTO_INCREMENT, Name varchar(64) NOT NULL, Domain varchar(64) NOT NULL, PRIMARY KEY(ID) ); I use that same thing to create a the same table on two servers. On one server

RE: multiple databases creation

2003-08-14 Thread Dan Muey
> Hi, Howdy > > I know that Mysql handles large database very well, but there > is a project > that requires more than 2000 small databases(about 20 talbes > with a few > rows) to be created within a Mysql server. Could somebody > tell me does it > make sense? Err.. Sure it makes sense I

RE: Form values are truncated

2003-08-14 Thread Dan Muey
> All, > Howdy, > I'm building a member signup form. Fields that contain more > than one word are being truncated when being inserted into > the MySQL table. > > I'm using this code that I got from one of my PHP books. > > $as_addr1 = addslashes($_POST['addr1']);$tr_addr1 = trim($as_addr1)

RE: how to 'tell' the select what to omit

2003-08-10 Thread Dan Muey
I'm writing a function for Perl module I'm writing that will allow you to do $query = "SELECT".DBIallexcept($dbh,'fred','wilma')."FROM monkey"; If that will help. Let em know and I'll notify you when it's done. Thanks Dan >> > As Victoria says, you can't. However I agree that this syntax >

RE: How does one get off of this list

2003-08-01 Thread Dan Muey
> I have tried to remove myself from this list, but the unsubscribe > function does not function. How does one get off of this list? At the risk of sounding condescending > To unsubscribe: > http://lists.mysql.com/[EMAIL PROTECTED] Is at the bottom of every message. Also if that doesn'

RE: MySQL LOAD zipped DATA from File

2003-08-01 Thread Dan Muey
> Dear Ladies and Sirs, > > can anyone give me a hint please, if it is possible toimport > data data from a zipped File, without unzipping it before. > I'm using MySQL 3.23 on a LINUX System. I guess it is > possible using a 'named pipe' and 'funzip' , but I don't lnow how. I've used Perl and

TABLE STATUS

2003-07-31 Thread Dan Muey
I was wondering if anybody wth expereince with other tables types than MyIsam would be able to fill in a few blanks for me: I'm trying to find what file extentions are associated with what table types. And which file types are associated with the Field's listed below of a SHOW TABLE STATUS. Or

RE: Finding Table and database size

2003-07-31 Thread Dan Muey
> Hello Dan, > > Probably the reason that no-one has replied to you is that > on-one feels that they have anything helpful to add to what > you already know. A quick check on my system shows that the > data and index sizes reported by SHOW TABLE STATUS are the > same as the byte sizes of the M

RE: Finding Table and database size

2003-07-31 Thread Dan Muey
Excellent Terry Thanks I'll into that a little more. Basically I'm trying to make the most efficient function I can That will return the size of a table and the size of a database, so I can put it in aPelr module and make it avaialable to all. Thanks Dan > -Original Message- > From: T

RE: Finding Table and database size

2003-07-31 Thread Dan Muey
nd 'Index_length' are in bytes and > added together would make the disk size that that table > is using up? > > Thanks a bunch > > Dan > > > -Original Message- > > From: Dan Muey > > Sent: Wednesday, July 30, 2003 4:24 PM > >

RE: Finding Table and database size

2003-07-30 Thread Dan Muey
Ok at least could someone tell me if the SHOW TABLE STATUS fields 'Data_length' and 'Index_length' are in bytes and added together would make the disk size that that table is using up? Thanks a bunch Dan > -Original Message- > From: Dan Muey > Sent: Wed

RE: Finding Table and database size

2003-07-30 Thread Dan Muey
Is this even possible with mysql then? > Howdy List! > A couple questions about finding the disk space used by a > table/database: > > 1) First how can I get the size a table is taking up on disk? > Is it the 'Data_length' field in: SHOW TABLE STATUS > FROM db_name LIKE 'wild';?? >

Finding Table and database size

2003-07-30 Thread Dan Muey
Howdy List! A couple questions about finding the disk space used by a table/database: 1) First how can I get the size a table is taking up on disk? Is it the 'Data_length' field in: SHOW TABLE STATUS FROM db_name LIKE 'wild';?? If so how can I do a query like the one above

RE: Perl/mysql question

2003-07-30 Thread Dan Muey
> Has anyone written a perl script to get records from another > database and write it to a file on mysql's LOAD DATA INFILE > format? I just need some pointers in perl so a LOAD DATA > INFILE will be read correctly. You might want to check out Perl's DBI module at search.cpan.org I use that a