STOPPING SERVER from pid file

STOPPING SERVER from pid file

am 09.06.2007 04:23:35 von grace

dear everyone,
we installed a mysql vr standard-4.11.22a-pc on a machine with ubuntu
breezy badger as os..after the installation we are trying to start the
server by typing :bin/safe_mysqld...but it shows us a msg whch states
Starting mysqld daemon with databases from /usr/local/mysql-
standard-4.11.22a-pc-linux-gnu-i686-glibc23/data

followed by...

'STOPPING SERVER from pid file /usr/local/mysql-standard-4.11.22a-pc-
linux-gnu-i686-glibc23/data/linuxserver.pid
mysql ended'

i have used the chown command already (chown -R mysql data)...but it
still doesn't solved the problem..

to summarized :
all subfolders within the mysql directory->bin, lib, man, mysql-
test, etc, etc is owned by user root except for the DATA folder w/c is
owned by mysql user. All of these folders are owned by group mysql.
need your urgent help..tnx
grace

Re: STOPPING SERVER from pid file

am 09.06.2007 04:31:20 von grace

Ayon kay grace:
> dear everyone,
> we installed a mysql vr standard-4.11.22a-pc on a machine with ubuntu
> breezy badger as os..after the installation we are trying to start the
> server by typing :bin/safe_mysqld...but it shows us a msg whch states
> Starting mysqld daemon with databases from /usr/local/mysql-
> standard-4.11.22a-pc-linux-gnu-i686-glibc23/data
>
> followed by...
>
> 'STOPPING SERVER from pid file /usr/local/mysql-standard-4.11.22a-pc-
> linux-gnu-i686-glibc23/data/linuxserver.pid
> mysql ended'
>
> i have used the chown command already (chown -R mysql data)...but it
> still doesn't solved the problem..
>
> to summarized :
> all subfolders within the mysql directory->bin, lib, man, mysql-
> test, etc, etc is owned by user root except for the DATA folder w/c is
> owned by mysql user. All of these folders are owned by group mysql.
> need your urgent help..tnx
> grace

one more thing.. i couldn't find the linuxserver.pid on /usr/local/
mysql-standard-4.11.22a-pc-
> linux-gnu-i686-glibc23/data/ directory...
grace

Re: STOPPING SERVER from pid file

am 13.06.2007 17:26:09 von lark

grace wrote:
> dear everyone,
> we installed a mysql vr standard-4.11.22a-pc on a machine with ubuntu
> breezy badger as os..after the installation we are trying to start the
> server by typing :bin/safe_mysqld...but it shows us a msg whch states
> Starting mysqld daemon with databases from /usr/local/mysql-
> standard-4.11.22a-pc-linux-gnu-i686-glibc23/data
>
> followed by...
>
> 'STOPPING SERVER from pid file /usr/local/mysql-standard-4.11.22a-pc-
> linux-gnu-i686-glibc23/data/linuxserver.pid
> mysql ended'
>
> i have used the chown command already (chown -R mysql data)...but it
> still doesn't solved the problem..
>
> to summarized :
> all subfolders within the mysql directory->bin, lib, man, mysql-
> test, etc, etc is owned by user root except for the DATA folder w/c is
> owned by mysql user. All of these folders are owned by group mysql.
> need your urgent help..tnx
> grace
>
try starting the server like this:

/usr/local/mysql-stand....23/bin/safe_mysqld --user=mysql

run this command with a sudo or as su

also did you run mysqlinstall_db before runn the safe_mysqld program?

if not run it first and then run the safe_mysqld.

Re: STOPPING SERVER from pid file

am 14.06.2007 05:22:26 von grace

Ayon kay lark:
> grace wrote:
> > dear everyone,
> > we installed a mysql vr standard-4.11.22a-pc on a machine with ubuntu
> > breezy badger as os..after the installation we are trying to start the
> > server by typing :bin/safe_mysqld...but it shows us a msg whch states
> > Starting mysqld daemon with databases from /usr/local/mysql-
> > standard-4.11.22a-pc-linux-gnu-i686-glibc23/data
> >
> > followed by...
> >
> > 'STOPPING SERVER from pid file /usr/local/mysql-standard-4.11.22a-pc-
> > linux-gnu-i686-glibc23/data/linuxserver.pid
> > mysql ended'
> >
> > i have used the chown command already (chown -R mysql data)...but it
> > still doesn't solved the problem..
> >
> > to summarized :
> > all subfolders within the mysql directory->bin, lib, man, mysql-
> > test, etc, etc is owned by user root except for the DATA folder w/c is
> > owned by mysql user. All of these folders are owned by group mysql.
> > need your urgent help..tnx
> > grace
> >
> try starting the server like this:
>
> /usr/local/mysql-stand....23/bin/safe_mysqld --user=mysql
>
> run this command with a sudo or as su
>
> also did you run mysqlinstall_db before runn the safe_mysqld program?
>
> if not run it first and then run the safe_mysqld.

i checked the default database 'mysql' and found out that its
contents are missing.. so i tried your advice, running
mysql_install_db to install default databases... and now its
working...
tnx much