summaryrefslogtreecommitdiff
path: root/scripts/mysqld_safe.sh
Commit message (Collapse)AuthorAgeFilesLines
* Add --malloc-lib=LIB option to mysqld_safe to LD_PRELOAD a shared library ↵unknown2009-09-231-1/+132
| | | | for mysqld
* Bug #44736 mysqld_safe's my_which() is broken and Staale Smedseng2009-05-251-1/+1
| | | | | | | | | | | doesn't find 'logger' Due to a variable quoting mistake, the $PATH environment variable isn't parsed correctly when searching for the existence of the desired executable(s) (logger in this case). This patch removes the quotes.
* mysqld_safe could generate filenames with spaces and then didn't properlyJim Winstead2009-05-071-8/+8
| | | | | quote them in later use. (Bug #33685, based on a patch by Hartmut Holzgraefe)
* Fix several quoting problems, and clean up IFS on failure in my_which().Chad MILLER2009-03-161-8/+12
|
* Bug#39326: mysqld_safe doesn't use --basedir value in search of \Chad MILLER2009-03-161-7/+21
| | | | | | | | my_print_defaults Now use basedir to set an unset ledir and to find the location of my_print_defaults .
* Bug #32679: mysqld_safe looks for errmsg.sys in wrong pathunknown2007-12-031-3/+12
| | | | | | | | | | | | | | | | | | The fix for bug 28544 moved our package data from ./share/mysql to ./share. mysqld_safe had the old directory hard-coded. The fix is to use the @pkgdatadir@ and @prefix@ values, to adapt to different ways of building the package. scripts/make_binary_distribution.sh: Document that our build system explicitly overrides the @pkgfoo@ (e.g., pkgdatadir, pkglibdir, etc.) variables when 'make' is called. scripts/mysqld_safe.sh: Replace hard-coded "./share/mysql" with something like echo @pkgdatadir@ | sed -e s/^@prefix@//. Since the fix for bug 28544, this has been broken for mysql 5.1+, where the package data dir is "./share" instead of "./share/mysql".
* Merge zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maintunknown2007-10-081-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint mysql-test/lib/mtr_report.pl: Auto merged mysql-test/mysql-test-run-shell.sh: Auto merged netware/mysql_test_run.c: Auto merged sql/mysqld.cc: Auto merged storage/ndb/include/ndbapi/Ndb.hpp: Auto merged scripts/mysqld_safe.sh: Manual merge.
| * Change URLs.unknown2007-10-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our web server has been restructured several times, and references to it in our source code has stayed the same. This patch from Paul DuBois updates all URLs to modern semantics. debian/po/ca.po: Change URLs. debian/po/cs.po: Change URLs. debian/po/da.po: Change URLs. debian/po/gl.po: Change URLs. debian/po/ja.po: Change URLs. debian/po/pt_BR.po: Change URLs. debian/po/sv.po: Change URLs. debian/po/tr.po: Change URLs. mysql-test/lib/mtr_report.pl: Change URLs. mysql-test/mysql-test-run-shell.sh: Change URLs. ndb/include/ndbapi/Ndb.hpp: Change URLs. netware/mysql_test_run.c: Change URLs. scripts/mysqld_safe.sh: Change URLs. sql/mysqld.cc: Change URLs.
| * Merge qualinost.(none):/home/mtaylor/src/mysql-4.1-maintunknown2006-12-141-0/+1
| |\ | | | | | | | | | | | | | | | | | | | | | into qualinost.(none):/home/mtaylor/src/mysql-5.0-maint scripts/mysqld_safe.sh: Auto merged
* | | Finish up last syslog -> want_syslog change missed in r1.91,unknown2007-08-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | fixing bug#30624 scripts/mysqld_safe.sh: Fix last syslog -> want_syslog.
* | | mysqld_safe.sh:unknown2007-07-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Post-review fix, if 'logger' can't be found, and --syslog is requested, exit with error message instead of fall back to logging to error file. scripts/mysqld_safe.sh: Post-review fix, if 'logger' can't be found, and --syslog is requested, exit with error message instead of fall back to logging to error file.
* | | Bug #29992: syslog error logging does not flushunknown2007-07-271-25/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't use syslog by default; user will have to request it explicitly with the --syslog option. Use "sed -u" to get unbuffered output from sed, if it's supported. Otherwise, don't use sed at all - don't strip the timestamp from mysqld messages. Also, add new --syslog-tag=FOO option, which adds "-FOO" to the tag used when logging messages to syslog (i.e., mysqld-FOO or mysqld_safe-FOO) Also, explicitly mention where log messages are going, so user can more easily find them. Also, check if 'logger' is in the PATH, and log to the error log file if it can't be found.
* | | Bug #29634: mysqld_safe does not set err_log variable, error log file is not ↵unknown2007-07-091-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | created Dont touch & chmod the err_log file if using syslog (mysqld_safe) scripts/mysqld_safe.sh: Dont touch & chmod the err_log file if using syslog
* | | mysqld_safe.sh:unknown2007-07-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Fix a few typos in comments (from Paul DuBois) scripts/mysqld_safe.sh: Fix a few typos in comments (from Paul DuBois)
* | | Bug #4858: mysql_safe logs to syslog instead of stderrunknown2007-05-041-102/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysqld_safe.sh: Overhaul the logging design, to allow logging mysqld messages to syslog. Add --syslog and --skip-syslog arguments for mysqld_safe. scripts/mysqld_safe.sh: Overhaul the logging design, to allow logging mysqld messages to syslog. Add two new options: --syslog and --skip-syslog. --syslog is the default, unless --log-error is also specified. If --log-error is specified (for mysqld_safe, mysqld, server, etc. - any group which mysqld_safe checks for arguments), then syslog is turned off. This is because mysqld will get the --log-error argument and log to a file anyways, which will be confusing to the user. If the user requests both --syslog and --log-error, a warning is printed (to mysqld_safe's stderr and to syslog), and we then behave as if --skip-syslog had been specified. Also, logging messages have been normalized somewhat: mysqld_safe now always prefixes messages with '<TIMESTAMP> mysqld_safe '. All messages go to the the console (stdout or stderr, depending on if it's a notice or an error) and to (the error log OR syslog). Also, a few cleanups while I'm here.
* | | Merge qualinost.(none):/home/mtaylor/src/mysql-4.1-maintunknown2006-12-141-0/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | into qualinost.(none):/home/mtaylor/src/mysql-5.1-maint scripts/mysqld_safe.sh: Auto merged
| * | Change permissions on $mysql_unix_port_dir if we create it so that everyone ↵unknown2006-12-141-0/+1
| | | | | | | | | | | | can access it.
| * | mysqld_safe.sh:unknown2006-03-291-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added --help option, bug#16392 acinclude.m4: Use "$shrext_cmds" when testing if shared library exists, bug#16332 acinclude.m4: Use "$shrext_cmds" when testing if shared library exists, bug#16332 scripts/mysqld_safe.sh: Added --help option, bug#16392
* | | Merge rama.(none):/home/jimw/my/tmp_mergeunknown2006-07-281-4/+7
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into rama.(none):/home/jimw/my/mysql-5.1-clean client/mysql.cc: Auto merged client/mysqldump.c: Auto merged configure.in: Auto merged extra/yassl/include/openssl/ssl.h: Auto merged extra/yassl/include/yassl_int.hpp: Auto merged extra/yassl/src/ssl.cpp: Auto merged extra/yassl/src/template_instnt.cpp: Auto merged extra/yassl/src/yassl_imp.cpp: Auto merged extra/yassl/src/yassl_int.cpp: Auto merged include/mysql.h: Auto merged libmysql/libmysql.c: Auto merged libmysqld/embedded_priv.h: Auto merged BitKeeper/deleted/.del-mysql_explain_log.sh~5ddc62808e16bd57: Auto merged libmysqld/lib_sql.cc: Auto merged libmysqld/libmysqld.c: Auto merged mysql-test/r/date_formats.result: Auto merged mysql-test/r/func_str.result: Auto merged mysql-test/r/mysqldump-max.result: Auto merged mysql-test/r/ps.result: Auto merged mysql-test/t/date_formats.test: Auto merged mysql-test/t/ps.test: Auto merged scripts/mysqld_safe.sh: Auto merged sql/item_func.h: Auto merged sql/item_strfunc.cc: Auto merged sql/sql_acl.cc: Auto merged sql/sql_class.cc: Auto merged sql/sql_lex.cc: Auto merged sql-common/client.c: Auto merged sql/sql_prepare.cc: Auto merged sql/sql_string.h: Auto merged sql/table.cc: Auto merged sql/table.h: Auto merged sql/time.cc: Auto merged storage/myisam/mi_create.c: Auto merged storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp: Auto merged storage/ndb/src/mgmsrv/ConfigInfo.cpp: Auto merged tests/mysql_client_test.c: Auto merged BitKeeper/deleted/.del-have_case_sensitive_file_system.inc: Delete: mysql-test/include/have_case_sensitive_file_system.inc BitKeeper/deleted/.del-case_sensitive_file_system.require: Delete: mysql-test/r/case_sensitive_file_system.require mysql-test/lib/mtr_cases.pl: Resolve conflict mysql-test/mysql-test-run.pl: Resolve conflict mysql-test/r/mysqldump.result: Resolve conflict mysql-test/t/mysqldump.test: Resolve conflict sql/sql_parse.cc: Resolve conflict
| * | Fix for bug #17353.unknown2006-04-171-4/+7
| | | | | | | | | | | | | | | scripts/mysqld_safe.sh: Moved core file changing command outside of root-user only conditional
* | | Bug #6061 mysql-log-rotate script - error logging doesn't use new fileunknown2006-05-101-16/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix mysqld_safe so that it always passes correct --log-error argument to mysqld - A few other minor clean-ups to mysqld_safe scripts/mysqld_safe.sh: Bug #6061 mysql-log-rotate script - error logging doesn't use new file - Change mysqld_safe to pass --log-error to mysqld in all cases. The old behavior was to usually "swallow" the --log-error=file.name argument, which caused mysqld to write to stderr and not be able to flush the error log file. Ironically, passing --log-error (with no file name) seemed to work fine, because mysqld_safe didn't recognize it and passed it on to mysqld as an unknown option. - Ensure that the error log file matches what mysqld uses; in particular, add ".err" if given a --log-error argument with no extension, and add "$DATADIR" to the front of a relative path - Various other mysqld_safe clean-ups while there - quote arguments properly, remove some redundant code
* | | mysql-test-run.pl:unknown2006-03-021-7/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | Try find in order 'mysqld-nt', 'mysqld', 'mysqld-debug' and 'mysqld-max' mysqld_safe.sh: Don't try 'mysqld-max' before 'mysqld' if no server given, bug#17861 scripts/mysqld_safe.sh: Don't try 'mysqld-max' before 'mysqld' if no server given, bug#17861 mysql-test/mysql-test-run.pl: Try find in order 'mysqld-nt', 'mysqld', 'mysqld-debug' and 'mysqld-max'
* | Merge mysql.com:/home/jimw/my/mysql-4.1-cleanunknown2005-11-011-8/+11
|\ \ | |/ | | | | | | | | | | | | into mysql.com:/home/jimw/my/mysql-5.0-clean scripts/mysqld_safe.sh: Auto merged
| * Handle decision to use mysqld-max over mysqld within mysqld_safeunknown2005-10-311-8/+11
| | | | | | | | | | | | | | | | | | even when --ledir option is specified. (Bug #13774) scripts/mysqld_safe.sh: Figure out whether to use mysqld or mysqld-max after we have handled the command-line options and .cnf files.
* | Merge mysql.com:/home/jimw/my/mysql-4.1-cleanunknown2005-07-191-10/+28
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/jimw/my/mysql-5.0-clean extra/perror.c: Auto merged include/my_global.h: Auto merged mysql-test/r/ps_1general.result: Auto merged mysql-test/r/ps_2myisam.result: Auto merged mysql-test/r/ps_3innodb.result: Auto merged mysql-test/r/ps_4heap.result: Auto merged mysql-test/r/ps_5merge.result: Auto merged mysql-test/r/ps_6bdb.result: Auto merged mysql-test/r/ps_7ndb.result: Auto merged mysql-test/r/select.result: Auto merged ndb/src/mgmsrv/ConfigInfo.cpp: Auto merged ndb/src/mgmsrv/main.cpp: Auto merged sql/des_key_file.cc: Auto merged sql/field_conv.cc: Auto merged sql/item_func.cc: Auto merged sql/item_strfunc.cc: Auto merged sql/item_timefunc.cc: Auto merged sql/sql_prepare.cc: Auto merged sql/sql_select.cc: Auto merged tests/mysql_client_test.c: Auto merged mysql-test/t/select.test: Resolve conflicts scripts/mysqld_safe.sh: Resolve conflict sql/item.cc: Resolve conflict, don't return FIELD_TYPE_BLOB since VARCHAR can be longer in 5.0 than 4.1. sql/log_event.cc: Resolve conflict sql/mysql_priv.h: Resolve conflict sql/mysqld.cc: Remove incorrect fix (merge from 4.1) sql/sql_show.cc: Resolve conflict
| * Fix handling of datadir by mysqld_safe to support specifying aunknown2005-06-241-11/+29
| | | | | | | | | | | | | | | | | | | | | | different DATADIR via the command line or during ./configure and still starting up mysqld_safe via a relative path. (Bug #7249) scripts/mysqld_safe.sh: Decouple figuring out which BASEDIR and DATADIR to use so that the only DATADIR we'll try to use without first verifying that it exists is the compiled-in default.
* | scripts/mysqld_safe.shunknown2005-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only add --defaults-extra-file=$DATADIR/my.cnf if $DATADIR/my.cnf is readable. scripts/mysqld_safe.sh: Only add --defaults-extra-file=$DATADIR/my.cnf if $DATADIR/my.cnf is readable. Without this patch, running mysqld_safe gives: Could not open required defaults file: /opt/home/tim/m/50/m/data/my.cnf Fatal error in defaults handling. Program aborted Could not open required defaults file: /opt/home/tim/m/50/m/data/my.cnf Fatal error in defaults handling. Program aborted These errors are printed by my_print_defaults; mysqld also encounters the same problem and quits.
* | Automerge / manual check of the fixes for NPTL configuration (bug#2173, ↵unknown2005-04-261-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug#5871, and bug#9497). Post-merge fix will follow. BitKeeper/deleted/.del-acinclude.m4~f4ab416bac5003: Automerge / manual check. configure.in: Automerge / manual check. include/my_global.h: Automerge / manual check. myisam/Makefile.am: Automerge / manual check. scripts/Makefile.am: Automerge / manual check. scripts/mysqld_safe.sh: Automerge / manual check. support-files/Makefile.am: Automerge / manual check. tools/mysqlmanager.c: Automerge / manual check.
| * Step 1 of the switch to support configuration with NPTL:unknown2005-04-201-1/+1
| | | | | | | | | | | | | | Rename 'IS_LINUX' configuration variable to 'TARGET_LINUX'.
* | Merge query_cache testsunknown2005-03-111-0/+9
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Build-tools/Do-compile: Auto merged mysql-test/mysql-test-run.sh: Auto merged mysql-test/r/join_outer.result: Auto merged mysql-test/t/join_outer.test: Auto merged scripts/make_win_src_distribution.sh: Auto merged scripts/mysqld_safe.sh: Auto merged sql/item_cmpfunc.h: Auto merged sql/sql_table.cc: Auto merged mysql-test/r/query_cache.result: Update results mysql-test/t/query_cache.test: Merge test
| * Create directory for UNIX socket in mysqld_safe if it doesn't already exist.unknown2005-03-021-0/+9
| | | | | | | | | | | | | | | | (Bug #8513) scripts/mysqld_safe.sh: Create directory for UNIX socket if it doesn't exist
* | Fixed a compatibility problem.unknown2005-02-231-5/+18
| | | | | | | | | | | | | | | | | | | | 1) If my.cnf is found in datadir and basedir, give a warning and use the one in basedir. 2) If my.cnf is found in datadir, use it, but give a warning. 3) No warning if my.cnf is in basedir.
* | Add --help to mysqld_safe. (Bug #7931)unknown2005-02-021-0/+26
| | | | | | | | | | scripts/mysqld_safe.sh: Add --help switch
* | Merge mysql.com:/home/jwinstead2/mysql-4.1-cleanunknown2005-01-061-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/jwinstead2/mysql-5.0 client/mysqladmin.cc: Auto merged client/mysqldump.c: Auto merged include/my_pthread.h: Auto merged scripts/mysqld_safe.sh: Auto merged
| * Change mysqld_safe search for mysqld relative to the current working directoryunknown2005-01-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to only look for the mysqld binary (and english error strings) and assume the datadir from that. Then, if that datadir turns out to not exist, startup will fail. This avoids the behavior where mysqld_safe would go off and run a totally different binary because the data directory had been moved (even when --datadir was specified on the command line). (Bug #7249) scripts/mysqld_safe.sh: Don't actually verify that datadir exists when using relatively-located mysqld -- just assume that it does and either let it fail when it doesn't, or do the right thing when datadir is then set via the command line or my.cnf file.
* | mergedunknown2005-01-061-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BitKeeper/etc/ignore: auto-union include/my_pthread.h: Auto merged innobase/os/os0file.c: Auto merged scripts/mysqld_safe.sh: Auto merged sql/set_var.cc: Auto merged sql/sql_parse.cc: Auto merged sql-common/client.c: merged manually
| * Use 'ps xaww' in mysqld_safe (on Linux) so whole command-line is searchedunknown2005-01-041-2/+2
| | | | | | | | | | | | | | | | for port and/or pid-file parameters. (Bug #5878) scripts/mysqld_safe.sh: Change 'ps xa' to 'ps xaww' so whole command-line is examined
* | Added checking for my.cnf file from environment variable MYSQL_HOMEunknown2005-01-041-5/+10
|/ | | | | | | | | | | | | | | | | | | | | instead of DATADIR. include/config-win.h: Added checks for environment variable MYSQL_HOME libmysql/Makefile.shared: Added checks for environment variable MYSQL_HOME mysys/Makefile.am: Added checks for environment variable MYSQL_HOME mysys/default.c: Removed checks for my.cnf file in datadir, instead added checking if my.cnf exists in environment variable MYSQL_HOME scripts/mysqld_multi.sh: Added checks for my.cnf file in environment variable MYSQL_HOME, if exists. scripts/mysqld_safe.sh: Added checks for my.cnf file in environment variable MYSQL_HOME, if exists.
* mysqld_safe.sh:unknown2004-11-301-2/+2
| | | | | | | | | | Fix calls to my_print_defaults. Some how, --loose-verbose had been added before --no-defaults/defaults-file, which must be the first option. NOTE: this may make some installations behave differently, if they depend on this broken behavior. scripts/mysqld_safe.sh: Fix calls to my_print_defaults. Some how, --loose-verbose had been added before --no-defaults/defaults-file, which must be the first option. NOTE: this may make some installations behave differently, if they depend on this broken behavior.
* Portability fixes to mysqld_safe for non-Linux systems. Fix FIND_PROCunknown2004-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | for Solaris test, and fix if @IS_LINUX@ test in mysqld_safe itself. configure.in: Portability fix for FIND_PROC setting; on Solaris (and probably others), 'ps -p $$' inside a shell script just returns 'sh' for command line, even though $0 contains the filename. So, use 'ps -fp $$' in the test (it shows the full command line, e.g., 'sh configure'). Leave the actual FIND_PROC command as-is, since mysqld itself is not a shell script. scripts/mysqld_safe.sh: Portability fix for mysqld_safe on non-Linux systems. A bogus use of 'if' and 'test' caused non-bash shells to enter a section meant to be run only on Linux systems. BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
* better fix for bug#5001unknown2004-09-071-23/+14
|
* mysqld_safe.sh:unknown2004-08-311-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | bug #5001, added conditional if to test if port set, then only kill the processes for this port, not all processes (in the case of this bug where multiple servers are killed.) The change to the 'grep' to make sure mysqld_safe isn't killed was per Serg's discovery that mysqld_safe would get killed. In my testing, in killing one of the pids for a running server, the "if test ! -f $pid_file" was the case that evaluated as true, so in order to test, I had to comment that block out. scripts/mysqld_safe.sh: bug #5001, added conditional if to test if port set, then only kill the processes for this port, not all processes (in the case of this bug where multiple servers are killed.) The change to the 'grep' to make sure mysqld_safe isn't killed was per Serg's discovery that mysqld_safe would get killed. In my testing, in killing one of the pids for a running server, the "if test ! -f $pid_file" was the case that evaluated as true, so in order to test, I had to comment that block out.
* warn about multiple mysqld --user parameters only if their arguments differunknown2004-06-101-7/+1
| | | | | | | scripts/mysqld_safe.sh: don't protect mysqld from multiple --user commands - mysqld can take care of itself sql/mysqld.cc: warn about multiple --user parameters only if their arguments differ
* Fixed http address in some scripts (Bug #3460)unknown2004-04-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Output TIMESTAMP in 4.1 format for 4.1 tables (or for TIMESTAMP(19)) (portability fix) Fixed that INTERVAL can handle big integers. (Bug #3498) Fixed that hostname="" works identical as hostname="%" for table/column grants (Bug #3473) mysql-test/mysql-test-run.sh: Fixed wrong http address (Bug #3460) mysql-test/r/func_time.result: Results for new test cases mysql-test/t/func_time.test: Added test of INTERVAL with big integers scripts/mysqld_safe.sh: Added html address to manual in case of error sql/field.cc: Output TIMESTAMP in 4.1 format for 4.1 tables (or for TIMESTAMP(19)) sql/item_timefunc.cc: Fixed that INTERVAL can handle big integers. (Bug #3498) sql/mysql_priv.h: Removed not needed prototype sql/sql_acl.cc: Fixed that hostname="" works identical as hostname="%" for table/column grants (Bug #3473) Moved GRANT_TABLE::GRANT_TABLE functions ou from class definition to make it possible to debug them sql/structs.h: Fix for long values to INTERVAL
* - fixed early removing of socket file when multiple instances of mysqld areunknown2004-01-151-1/+1
| | | | | | | | | | | started via mysqld_safe (BUG#2114) Thanks to Rodrigo Marchant for the suggestion scripts/mysqld_safe.sh: - fixed early removing of socket file when multiple instances of mysqld are started via the script (BUG#2114) Thanks to Rodrigo Marchant for the suggestion
* do not put --user into command line if the value comes from [mysqld] or ↵unknown2003-12-191-3/+9
| | | | | | | | | [server] sections Bug #2163
* make mysqld to respect socket/port options of mysqld_safe command lineunknown2003-09-271-9/+13
| | | | | | | | and [mysqld_safe] section in my.cnf, even if they are also specified in [mysql] section.
* Added a warning to my_print_defaults if --verbose is givenunknown2003-08-271-1/+1
| | | | | | | | | | | | and --defaults-file is a non-existing or non-regular file. Bug#755 scripts/mysqld_safe.sh: Added a warning to my_print_defaults if --verbose is given and --defaults-file is a non-existing or non-regular file. Bug#755
* - removed options sort_buffer and key_buffer from calls to (my)isamchkunknown2003-07-151-4/+8
| | | | | | | | | in mysqld_safe (commented out by default), to not override any options defined in my.cnf (thanks to Axel Schwenke from Jobpilot.de for the suggestion)
* Added option --skip-kill-mysqld to mysqld_safe. This can be useful,unknown2003-06-141-1/+7
| | | | | | | | | if one is running many mysqlds through mysqld_multi, for example. Without this option, on Linux one mysqld_safe process may kill other mysqlds as well, if started using the same binary and path.