Commit graph

46 commits

Author SHA1 Message Date
jimw@mysql.com
5e581186a4 Fix mysql.server.sh to use shell functions as replacement
for LSB init functions when they aren't available. (Bug #9852)
2005-04-14 17:22:18 -07:00
petr@mysql.com
8f5029b42c Bug #9507 /etc/init.d/mysql script does not stop mysqld correctly
wait_for_pid function is fixed to wait for pid removal in "stop".
recomitted with post-review fix
2005-03-31 14:25:03 +04:00
joerg@mysql.com
1314c4aaee Portability fix (avoid bash-ism). 2005-03-30 18:38:54 +02:00
lenz@mysql.com
2714f176fb Applied some changes to the mysql.server init script that are already shipped as an additional patch
in the 4.1.10a RPMs for SLES9/RHEL3:

- small improvement: use LSB functions to display startup success and failure, if available.
  Fall back to more primitive builtin functions otherwise.
- joined two pieces of code performing the same functionality into one "wait_for_pid" function
- added a "reload" function (LSB requirement)
2005-03-15 12:23:14 +01:00
monty@mysql.com
ce14578909 Merge with 4.0.18 2004-02-11 00:06:46 +01:00
serg@serg.mylan
06759f78d1 extra newline removed 2004-02-03 21:15:20 +01:00
ram@gw.mysql.r18.ru
e4bde991ae another variant (bug #2185: mysql.server script echo bug) 2004-02-03 16:45:29 +04:00
ram@gw.mysql.r18.ru
d75674a541 a fix (#2185: mysql.server script echo bug)
thnx Paul.                                             
              
<monty> can you get the above into configure and make Makefile.am patch         
mysql.server.sh with the right values for mysql.server ?                        
<monty> or do you think we should just put the above in mysql.server.sh directly
<ramil> as you want                                                             
<monty> the last is kind of hard to do with variables, so lets put the          
above in mysql.server.sh directly
2004-02-02 15:25:20 +04:00
monty@mysql.com
e0cc6799ec Merge with 4.0.17 2003-12-17 17:35:34 +02:00
monty@mysql.com
d47deebb58 Extend max_allowed_packet to 2G in mysql and mysqldump (Bug #2105)
Don't dump data for MRG_ISAM or MRG_MYISAM tables. (Bug #1846)
Ensure that 'lower_case_table_names' is always set on case insensitive file systems. (Bug #1812)
One can now configure MySQL as windows service as a normal user. (Bug #1802)
Database names is now compared with lower case in ON clause when lower_case_table_names is set. (Bug #1736)
IGNORE ... LINES option didn't work when used with fixed length rows. (Bug #1704)
Change INSERT DELAYED ... SELECT... to INSERT .... SELECT (Bug #1983)
Safety fix for service 'mysql start' (Bug #1815)
2003-12-14 06:39:52 +02:00
monty@narttu.mysql.fi
4e4725377d Merge with 4.0 2003-11-04 09:40:36 +02:00
monty@narttu.mysql.fi
37ee1b8e43 Move the pid file testing after arguments are parsed (previous patch was not correct) 2003-10-24 14:22:54 +03:00
monty@narttu.mysql.fi
6056cfadfc Merge with 4.0.16 2003-10-07 15:42:26 +03:00
monty@narttu.mysql.fi
89f30200bc Removed random chars after filename for LOAD DATA INFILE (in mysqlbinlog)
Add quoting for use `database` for mysqlbinlog
Removed test ins0000001
Add support for --replace for exec in mysqltest
Don't refer to install dir in mysqlbinlog.result
2003-09-29 12:31:35 +03:00
lenz@mysql.com
caf23b6999 - force the removal of /var/lock/subsys/mysql on MySQL shutdown 2003-09-17 22:41:01 +02:00
serg@serg.mylan
97867cb89b mysql.server should read [server] group from my.cnf - according to the manual 2003-06-13 19:25:26 +02:00
lenz@mysql.com
7947830b2d - Updated Default-Stop run levels in the LSB header section to satisfy
Red Hat's chkconfig (Bug #272) (The LSB spec is a bit ambigous about
   what actually needs to be put into this field)
2003-06-04 17:31:21 +02:00
monty@mashka.mysql.fi
938933afc9 Use my.cnf file from datadir even if datadir is different from the default one. 2003-04-28 12:00:04 +03:00
lenz@mysql.com
ac8f4677d4 - corrected shutdown priority on Red Hat (should be shut down very early)
- adjusted LSB run levels to be identical as on Red Hat (2-5)
2003-04-11 13:02:16 +02:00
lenz@mysql.com
9bcc70df35 Merge mysql.com:/space/my/mysql-4.0
into mysql.com:/space/my/mysql-4.0-build
2002-12-05 22:05:31 +01:00
monty@mashka.mysql.fi
2435dce96d Merge with 3.23 2002-12-05 03:52:53 +02:00
lenz@mysql.com
a13d1b2faf - removed unused variable $defaults
- parse mysql.server section in my.cnf as well
2002-11-29 17:36:36 +01:00
lenz@mysql.com
b6175db464 - Moved the init script from /etc/rc.d/init.d to /etc/init.d for better
compatibility of the RPMs
 - added "restart" action to the mysql.server init script
2002-11-27 22:57:17 +01:00
lenz@mysql.com
98b336afbd - fixed tabbing 2002-11-25 13:30:56 +01:00
lenz@mysql.com
fa7798596d mysql.server.sh:
- reverted some incompatible/non-portable modifications
2002-11-25 13:25:18 +01:00
lenz@mysql.com
eef0952be6 mysql.server.sh:
- reverted some incompatible/non-portable modifications
2002-11-25 13:14:38 +01:00
lenz@mysql.com
4c32ffcb68 mysql.server:
- fixed some typos and wording (merged from 3.23 tree)
 - fixed parsing the correct section in /etc/my.cnf ([mysql_server] ->
   [mysql.server]) as documented in the manual
2002-11-22 18:37:00 +01:00
lenz@mysql.com
d882391975 scripts/safe_mysqld.sh
- fix setting of niceness level

support-files/mysql.server.sh
     - applied some fixes from 4.0 mysql.server script
     - fix my.cnf parsing
2002-11-22 18:26:45 +01:00
serg@serg.mysql.com
f2aab61a60 Merge serg.mysql.com:/usr/home/serg/Abk/mysql
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-11-17 00:36:28 +01:00
lenz@mysql.com
042ac3fb67 - Fixed some minor bugs/typos 2002-11-15 01:57:56 +01:00
monty@hundin.mysql.fi
c7499a1039 Portabilityfix in mysqladmin.c
Fix when using --localstatedir
Cleaned up mysql.server
2002-08-23 02:48:52 +03:00
lenz@mysql.com
c5bdaee9ad - added the init script to support the LSB init script spec
- overhauled the RPM spec file (more macros, package descriptions)
2002-07-30 23:01:36 +02:00
lenz@mysql.com
7b83805443 - Fixed build failure in mysql.spec.sh - linking against the special
patched glibc would force static linking, which does not work with
  OpenSSL (which is now part of the Max binary)
- RPM spec file cleanups
- Init script cosmetical fix
2002-07-23 17:04:20 +02:00
lenz@mysql.com
818af46d6c Reworked the RPM spec file and added several fixes to make the
build scripts work again.
2002-05-03 12:31:25 +02:00
monty@hundin.mysql.fi
12aa7e5e84 Fix for make dist 2001-09-29 15:37:53 +03:00
monty@hundin.mysql.fi
897b37b506 Changed safe_mysqld -> mysqld_safe
Added some alias to SHOW commands
Prepare for dynamic changing of MySQL variables
2001-06-28 10:49:16 +03:00
jani@janikt.pp.saunalahti.fi
2b5d60504b Fixed a few typos. 2001-05-29 20:03:58 +03:00
monty@donna.mysql.com
b443871ed5 Ensure that my_print_defaults is found 2001-01-02 21:28:36 +02:00
tim@cane.mysql.fi
a7462751af Portability fix. 2000-12-28 20:12:39 +02:00
tim@threads.polyesthetic.msg
777881761c More changes to mysql.server to make it fit in with the other
tools.
2000-11-29 18:24:21 -05:00
tim@threads.polyesthetic.msg
7f877deb47 Clean up safe_mysqld, mysql_install_db and mysql.server. They
should now work the way you expect them to (process command-line
arguments consistently).
2000-11-29 15:21:48 -05:00
monty@donna.mysql.com
dc5e32ea40 Added connect_timeout and fix for transactions per statement 2000-11-27 02:28:41 +02:00
monty@donna.mysql.com
dc4525636c Small bug fixes + code for DELETE QUICK 2000-09-20 04:54:10 +03:00
monty@donna.mysql.com
2776500c22 Update to new root alloc, OPTIMIZE TABLE and some other changes 2000-09-12 03:02:33 +03:00
monty@donna.mysql.com
be5e4e72b6 Small bug fixes 2000-09-07 04:55:17 +03:00
bk@work.mysql.com
f4c589ff6c Import changeset 2000-07-31 21:29:14 +02:00