Re: Facing some problem in installation

2002-07-27 Thread Ralf Narozny



Manisha wrote:

 Hi,

 I am not a root. Our server is at ISP and I am trying to install mysql 
 on our shared server. They have provided one user id and password with 
 which I can access it. I also do not know whether mysql previously 
 exists or not as mysql.sock is existing. (how to find that ?)

 I checked the mysql.sock file permissions it is as follows:
 srwxrwxrwx 1 mysql wheel .mysql.sock


 and as it is a special file, I am unable to delete it.
 shell rm mysql.sock command gives - permission denied

 Actually I tried to vi mysql.sock - but ended with something else only

 now how to proceed ? What shall I check ?


Ah, oki, if you are not root, it is ok, just change the

socket= /var/run/mysqld/mysqld.sock
pid-file= /var/run/mysqld/mysqld.pid

to places where you got write permissions (in your my.cnf file).
I'm not very sure, but maybe you must recompile your source with a 
parameter that sets the config directory too (else it tries to look 
somewhere in /etc, where you surely got no permissions), maybe it is 
best to set --prefix=/usr/home/mysql which might be sufficient (it is, 
if after compiling there is a directory where my.cnf resides)

Greetings
 Ralf

sql query


-- 
Ralf Narozny
SPLENDID Internet GmbH  Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de




-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Facing some problem in installation

2002-07-26 Thread Manisha

Hi,

I am not a root. Our server is at ISP and I am trying to install mysql on 
our shared server. They have provided one user id and password with which I 
can access it. I also do not know whether mysql previously exists or not as 
mysql.sock is existing. (how to find that ?)

I checked the mysql.sock file permissions it is as follows:
srwxrwxrwx 1 mysql wheel .mysql.sock


and as it is a special file, I am unable to delete it.
shell rm mysql.sock command gives - permission denied

Actually I tried to vi mysql.sock - but ended with something else only

now how to proceed ? What shall I check ?

Thanks and regards
Manisha


At 11:22 AM 7/25/02 +0200, you wrote:
Hello!

Barnali wrote:

If you are NOT installing as root, you are trying to create mysql.sock in 
an area where
you don't have write permission.
what is the --prefix you supplied to ./configure ?

I'd say install as root, change owner and group of the mysql directories, 
remove /tmp/mysql.sock and start mysql as user mysql.

It is ALWAYS a bad idea to start databases as root user.

Greetings
Ralf


-Original Message-
From: Manisha [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 12:18 PM
To: [EMAIL PROTECTED]
Subject: Facing some problem in installation


I am trying to install the mySQL on our remote server thr putty (SSH).
Following are the set of commands given by me,

I have downloaded mysql-3.23 for BSDi.

1)put into /usr/home/mysql-src directory and given following 2 commands
going into
shellcd  /usr/home/mysql-src
shellgunzip mysql-.tar.gz
shelltar xvf mysql-.tar

This is creating the directory mysql-
2)Config -

shellcd  /usr/home/mysql-src/mysql-
shell./configure -basedir=/usr/home/mysql -with-low-memory

This command is giving me problem - saying - at the end
shellStarting mysqld daemon with database from
/usr/home/mysql-src/mysql-/data
rm /tmp/mysql.sock - Operation not permitted
mysqld end


Can anybody help me in this matter - What is the meaning of it ?

Thanks and regards
Manisha


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail
[EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail 
[EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



--
Ralf Narozny
SPLENDID Internet GmbH  Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de




-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Facing some problem in installation

2002-07-25 Thread Manisha

I am trying to install the mySQL on our remote server thr putty (SSH). 
Following are the set of commands given by me,

I have downloaded mysql-3.23 for BSDi.

1)put into /usr/home/mysql-src directory and given following 2 commands 
going into
shellcd  /usr/home/mysql-src
shellgunzip mysql-.tar.gz
shelltar xvf mysql-.tar

This is creating the directory mysql-
2)Config -

shellcd  /usr/home/mysql-src/mysql-
shell./configure -basedir=/usr/home/mysql -with-low-memory

This command is giving me problem - saying - at the end
shellStarting mysqld daemon with database from 
/usr/home/mysql-src/mysql-/data
rm /tmp/mysql.sock - Operation not permitted
mysqld end


Can anybody help me in this matter - What is the meaning of it ?

Thanks and regards
Manisha


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




RE: Facing some problem in installation

2002-07-25 Thread Barnali

If you are NOT installing as root, you are trying to create mysql.sock in an area where
you don't have write permission.
what is the --prefix you supplied to ./configure ?

-Original Message-
From: Manisha [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 12:18 PM
To: [EMAIL PROTECTED]
Subject: Facing some problem in installation


I am trying to install the mySQL on our remote server thr putty (SSH).
Following are the set of commands given by me,

I have downloaded mysql-3.23 for BSDi.

1)put into /usr/home/mysql-src directory and given following 2 commands
going into
shellcd  /usr/home/mysql-src
shellgunzip mysql-.tar.gz
shelltar xvf mysql-.tar

This is creating the directory mysql-
2)Config -

shellcd  /usr/home/mysql-src/mysql-
shell./configure -basedir=/usr/home/mysql -with-low-memory

This command is giving me problem - saying - at the end
shellStarting mysqld daemon with database from
/usr/home/mysql-src/mysql-/data
rm /tmp/mysql.sock - Operation not permitted
mysqld end


Can anybody help me in this matter - What is the meaning of it ?

Thanks and regards
Manisha


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail
[EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Facing some problem in installation

2002-07-25 Thread Ralf Narozny

Hello!

Barnali wrote:

If you are NOT installing as root, you are trying to create mysql.sock in an area 
where
you don't have write permission.
what is the --prefix you supplied to ./configure ?


I'd say install as root, change owner and group of the mysql 
directories, remove /tmp/mysql.sock and start mysql as user mysql.

It is ALWAYS a bad idea to start databases as root user.

Greetings
 Ralf


-Original Message-
From: Manisha [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 12:18 PM
To: [EMAIL PROTECTED]
Subject: Facing some problem in installation


I am trying to install the mySQL on our remote server thr putty (SSH).
Following are the set of commands given by me,

I have downloaded mysql-3.23 for BSDi.

1)put into /usr/home/mysql-src directory and given following 2 commands
going into
shellcd  /usr/home/mysql-src
shellgunzip mysql-.tar.gz
shelltar xvf mysql-.tar

This is creating the directory mysql-
2)Config -

shellcd  /usr/home/mysql-src/mysql-
shell./configure -basedir=/usr/home/mysql -with-low-memory

This command is giving me problem - saying - at the end
shellStarting mysqld daemon with database from
/usr/home/mysql-src/mysql-/data
rm /tmp/mysql.sock - Operation not permitted
mysqld end


Can anybody help me in this matter - What is the meaning of it ?

Thanks and regards
Manisha


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail
[EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

  


-- 
Ralf Narozny
SPLENDID Internet GmbH  Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de




-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php