Re: The mysql.server script , simple question

2005-01-13 Thread Gleb Paharenko
ql.com/doc/mysql/en/Automatic_start.html Chris <[EMAIL PROTECTED]> wrote: > I've got a question the mysql.server script (came with 4.0.12 and 4.1.8 > at with the Linux binary distribution) . My shell scripting knowledge is > not even good enough to be called '

The mysql.server script , simple question

2005-01-12 Thread Chris
I've got a question the mysql.server script (came with 4.0.12 and 4.1.8 at with the Linux binary distribution) . My shell scripting knowledge is not even good enough to be called 'limited', but here goes: I'm trying to use mysql.server (Redhat 9) to start MySQL in a non-st

Re: where is mysql.server???

2003-12-21 Thread Michael Stassen
landon kelsey wrote: landon (root) /usr [632]>find / -name mysql.server -print find: /proc/1437/fd: No such file or directory If I recall correctly, you are working on Redhat Linux. From the manual, "...if you use the Linux RPM package (MySQL-server-VERSION.rpm), the mysql.serve

Re: where is mysql.server???

2003-12-21 Thread Colleen Dick
try find / -name mysqld landon kelsey wrote: landon (root) /usr [632]>find / -name mysql.server -print find: /proc/1437/fd: No such file or directory _ Working moms: Find helpful tips here on managing kids, home, work ?

where is mysql.server???

2003-12-21 Thread landon kelsey
landon (root) /usr [632]>find / -name mysql.server -print find: /proc/1437/fd: No such file or directory _ Working moms: Find helpful tips here on managing kids, home, work — and yourself. http://special.msn.com/ms

New mysql.server Script for RedHat

2003-09-14 Thread Joseph D. Wagner
This version makes the startup and shutdown of MySQL Server on RedHat systems look prettier. Perhaps the development team would consider using it? 8-D It is in unified patch format. Joseph Wagner -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:

./support-files/mysql.server bug

2003-02-12 Thread Greg_Cope
Hi All, Downloaded mysql-standard-4mysql-standard-4.0.10-gamma-sun-solaris2.8-sparc.tar.gz. If this is NOT installed in /usr/local/mysql and you try and start it using support-files/mysql.server it fails with error: $ ./support-files/mysql.server start ./support-files/mysql.server: /usr/local

mysql doesn't start with ./support-files/mysql.server script

2002-10-28 Thread nikom
Description: 1. I am running RedHat 7.2 with mysql-3.23.53a 2. If I go to mysql directory as a root and try to start mysql over there using ./support-files/mysql.server script it produces the error: cd /usr/local/mysql [root@jnikom mysql]# ./support-files/mysql.server ./support-files

mysql.server Mods for Multiple Instances/Users

2002-10-09 Thread Anthony W. Marino
What are the issues if I were to remove the following snippets from "mysql.server" on a RH 7.2 system running multiple instances of MySQL under multiple users?: # Make lock for RedHat / SuSE if test -w /var/lock/subsys then touch /var/lock/subsys/mysq

Re: mysql.server script does not honor datadir settings

2002-06-10 Thread Egor Egorov
tlack, Saturday, June 08, 2002, 2:19:39 AM, you wrote: >Description: t> Change datadir in /etc/my.cnf or elsewhere. Start server (i.e., t> /usr/local/share/mysql/mysql.server start) and then try to stop it t> (/usr/local/share/mysql/mysql.server stop) All worked fine for me. &g

mysql.server script does not honor datadir settings

2002-06-07 Thread tlack
>Description: Change datadir in /etc/my.cnf or elsewhere. Start server (i.e., /usr/local/share/mysql/mysql.server start) and then try to stop it (/usr/local/share/mysql/mysql.server stop) >How-To-Repeat: # joe /etc/my.cnf Change some settings, especially datadir # /usr/local/share

Re: can't start mysql.server

2002-06-04 Thread David BORDAS
Have a look to mysql error log located in /usr/local/mysql/data David - Original Message - From: "Paul" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 04, 2002 12:15 PM Subject: can't start mysql.server > hi, > my machine is compaq

can't start mysql.server

2002-06-04 Thread Paul
hi, my machine is compaq alphastation DS20E, and the mysql verision is mysql-3.23.49-dec-osf5.1-alphaev6(binary package) after executed scripts/mysql_install_db, I copy the mysql.server from /usr/local/mysql/support-files to /usr/local/mysql/bin, then executed mysql.server start and some error

Error in mysql.server?

2002-04-18 Thread Elaine Seery
Hi, I'm about to try out mysql.server to automatically start/stop mysql, but am wondering if there might be a mistake in the instructions which say: # Usually this is put in /etc/init.d (at least on machines SYSV R4 based # systems) and linked to /etc/rc3.d/S99mysql and /etc/rc0.d/S01

Re: share/mysql/mysql.server start does somthing but also shuts down mysql.

2002-04-11 Thread Egor Egorov
Chris, Thursday, April 11, 2002, 8:22:40 AM, you wrote: CT> the command (run from my mysql basedir) "share/mysql/mysql.server start" CT> gives me this message CT> - CT> Starting mysqld daemon with databases from /usr/local/ CT> mysql/var CT> 020411 17:25:51 mys

share/mysql/mysql.server start does somthing but also shuts down mysql.

2002-04-10 Thread Chris Targett
the command (run from my mysql basedir) "share/mysql/mysql.server start" gives me this message - Starting mysqld daemon with databases from /usr/local/ mysql/var 020411 17:25:51 mysqld ended Thats it. MySql wont start, I cant connect to MySQL. Any He

Re: mysql.server

2002-03-26 Thread Gerald Clark
All init.d daemons take one of two options. These are "start" and "stop". Init supplies the correct option when changiing run levels. Where the daemon resides varies among versions of UNIX/Linux. [EMAIL PROTECTED] wrote: >>Description: >> >regarding my

mysql.server

2002-03-25 Thread mlim
>Description: regarding mysql.server daemon >How-To-Repeat: I can't seem to find the mysql_daemon_user syntax, per your installation direction via the web >Fix: None >Submitter-Id: >Originator:Super-User >Organization: >MySQL support: [none | licence | emai

mysql.server is not found

2001-08-25 Thread Anhthuy Hoang
Hi, I was trying to install mysql on Linux Redhat 7.1, after following all the steps on the website, I tried to start mysql server using the mysql.server start command, and I got this error message saying that mysql.server is not found evern though it's under support-files folder and I

Re: [mysql.server stop fails under OpenBSD 2.9]

2001-07-23 Thread Walter Lee Davis
TED]> > To: "Sinisa Milivojevic" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]>; "mysql" <[EMAIL PROTECTED]> > Sent: Monday, July 23, 2001 5:07 PM > Subject: Re: [mysql.server stop fails under OpenBSD 2.9] > > >> I tried it, and mysql

Re: [mysql.server stop fails under OpenBSD 2.9]

2001-07-23 Thread Stefan Hinz
: +49-30-46307-388 - Original Message - From: "Walter Lee Davis" <[EMAIL PROTECTED]> To: "Sinisa Milivojevic" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; "mysql" <[EMAIL PROTECTED]> Sent: Monday, July 23, 2001 5:07 PM Subject: Re: [mys

Re: [mysql.server stop fails under OpenBSD 2.9]

2001-07-23 Thread Walter Lee Davis
I tried it, and mysqladmin just sits there and never returns the prompt. Looking at it from another ssh session, I see that mysqladmin and safe_mysqld and mysql are all still active. Perhaps admin is killing and safe is restarting just as fast. Mysqladmin did not respond to Control-C, nor did it l

Re: [mysql.server stop fails under OpenBSD 2.9]

2001-07-23 Thread Sinisa Milivojevic
Walter Lee Davis writes: > Could this be related to the problems which cause mysql to be almost > un-killable on MacOS X? I have tried to use mysqladmin to stop the server, > but the only thing that will do it is 'kill -9', and if I had started it > with safe_mysqld, then it comes bouncing right b

AW: [mysql.server stop fails under OpenBSD 2.9]

2001-07-23 Thread Stephan Skusa
AIL PROTECTED] > Cc: [EMAIL PROTECTED] > Betreff: Re: [mysql.server stop fails under OpenBSD 2.9] > > > [EMAIL PROTECTED] writes: > > >Description: > > mysql.server stop fails to stop the server even though > > mysql.server start was used to start it

Re: [mysql.server stop fails under OpenBSD 2.9]

2001-07-23 Thread Walter Lee Davis
x27;t even find safe_mysqld in the process list in order to kill it first. This is 3.23.40. Walter On 7/23/01 6:42 AM, "Sinisa Milivojevic" <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] writes: >>> Description: >> mysql.server stop fails to stop the server even though &g

Re: [mysql.server stop fails under OpenBSD 2.9]

2001-07-23 Thread Sinisa Milivojevic
[EMAIL PROTECTED] writes: > >Description: > mysql.server stop fails to stop the server even though > mysql.server start was used to start it. > > The INSTALL-SOURCE text file recommends using the script > support-files/mysql.server to sta

[mysql.server stop fails under OpenBSD 2.9]

2001-07-22 Thread fredrik . viklund
>Description: mysql.server stop fails to stop the server even though mysql.server start was used to start it. The INSTALL-SOURCE text file recommends using the script support-files/mysql.server to start mySQL at boot-time. The startup works nice,

binary distribution mysql.server hassles (minor)

2001-06-08 Thread Jonathan Roy
27;d think mysql.server from the binary dist would know that. :) Next, if you don't set basedir in mysql.server manually, this code: if test -z "$basedir" then basedir=/usr/local/mysql bindir=./bin else bindir="$basedir/bin" fi will be unable to find my_print_defaul

mysql.server uses fully-qualified hostname, but mysqld doesn't

2001-05-02 Thread dave
>Description: My pidfile name is ldap1.pid However, I get the following error: root@ldap1# sh /usr/local/share/mysql/mysql.server stop No mysqld pid file found. Looked for /var/db/mysql/ldap1.netcarrier.net.pid. My "hostname" returns "ld

[Error during auto start mysql.server]

2001-02-28 Thread roland . mjp
>Description: When the shell script "mysql.server" is launched and/or stoped, I receave an error message "mysql.server: @HOSTNAME@: command not found" and the variable "pid_file" is not initialised >How-To-Repeat: Evry time w

Re: mysql.server ignoring my.cnf?

2001-02-27 Thread Joel Gwynn
I'm using /etc/init.d/mysql.server > > to start up and shut down mysql server. My configuration file is > > /etc/mysql/my.cnf. In that file, I've set my socket as follows: > > > > socket = /var/run/mysqld/mysqld.sock > > > > When mysql starts, it

Re: mysql.server ignoring my.cnf?

2001-02-27 Thread Sinisa Milivojevic
Joel Gwynn writes: > I'm running mysql 3.23.33 on debian. I'm using /etc/init.d/mysql.server > to start up and shut down mysql server. My configuration file is > /etc/mysql/my.cnf. In that file, I've set my socket as follows: > > socket = /var/run/

Re: mysql.server ignoring my.cnf?

2001-02-26 Thread Kent Hoover
Joel: I'll take another shot. Do you have spaces in your command? Remove them. Change : socket = /var/run/mysqld/mysqld.sock To: socket=/var/run/mysqld/mysqld.sock Cheers, Kent - Before posting, please chec

Re: mysql.server ignoring my.cnf?

2001-02-26 Thread Joel Gwynn
While that is definitely the kind of pinheaded mistake that I'm used to making, that's not what's happening. I just looked at the file again and mysql.server is also ignoring things like the pid file and the log file :( thanks anyway At 12:51 PM 2/26/01 -0800, you wrote: > &

Re: mysql.server ignoring my.cnf?

2001-02-26 Thread Kyle Hayes
make sure that you set the sock parameter in both the [client] and [mysqld] sections of the configuration file. This is one of my favorite errors :-/ Best, Kyle On Monday 26 February 2001 12:04, Joel Gwynn wrote: > I tried /etc/my.cnf and got the same results. As far as $DATADIR or $HOME > a

Re: mysql.server ignoring my.cnf?

2001-02-26 Thread Joel Gwynn
I tried /etc/my.cnf and got the same results. As far as $DATADIR or $HOME are concerned, I don't see them when I do 'printenv'. Is there another way to find out if those may be set, and by what? thanks. At 02:33 PM 2/26/01 -0500, Kent Hoover wrote: >Sorry. Sent the last message before I was do

mysql.server ignoring my.cnf?

2001-02-26 Thread Kent Hoover
Sorry. Sent the last message before I was done If you have a stray $DATADIR/my.cnf or a $HOME/.my.cnf, their contents will override what you have set in /etc/my.cnf. Cheers, Kent - Before posting, please check: http://

mysql.server ignoring my.cnf?

2001-02-26 Thread Kent Hoover
Tried /etc/my.cnf in place of /etc/mysql/my.cnf ? Cheers, Kent - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread,

mysql.server ignoring my.cnf?

2001-02-26 Thread Joel Gwynn
I'm running mysql 3.23.33 on debian. I'm using /etc/init.d/mysql.server to start up and shut down mysql server. My configuration file is /etc/mysql/my.cnf. In that file, I've set my socket as follows: socket = /var/run/mysqld/mysqld.sock When mysql starts, it seems

mysql.server ignoring my.cnf?

2001-02-26 Thread Joel Gwynn
I'm running mysql 3.23.33 on debian. I'm using /etc/init.d/mysql.server to start up and shut down mysql server. My configuration file is /etc/mysql/my.cnf. In that file, I've set my socket as follows: socket = /var/run/mysqld/mysqld.sock When mysql starts, it seems

Re: mysql.server script

2001-02-01 Thread Gerald L. Clark
rom a binary release that I have created, I have > to modify safe_mysqld so that it can be called from mysql.server. > > This is because safe_mysqld checks to see if it knows what is going on > before checking the command line args to see where things should be. > Shouldn't this be

Re: mysql.server script

2001-02-01 Thread Jeremy D. Zawodny
On Thu, Feb 01, 2001 at 02:12:03PM +1300, Quentin Bennett wrote: > Hi, > > Each time I install mysql from a binary release that I have created, > I have to modify safe_mysqld so that it can be called from > mysql.server. > > This is because safe_mysqld checks to see if i

mysql.server script

2001-01-31 Thread Quentin Bennett
Hi, Each time I install mysql from a binary release that I have created, I have to modify safe_mysqld so that it can be called from mysql.server. This is because safe_mysqld checks to see if it knows what is going on before checking the command line args to see where things should be. Shouldn&#

Patch to add restart to mysql.server rc start script

2001-01-25 Thread Greg Cope
Dear All Here is a quick / obvious hack to supportfiles/mysql.server.sh to add restart command. I added this as I sometimes do a hard restart, and thought it may be of use to others. Can this be patched to the one in the source by someone with CVS rights - it should not break anything ;-) Gre