>Description:
There seems to be a problem with mysql replication. When the slave server encounters
sql that uses backticks instead of single quotes. The
+replication stops until you manually advance the position number in the master.info
+file.
>How-To-Repeat:
1. Set up a replication server
2. enter in sql on the master server using backticks instead of singlequotes
eg. DROP TABLE `ee_camera`, `ee_camera_type`, `ee_category`, `ee_counter`,
`ee_country`, `ee_exhibition`, `ee_exhibition_feedback`,
+`ee_lens`, `ee_light`, `ee_location`, `ee_message`, `ee_microthumb_path`, `ee_news`,
+`ee_owner`, `ee_photo`, `ee_photo_size`,
+`ee_photo_to_category`, `ee_photo_to_exhibition`, `ee_size`, `ee_thumb_path`,
+`ee_thumbs`, `ee_workflow`
3. Watch the error log on the slave, it will stop replication at this point.
>Fix:
>Submitter-Id: <submitter ID>
>Originator: markb
>Organization:
Server101.com
>MySQL support: none
>Synopsis: Replication halts with sql syntax error
>Severity: serious
>Priority: medium
>Category: mysql
>Class: sw-bug
>Release: mysql-3.23.54 (Official MySQL RPM)
>Server: /usr/bin/mysqladmin Ver 8.23 Distrib 3.23.54, for pc-linux on i686
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Server version 3.23.54-Max
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/lib/mysql/mysql.sock
Uptime: 7 hours 45 min 44 sec
Threads: 1 Questions: 50694 Slow queries: 0 Opens: 4433 Flush tables: 1 Open
tables: 64 Queries per second avg: 1.814
>Environment:
Intel, Redhat 7.2
System: Linux launch.server101.com 2.4.16-xfs #2 SMP Tue Jan 15 05:26:12 EST 2002 i686
unknown
Architecture: i686
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.1)
Compilation info: CC='gcc' CFLAGS='-O6 -fno-omit-frame-pointer -mpentium' CXX='gcc'
CXXFLAGS='-O6 -fno-omit-frame-pointer -felide-constructors
-fno-exceptions -fno-rtti -mpentium' LDFLAGS=''
LIBC:
lrwxrwxrwx 1 root root 13 Nov 8 02:13 /lib/libc.so.6 -> libc-2.2.4.so
-rwxr-xr-x 1 root root 1285884 Oct 11 03:19 /lib/libc-2.2.4.so
-rw-r--r-- 1 root root 27338282 Oct 11 02:48 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 Oct 11 02:48 /usr/lib/libc.so
lrwxrwxrwx 1 root root 10 May 28 2002 /usr/lib/libc-client.a ->
c-client.a
Configure command: ./configure '--disable-shared' '--with-mysqld-ldflags=-all-static'
'--with-client-ldflags=-all-static' '--without-berkeley-db' '--without-innodb'
'--enable-assembler' '--enable-local-infile' '--with-mysqld-user=mysql'
'--with-unix-socket-path=/var/lib/mysql/mysql.sock' '--prefix=/'
'--with-extra-charsets=complex' '--exec-prefix=/usr' '--libexecdir=/usr/sbin'
'--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var/lib/mysql'
'--infodir=/usr/share/info' '--includedir=/usr/include' '--mandir=/usr/share/man'
'--with-comment=Official MySQL RPM' 'CC=gcc' 'CFLAGS=-O6 -fno-omit-frame-pointer
-mpentium' 'CXXFLAGS=-O6 -fno-omit-frame-pointer -felide-constructors
-fno-exceptions -fno-rtti -mpentium' 'CXX=gcc'
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php