Re: datadir and socket

2003-02-05 Thread Alex Shi
You are absolutely right! In the /usr/bin/safe_mysqld, there're two lines where "/var/lib/mysql..." is residing. To me this looks kind of rediculous (sorry for my stupid comment), why they have those configuration info hard-coded in the script? Since we already have my.cnf so the conf info was sup

Re: datadir and socket

2003-02-05 Thread Mark
- Original Message - From: "Alex Shi" <[EMAIL PROTECTED]> To: "Stefan Hinz, iConnect (Berlin)" <[EMAIL PROTECTED]>; "mysql group" <[EMAIL PROTECTED]> Sent: Monday, February 03, 2003 10:39 PM Subject: Re: datadir and socket > But sti

Re: datadir and socket

2003-02-04 Thread Stefan Hinz, iConnect \(Berlin\)
Heesestr. 6, 12169 Berlin (Germany) Tel: +49 30 7970948-0 Fax: +49 30 7970948-3 - Original Message - From: "Alex Shi" <[EMAIL PROTECTED]> To: "Stefan Hinz, iConnect (Berlin)" <[EMAIL PROTECTED]>; "mysql group" <[EMAIL PROTECTED]> Sent: Mon

RE: datadir and socket

2003-02-04 Thread Victor Pendleton
files. I hope this helps. -Original Message- From: Stefan Hinz, iConnect (Berlin) [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 6:38 AM To: Alex Shi; mysql group Subject: Re: datadir and socket Alex, > If I put a copy of my.cnf to would that be any help? Any what &

Re: datadir and socket

2003-02-04 Thread Alex Shi
z <[EMAIL PROTECTED]> > Geschäftsführer / CEO iConnect GmbH <http://iConnect.de> > Heesestr. 6, 12169 Berlin (Germany) > Tel: +49 30 7970948-0 Fax: +49 30 7970948-3 > > - Original Message - > From: "Alex Shi" <[EMAIL PROTECTED]> > T

Re: datadir and socket

2003-02-03 Thread Stefan Hinz, iConnect \(Berlin\)
<http://iConnect.de> Heesestr. 6, 12169 Berlin (Germany) Tel: +49 30 7970948-0 Fax: +49 30 7970948-3 - Original Message - From: "Alex Shi" <[EMAIL PROTECTED]> To: "Stefan Hinz, iConnect (Berlin)" <[EMAIL PROTECTED]>; "mysql group" <[

Re: datadir and socket

2003-02-03 Thread Alex Shi
> There are three my.cnf you should look for: > > 1) /etc/my.cnf = global options > 2) /my.cnf = server options, overriding global options > 3) /.my.cnf = user specific options, overriding server > options Thanks for your reply! The information does make sense. However, I searched the whole file s

Re: datadir and socket

2003-02-02 Thread Alex Shi
Thanks for your reply. but I did correctly set the mode and ownership. Alex > Basically the problem is only the ownership and it has to be owned by > mysql. The problem is indeed there, how to chown or chmod those data so > it can be owned by mysql. > > > JD > > >Alex Shi wrote: > > > > > >Hi,

Re: datadir and socket

2003-02-02 Thread Stefan Hinz, iConnect \(Berlin\)
Alex, > However, for local connections, say connections from a locally hosted > web site via PHP, or a command line connection issued from shell, it Remote connections are made through TCP/IP. That's why you get the sock error only for local connections. > will return following error message: >

Re: datadir and socket

2003-02-02 Thread JD
Basically the problem is only the ownership and it has to be owned by mysql. The problem is indeed there, how to chown or chmod those data so it can be owned by mysql. JD Alex Shi wrote: Hi, I have a MySQL 2.23.36 running on a Linux RH 7.1. Its database directory is /var/lib/mysql/. For so