I would suggest a Nagios monitoring system, useful for many different checks
and with plugins to check also mysql replication.
Aloha!
Claudio Nanni
2008/12/23 xufeng xuf...@yuanjie.net
Hello everyone,
In my production system, I set up MySQL 5.0.67 master/slave replication,
and
recently I
Hi Krishna,
thanks for the your answer !!!
I have three different my.cnf for my three instances but one general
my.cnf to manage all instances,
my general my.cnf is:
[mysqld_multi]
mysqld = /opt/local/mysql50/bin/mysqld_safe
mysqladmin = /opt/local/mysql50/bin/mysqladmin
user = root
Hi Stefano,
I have tested. It's working fine without any issue.
Open mysql configuration(.cnf) file referencing to 1st mysql instance. Add
the below entires and restart the mysql server.
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
Hi Krishna,
the problem is that you use --default-file on the command line and in
this mode it's working fine,
I also tried,
but I have the configuration of the variable default-file in the
general my.cnf and I enter in MySQL
in this way:
mysql --socket=/tmp/mysql50_SIA_SVILUPPO.sock
Hi Stefano,
I believe that, different mysql configuration file for different mysql
instance is a better idea. In your case, if any thing goes wrong with my.cnf
Then, it is going to effect all mysql instance (either restart mysql server
or any other way). It has a lots of disadvantages.
You might
Hi,
This my script to convert latin1 database to utf8 :
$ mysqldump --user=root --password=password --host=mybox mydatabase --
default-character-set=latin1 mydatabase.latin1.sql$ mysqldump --
user=root --password=password --host=mybox mydatabase --default-character-
set=latin1
Hi Krishna,
I use the script mysql_multi to stop and the start several, or all,
instances.
At the end, to work with more ease,
I will create scripts to connect to each instance
and in the script force the variable prompt at the connection
seems easy
Thanks for all !!!
I've break line misteak in my previous message, this is the fix :
$ mysqldump --user=root --password=password --host=mybox mydatabase --
default-character-set=latin1 mydatabase.latin1.sql$ mysqldump --
user=root --password=password --host=mybox mydatabase
--default-character- set=latin1
Le Tue, 23 Dec 2008 14:42:40 +, KLEIN Stéphane a écrit :
Hi,
This my script to convert latin1 database to utf8 :
$ mysqldump --user=root --password=password --host=mybox mydatabase --
default-character-set=latin1 mydatabase.latin1.sql$ mysqldump --
user=root --password=password
Le Tue, 23 Dec 2008 15:33:34 +, KLEIN Stéphane a écrit :
Le Tue, 23 Dec 2008 14:42:40 +, KLEIN Stéphane a écrit :
Hi,
This my script to convert latin1 database to utf8 :
$ mysqldump --user=root --password=password --host=mybox mydatabase --
default-character-set=latin1
On Mon, Dec 22, 2008 at 6:40 PM, Baron Schwartz ba...@xaprb.com wrote:
Right. Unless you have some other settings (binlog-do-db or
binlog-ignore-db on the master?) that are interfering
You saw this ^ right?
on master:
mysql show master status;
Hi
I would suggest a Nagios monitoring system, useful for many different checks
and with plugins to check also mysql replication.
I'll second this. The standard check_mysql plugin included with Nagios
allows you to monitor a MySQL slave and alert when the lag behind the
master is larger
Let's say I have the following tables:
Plates table
+++-+
| id | Name | Description |
+++-+
| 1 | Paper | Blah|
| 2 | Plastic| Blah|
| 3 | China | Blah|
| 4 | Glass | Blah|
Hi Sonal,
What information do you require ? Basically in the MasterTB we have
productID and name, description. In the LookupTB we have the productID from
the MasterTB, the productID from ProductTB and a char field for preferred
supplier Yes/No. In the ProductTB we have a list of products from
Hi,
I have a table which stores log traffic. The table contains these
fields:
transaction_id, from, to, message, status, insertdate
For example there is a message from A send to B, when the message sent
to B it will insert new record. And when the message is read by B, it
will also insert new
Hi,
I use Mycat to monitor more than 300 servers using a single config file.
It can be used only for replication monitoring though
Regards,
Chandru
www.mafiree.com
On Tue, Dec 23, 2008 at 10:51 PM, Andy Shellam andy-li...@networkmail.euwrote:
Hi
I would suggest a Nagios monitoring
There's a couple ways to go about this. The simplest thing (and what
we use in most of our simple monitoring cases) is a shell script that
checks the output of show slave status\G on the slave periodically.
If it reports that either thread isn't running, or there's something
in Last error, or the
17 matches
Mail list logo