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 '
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
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
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 ?
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
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:
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
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
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
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
>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
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
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
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
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
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
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
>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
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
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
: +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
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
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
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
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
[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
>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,
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
>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
>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
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
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/
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
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:
>
&
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
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
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://
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,
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
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
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
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
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
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
44 matches
Mail list logo