Re: import database

2011-10-10 Thread Jim Moseby
>>> Jessica Bela  10/10/2011 4:47 PM >>>
Hi all,
how I can import in my PC a database Mysql that  has been created  in another 
PC and with other tools?
 
Assuming the source and destination are BOTH mysql databases:
 
mysqldump database > export.sql
 
...creates a file 'export.sql'.  Copy it to the target pc, then on the target
 
mysql < export.sql
 
If the source database is something OTHER than MySQL, we'd need to know what 
that database is.
 

CONFIDENTIALITY NOTICE:  This message is directed to and is for the use of the 
above-noted addressee only, and its contents may be legally privileged or 
confidential.  If the reader of this message is not the intended recipient, you 
are hereby notified that any distribution, dissemination, or copy of this 
message is strictly prohibited.  If you have received this message in error, 
please delete it immediately and notify the sender.  This message is not 
intended to be an electronic signature nor to constitute an agreement of any 
kind under applicable law unless otherwise expressly indicated herein.


Re: replication between two tables in same database

2011-09-29 Thread Jim Moseby

Sounds like a job for CREATE TRIGGER to me.  :)
http://dev.mysql.com/doc/refman/5.0/en/create-trigger.html
 
 

>>> Tompkins Neil  9/29/2011 12:56 PM >>>
Hi

I've a Innodb and MyISAM table in the SAME database that I wish to replicate
the data between the two because I need to use FULLTEXT searching on
the MyISAM table.  Is this possible ? If so how do I do it.

Thanks
Neil

CONFIDENTIALITY NOTICE:  This message is directed to and is for the use of the 
above-noted addressee only, and its contents may be legally privileged or 
confidential.  If the reader of this message is not the intended recipient, you 
are hereby notified that any distribution, dissemination, or copy of this 
message is strictly prohibited.  If you have received this message in error, 
please delete it immediately and notify the sender.  This message is not 
intended to be an electronic signature nor to constitute an agreement of any 
kind under applicable law unless otherwise expressly indicated herein.


Re: SLOW performance over network

2011-09-29 Thread Jim Moseby
Yeah:
 
# host 72.30.2.43 /* yahoo.com */
43.2.30.72.in-addr.arpa domain name pointer ir1.fp.vip.sk1.yahoo.com.
# host 10.1.20.97 /* my windows box */
97.20.1.10.in-addr.arpa has no PTR record
 


>>> Todd Lyons  9/29/2011 10:26 AM >>>
On Thu, Sep 29, 2011 at 7:12 AM, Jim Moseby  wrote:
> I still use the old MySQL Administrator GUI on my windows box.  A simple 
> 'select * from tablename'  that would return only three records takes just 
> over a minute to return (although it says '3 records returned in 0.0086 
> seconds' at the bottom).  I have many ODBC clients accessing this server as 
> well, they all have slowness problems too.
>
> I'm stumped.  What could possibly be causing this issue?

Wild Guess: Does DNS resolution, especially reverse dns resolution,
still work on the mysql server?

..Todd

-- 
If Americans could eliminate sugary beverages, potatoes, white bread,
pasta, white rice and sugary snacks, we would wipe out almost all the
problems we have with weight and diabetes and other metabolic
diseases. -- Dr. Walter Willett, Harvard School of Public Health

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=jmos...@elasticfabrics.com



CONFIDENTIALITY NOTICE:  This message is directed to and is for the use of the 
above-noted addressee only, and its contents may be legally privileged or 
confidential.  If the reader of this message is not the intended recipient, you 
are hereby notified that any distribution, dissemination, or copy of this 
message is strictly prohibited.  If you have received this message in error, 
please delete it immediately and notify the sender.  This message is not 
intended to be an electronic signature nor to constitute an agreement of any 
kind under applicable law unless otherwise expressly indicated herein.


SLOW performance over network

2011-09-29 Thread Jim Moseby
mysql  Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2
 
Strange, strange problem.
 
Everything was fine yesterday morning, then all of a sudden any query over the 
network takes a REALLY long time to return.  If I log in at the server console, 
every query is snappy-fast.  There had been no changes to clients or server 
when this happened.  All other networking services on the machine seem to be 
fine.  Processors are between 0-3% utilization, disk is at 8% utilization.
 
Server runs apache as well. There are many php pages on this web server that 
access the database, and display the results, all snappy-fast as usual.
 
I still use the old MySQL Administrator GUI on my windows box.  A simple 
'select * from tablename'  that would return only three records takes just over 
a minute to return (although it says '3 records returned in 0.0086 seconds' at 
the bottom).  I have many ODBC clients accessing this server as well, they all 
have slowness problems too.
 
I'm stumped.  What could possibly be causing this issue?
 
Thanks for any ideas!
 
Jim
 
 

CONFIDENTIALITY NOTICE:  This message is directed to and is for the use of the 
above-noted addressee only, and its contents may be legally privileged or 
confidential.  If the reader of this message is not the intended recipient, you 
are hereby notified that any distribution, dissemination, or copy of this 
message is strictly prohibited.  If you have received this message in error, 
please delete it immediately and notify the sender.  This message is not 
intended to be an electronic signature nor to constitute an agreement of any 
kind under applicable law unless otherwise expressly indicated herein.