Discussion:
STOPPING SERVER from pid file
(too old to reply)
grace
2007-06-09 02:23:35 UTC
Permalink
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
grace
2007-06-09 02:31:20 UTC
Permalink
Post by 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..
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-
Post by grace
linux-gnu-i686-glibc23/data/ directory...
grace
lark
2007-06-13 15:26:09 UTC
Permalink
Post by 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..
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.
grace
2007-06-14 03:22:26 UTC
Permalink
Post by lark
Post by 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..
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
/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

Loading...