Re: Trancate table from command line?

2010-03-16 Thread John Oliver
On Tue, Mar 16, 2010 at 02:12:42PM -0700, John Oliver wrote: > Is there a way to use mysqladmin (or mysql) to truncate a table as a > one-off command from the command line? > > I have an issue with importing data from one database into another, but > the second database might ha

Trancate table from command line?

2010-03-16 Thread John Oliver
ll, which won't work... this operation needs to be scripted, or to be presented as one command line that can be copy-and-pasted. How can I do something like : mysqladmin -h db_server -u user -pPASSWORD truncate table table1 ? -- ****

Merging deltas from one table to another?

2010-03-08 Thread John Oliver
y the deltas? Thanks... -- ******* * John Oliver http://www.john-oliver.net/ * * * *

Re: MySQL db died / got corrupted / ???

2010-01-04 Thread John Oliver
ace! The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains information that should help you find out what is causing the crash. 100104 16:43:51 mysqld ended -- ******* * John Oliver

MySQL db died / got corrupted / ???

2010-01-04 Thread John Oliver
I don't know what I can do about a "stray pointer". -- ******* * John Oliver

Re: Passwords not working

2009-10-22 Thread John Oliver
blic, and one private. The private interfaces are connected to a private VLAN on a virtual switch that is only for these two servers. MySQL only listens on 172.16.1.1, and the web server connects to that IP. On each host, I have a hosts entry for the other. -- ****

Passwords not working

2009-10-19 Thread John Oliver
go to reset passwords, it doesn't want to let me specify 'user'@'ip.address' or 'user'@'host.name' but just 'user' I *think* it's resetting the password for both... the hashes are always the same. But I just don't know. What am I miss

Some MySQL questions

2009-10-08 Thread John Oliver
from 'users' where = 1898; Is that right? I'm not sure if COLUMN_NAME is "uid" or "id" or maye something else, and since I can't pipe it through more or less... :-) -- ******* * John

Dump / restore rows in table?

2009-10-07 Thread John Oliver
table_name" and then add something to specify rows 1000-1050. And then I'm guessing that mysql < result.sql would restore? Or would it not know what table it came from, and I'd have to specify that? -- ******* * Jo

Problem with MySQL user

2009-09-16 Thread John Oliver
d 'user'@'hostname', and then go in and start modifying the config (it's set in settings.php as well as several places in the httpd.conf) I do have /etc/hosts entries on both VMs resolving both 172.16.1.1 / 2 to known hostnames. -- **

Problem building .src.rpm

2003-02-14 Thread John Oliver
do *not* have an old Automake... [joliver@joliver-lnx joliver]$ rpm -qa | grep automake automake-1.6.3-1 automake14-1.4p6-3 automake15-1.5-4 -- John Oliver, CCNAhttp://www.john-oliver.net/ Linux/UNIX/network consulting http://www.john-oliver.net/resume/ ***

Re: Starting MySQL RPM

2003-02-14 Thread John Oliver
On Fri, Feb 14, 2003 at 05:01:01PM +0200, Egor Egorov wrote: > On Friday 14 February 2003 01:06, John Oliver wrote: > > > I removed the Red Hat MySQL RPMs (which worked fine, other than not > > supporting InnoDB) and installed the 3.23.55-1 RPMs from mysql.com When >

Re: Starting MySQL RPM

2003-02-13 Thread John Oliver
out current value: 3600 slow_launch_time current value: 2 sort_buffer current value: 2097144 table_cache current value: 64 thread_concurrencycurrent value: 10 thread_cache_size current value: 0 tmp_table_sizecurrent value: 33554432 thread_stack

Starting MySQL RPM

2003-02-13 Thread John Oliver
e isn't helping me much, either :-( -- John Oliver, CCNAhttp://www.john-oliver.net/ Linux/UNIX/network consulting http://www.john-oliver.net/resume/ *** sendmail, Apache, ftp, DNS, spam filtering *** Colocation

Re: Enable InnoDB in RPM install?

2003-02-13 Thread John Oliver
key-dokey, I'll give them a shot. Thanks... -- John Oliver, CCNAhttp://www.john-oliver.net/ Linux/UNIX/network consulting http://www.john-oliver.net/resume/ *** sendmail, Apache, ftp, DNS, spam filtering *** Coloca

Re: Enable InnoDB in RPM install?

2003-02-13 Thread John Oliver
On Thu, Feb 13, 2003 at 03:33:31PM -0600, Paul DuBois wrote: > At 12:43 -0800 2/13/03, John Oliver wrote: > >I've got MySQL installed via RPM on a Red Hat 8.0 machine. How do I > >enable InnoDB? > > If it's < MySQL 4, install the -Max RPM on top of your exist

Enable InnoDB in RPM install?

2003-02-13 Thread John Oliver
I've got MySQL installed via RPM on a Red Hat 8.0 machine. How do I enable InnoDB? -- John Oliver, CCNAhttp://www.john-oliver.net/ Linux/UNIX/network consulting http://www.john-oliver.net/resume/ *** sendmail, Apache, ftp, DNS, spam filt