cannot find my.cnf file

cannot find my.cnf file

am 12.11.2009 19:10:12 von Sydney Puente

Hello,=0AI want to log all sql queries made against a mysql db.=0AGoogled a=
nd found I should add a line to my.cnf. However I cannot find a my.cnf=
file=0A[root@radium init.d]# ps -ef | grep mysql=0Aroot 13614 1 0=
Sep24 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=3D/var/lib/=
mysql --pid-file=3D/var/lib/mysql/object01.pid=0Amysql 13669 13614 0 Se=
p24 ? 00:21:40 /usr/sbin/mysqld --basedir=3D/ --datadir=3D/var/lib/m=
ysql --user=3Dmysql --log-error=3D/var/lib/mysql/object01.err --pid-file=3D=
/var/lib/mysql/object01.pid=0Aroot 23050 22746 0 19:05 pts/0 00:00:=
00 grep mysql=0A[root@radium init.d]# locate cnf=0A/usr/share/doc/MySQL-ser=
ver-community-5.1.39/my-huge.cnf=0A/usr/share/doc/MySQL-serv er-community-5.=
1.39/my-innodb-heavy-4G.cnf=0A/usr/share/doc/MySQL-server-co mmunity-5.1.39/=
my-large.cnf=0A/usr/share/doc/MySQL-server-community-5.1.39/ my-medium.cnf=
=0A/usr/share/doc/MySQL-server-community-5.1.39/my-small.cnf =0A/usr/share/m=
an/man8/cnfsheadconf.8.gz=0A/usr/share/man/man8/cnfsstat.8.g z=0A/usr/share/=
ssl/openssl.cnf=0A/usr/share/mysql/my-large.cnf=0A/usr/share /mysql/my-huge.=
cnf=0A/usr/share/mysql/my-innodb-heavy-4G.cnf=0A/usr/share/m ysql/my-medium.=
cnf=0A/usr/share/mysql/my-small.cnf=0AAny ideas?=0AI might add i did not in=
stall mysql and I did not start it and the guy who did is in holiday! =
TIA Syd

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dgcdmg-mysql-2@m.gmane.o rg

Re: cannot find my.cnf file

am 12.11.2009 19:30:00 von John Daisley

should be in

/etc/my.cnf

or try the following at the command line

locate my.cnf

That should give you the location


On Thu, 2009-11-12 at 18:10 +0000, Sydney Puente wrote:
> Hello,
> I want to log all sql queries made against a mysql db.
> Googled and found I should add a line to my.cnf.
>
> However I cannot find a my.cnf file
> [root@radium init.d]# ps -ef | grep mysql
> root 13614 1 0 Sep24 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/object01.pid
> mysql 13669 13614 0 Sep24 ? 00:21:40 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --log-error=/var/lib/mysql/object01.err --pid-file=/var/lib/mysql/object01.pid
> root 23050 22746 0 19:05 pts/0 00:00:00 grep mysql
> [root@radium init.d]# locate cnf
> /usr/share/doc/MySQL-server-community-5.1.39/my-huge.cnf
> /usr/share/doc/MySQL-server-community-5.1.39/my-innodb-heavy -4G.cnf
> /usr/share/doc/MySQL-server-community-5.1.39/my-large.cnf
> /usr/share/doc/MySQL-server-community-5.1.39/my-medium.cnf
> /usr/share/doc/MySQL-server-community-5.1.39/my-small.cnf
> /usr/share/man/man8/cnfsheadconf.8.gz
> /usr/share/man/man8/cnfsstat.8.gz
> /usr/share/ssl/openssl.cnf
> /usr/share/mysql/my-large.cnf
> /usr/share/mysql/my-huge.cnf
> /usr/share/mysql/my-innodb-heavy-4G.cnf
> /usr/share/mysql/my-medium.cnf
> /usr/share/mysql/my-small.cnf
> Any ideas?
> I might add i did not install mysql and I did not start it and the guy who did is in holiday!
>
> TIA
>
> Syd
>
>
>
>
>


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql-2@m.gmane.org

RE: cannot find my.cnf file

am 12.11.2009 20:01:58 von Gavin Towey

Also note that mysql doesn't need a my.cnf file and will happily run with d=
efault values. It's possible that there is none and you'll have to create =
it.

To see where your mysqld is configured to check for the config file do:
mysql --verbose --help | grep -C3 my.cnf

This will give you a list of paths it checks in order.

Regards,
Gavin Towey

-----Original Message-----
From: John Daisley [mailto:john.daisley@butterflysystems.co.uk]
Sent: Thursday, November 12, 2009 10:30 AM
To: Sydney Puente
Cc: mysql@lists.mysql.com
Subject: Re: cannot find my.cnf file

should be in

/etc/my.cnf

or try the following at the command line

locate my.cnf

That should give you the location


On Thu, 2009-11-12 at 18:10 +0000, Sydney Puente wrote:
> Hello,
> I want to log all sql queries made against a mysql db.
> Googled and found I should add a line to my.cnf.
>
> However I cannot find a my.cnf file
> [root@radium init.d]# ps -ef | grep mysql
> root 13614 1 0 Sep24 ? 00:00:00 /bin/sh /usr/bin/mysqld_s=
afe --datadir=3D/var/lib/mysql --pid-file=3D/var/lib/mysql/object01.pid
> mysql 13669 13614 0 Sep24 ? 00:21:40 /usr/sbin/mysqld --basedi=
r=3D/ --datadir=3D/var/lib/mysql --user=3Dmysql --log-error=3D/var/lib/mysq=
l/object01.err --pid-file=3D/var/lib/mysql/object01.pid
> root 23050 22746 0 19:05 pts/0 00:00:00 grep mysql
> [root@radium init.d]# locate cnf
> /usr/share/doc/MySQL-server-community-5.1.39/my-huge.cnf
> /usr/share/doc/MySQL-server-community-5.1.39/my-innodb-heavy -4G.cnf
> /usr/share/doc/MySQL-server-community-5.1.39/my-large.cnf
> /usr/share/doc/MySQL-server-community-5.1.39/my-medium.cnf
> /usr/share/doc/MySQL-server-community-5.1.39/my-small.cnf
> /usr/share/man/man8/cnfsheadconf.8.gz
> /usr/share/man/man8/cnfsstat.8.gz
> /usr/share/ssl/openssl.cnf
> /usr/share/mysql/my-large.cnf
> /usr/share/mysql/my-huge.cnf
> /usr/share/mysql/my-innodb-heavy-4G.cnf
> /usr/share/mysql/my-medium.cnf
> /usr/share/mysql/my-small.cnf
> Any ideas?
> I might add i did not install mysql and I did not start it and the guy wh=
o did is in holiday!
>
> TIA
>
> Syd
>
>
>
>
>


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dgtowey@ffn.com


The information contained in this transmission may contain privileged and c=
onfidential information. It is intended only for the use of the person(s) n=
amed above. If you are not the intended recipient, you are hereby notified =
that any review, dissemination, distribution or duplication of this communi=
cation is strictly prohibited. If you are not the intended recipient, pleas=
e contact the sender by reply email and destroy all copies of the original =
message.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dgcdmg-mysql-2@m.gmane.o rg

Re: cannot find my.cnf file

am 13.11.2009 00:50:12 von OldBoy

WW91IG11c3QgY29weSAvdXNyL3NoYXJlL2RvYy9NeVNRTC1zZXJ2ZXItY29t bXVuaXR5LTUuMS4z
OS9teS1zb21lZmlsZS5jbmYNCmZpbGUgaW50byAvZXRjL215LmNuZg0KDQpJ ZiBubyAuY25mIGZp
bGUgaW4gL2V0Yw0KTXlTUUwgdXNlIGRlZmF1bHQgY29uZmlnLg0KDQppZiBz ZXJ2ZXIgaGFzIDJH
IFJBTSANCnRoZW4gdXNlIG15LWh1Z2UuY25mDQoNCkdvb2QgbHVjay4NCg0K LS0tLS0gT3JpZ2lu
YWwgTWVzc2FnZSAtLS0tLSANCkZyb206ICJTeWRuZXkgUHVlbnRlIiA8c3lk bmV5cHVlbnRlQHlh
aG9vLmNvbT4NClRvOiA8bXlzcWxAbGlzdHMubXlzcWwuY29tPg0KU2VudDog RnJpZGF5LCBOb3Zl
bWJlciAxMywgMjAwOSAzOjEwIEFNDQpTdWJqZWN0OiBjYW5ub3QgZmluZCBt eS5jbmYgZmlsZQ0K
DQoNCj4gSGVsbG8sDQo+IEkgd2FudCB0byBsb2cgYWxsIHNxbCBxdWVyaWVz IG1hZGUgYWdhaW5z
dCBhIG15c3FsIGRiLg0KPiBHb29nbGVkIGFuZCBmb3VuZCBJIHNob3VsZCBh ZGQgYSBsaW5lIHRv
IG15LmNuZi4NCj4gDQo+IEhvd2V2ZXIgSSBjYW5ub3QgZmluZCBhIG15LmNu ZiBmaWxlDQo+IFty
b290QHJhZGl1bSBpbml0LmRdIyBwcyAtZWYgfCBncmVwIG15c3FsDQo+IHJv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91c3Iv c2hhcmUvbWFuL21h
bjgvY25mc3N0YXQuOC5neg0KPiAvdXNyL3NoYXJlL3NzbC9vcGVuc3NsLmNu Zg0KPiAvdXNyL3No
YXJlL215c3FsL215LWxhcmdlLmNuZg0KPiAvdXNyL3NoYXJlL215c3FsL215 LWh1Z2UuY25mDQo+
IC91c3Ivc2hhcmUvbXlzcWwvbXktaW5ub2RiLWhlYXZ5LTRHLmNuZg0KPiAv dXNyL3NoYXJlL215
c3FsL215LW1lZGl1bS5jbmYNCj4gL3Vzci9zaGFyZS9teXNxbC9teS1zbWFs bC5jbmYNCj4gQW55
IGlkZWFzPw0KPiBJIG1pZ2h0IGFkZCBpIGRpZCBub3QgaW5zdGFsbCBteXNx bCBhbmQgSSBkaWQg
bm90IHN0YXJ0IGl0IGFuZCB0aGUgZ3V5IHdobyBkaWQgaXMgaW4gaG9saWRh eSENCj4gDQo+IFRJ
QQ0KPiANCj4gU3lkDQo+IA0KPiANCj4gDQo+ICAgICAgIA0KPiANCj4gLS0g DQo+IE15U1FMIEdl
bmVyYWwgTWFpbGluZyBMaXN0DQo+IEZvciBsaXN0IGFyY2hpdmVzOiBodHRw Oi8vbGlzdHMubXlz
cWwuY29tL215c3FsDQo+IFRvIHVuc3Vic2NyaWJlOiAgICBodHRwOi8vbGlz dHMubXlzcWwuY29t
L215c3FsP3Vuc3ViPW9sZGJveUBwb3NiYW5rLmNvLmtyDQo+IA0KPiA=

Re: cannot find my.cnf file

am 13.11.2009 09:44:26 von walter harms

Sydney Puente schrieb:
> Hello,
> I want to log all sql queries made against a mysql db.
> Googled and found I should add a line to my.cnf.
>
> However I cannot find a my.cnf file
> [root@radium init.d]# ps -ef | grep mysql
> root 13614 1 0 Sep24 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/object01.pid
> mysql 13669 13614 0 Sep24 ? 00:21:40 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --log-error=/var/lib/mysql/object01.err --pid-file=/var/lib/mysql/object01.pid
> root 23050 22746 0 19:05 pts/0 00:00:00 grep mysql
> [root@radium init.d]# locate cnf
> /usr/share/doc/MySQL-server-community-5.1.39/my-huge.cnf
> /usr/share/doc/MySQL-server-community-5.1.39/my-innodb-heavy -4G.cnf
> /usr/share/doc/MySQL-server-community-5.1.39/my-large.cnf
> /usr/share/doc/MySQL-server-community-5.1.39/my-medium.cnf
> /usr/share/doc/MySQL-server-community-5.1.39/my-small.cnf
> /usr/share/man/man8/cnfsheadconf.8.gz
> /usr/share/man/man8/cnfsstat.8.gz
> /usr/share/ssl/openssl.cnf
> /usr/share/mysql/my-large.cnf
> /usr/share/mysql/my-huge.cnf
> /usr/share/mysql/my-innodb-heavy-4G.cnf
> /usr/share/mysql/my-medium.cnf
> /usr/share/mysql/my-small.cnf
> Any ideas?
> I might add i did not install mysql and I did not start it and the guy who did is in holiday!
>

Systemwide config files are always in /etc/ (see: man hier).

re,
wh




--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql-2@m.gmane.org

RE: cannot find my.cnf file

am 13.11.2009 10:41:39 von cbrown

UGxlYXNlIGxvb2sgaW4gL2V0Yy9teS5jbmYgDQpJZiBub3QgZm91bmQgY3Jl YXRlIG9uZS4gT2Yg
Y2F1c2UsIE15U1FMIGNhbiBzdGFydCBhbmQgcnVuIHdpdGhvdXQgYSAnbXku Y25mJyBmaWxlIHRo
YXTigJlzIHdoeSB5b3UgY291bGRuJ3QgIGZpbmQgb25lLiAgSW4gdGhlIGFi c2VuY2Ugb2YgdGhl
IG15LmNuZiBmaWxlLCBNeVNRTCB3aWxsIHVzZSBkZWZhdWx0IGZvciBldmVy eSBwYXJhbWV0ZXIg
Lg0KDQpDaGFybGVzLA0KDQoNCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0t LS0NCkZyb206IHdh
bHRlciBoYXJtcyBbbWFpbHRvOndoYXJt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IGluIC9ldGMv
IChzZWU6IG1hbiBoaWVyKS4NCg0KcmUsDQogd2gNCg0KDQoNCg0KLS0gDQpN eVNRTCBHZW5lcmFs
IE1haWxpbmcgTGlzdA0KRm9yIGxpc3QgYXJjaGl2ZXM6IGh0dHA6Ly9saXN0 cy5teXNxbC5jb20v
bXlzcWwNClRvIHVuc3Vic2NyaWJlOiAgICBodHRwOi8vbGlzdHMubXlzcWwu Y29tL215c3FsP3Vu
c3ViPWNicm93bkBibWkuY29tDQoNCg0KKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioq
KioqKioqKioqKioNClRoaXMgbWVzc2FnZSBpcyBpbnRlbmRlZCBvbmx5IGZv ciB0aGUgdXNlIG9m
IHRoZSBBZGRyZXNzZWUgYW5kDQptYXkgY29udGFpbiBpbmZvcm1hdGlvbiB0 aGF0IGlzIFBSSVZJ
TEVHRUQgYW5kIENPTkZJREVOVElBTC4NCg0KSWYgeW91IGFyZSBub3QgdGhl IGludGVuZGVkIHJl
Y2lwaWVudCwgeW91IGFyZSBoZXJlYnkgbm90aWZpZWQNCnRoYXQgYW55IGRp c3NlbWluYXRpb24g
b2YgdGhpcyBjb21tdW5pY2F0aW9uIGlzIHN0cmljdGx5IHByb2hpYml0ZWQu DQoNCklmIHlvdSBo
YXZlIHJlY2VpdmVkIHRoaXMgY29tbXVuaWNhdGlvbiBpbiBlcnJvciwgcGxl YXNlIGVyYXNlDQph
bGwgY29waWVzIG9mIHRoZSBtZXNzYWdlIGFuZCBpdHMgYXR0YWNobWVudHMg YW5kIG5vdGlmeSB1
cw0KaW1tZWRpYXRlbHkuDQoNClRoYW5rIHlvdS4NCioqKioqKioqKioqKioq KioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqDQo=

Re: cannot find my.cnf file

am 13.11.2009 14:30:54 von Sydney Puente

Yes I enter the password manually into the remote mysql client (actually Or=
acle's SQL developer) when I login. I thought I would restart mysql wi=
th the /etc/init.d/mysql script and go back to the original "default" setti=
ngs without any my.cnf present. Just to check it was some setting in my.cnf=
that caused the log in problem. # ./mysql status=0AMySQL is running b=
ut PID file could not be found [FAILED]=0A# ./mysql stop=0AMySQL =
manager or server PID file could not be found! [FAILED] In fact =
I cannot find a pid file anywhere on the box.=0A# ps -ef | grep mysql=0Aroo=
t 6517 1 0 10:10 pts/0 00:00:00 /bin/sh /usr/bin/mysqld_safe -=
-datadir=3D/var/lib/mysql --pid-file=3D/var/lib/mysql/radium01.pid=0Amysql =
6623 6517 0 10:10 pts/0 00:00:24 /usr/sbin/mysqld --basedir=3D/ --=
datadir=3D/var/lib/mysql --user=3Dmysql --log-error=3D/var/lib/mysql/object=
01.err --pid-file=3D/var/lib/mysql/object01.pid --socket=3D/var/lib/mysql/m=
ysql.sock --port=3D3306=0A# locate pid | grep mysql=0A/usr/share/man/man1/m=
ysql_waitpid.1.gz=0A/usr/bin/mysql_waitpid I have no idea why a pid fi=
le would be missing! any ideas Syd =0A

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dgcdmg-mysql-2@m.gmane.o rg

RE: cannot find my.cnf file

am 13.11.2009 19:53:47 von Gavin Towey

RGlkIHlvdSByZW1vdmUgdGhlIG15LmNuZiBmaWxlIGFuZCB0aGVuIHJ1biAv ZXRjL2luaXQuZC9t
eXNxbCBzdG9wPyAgVGhlIG15LmNuZiBwcm9iYWJseSBoYWQgbm9uLWRlZmF1 bHQgcGF0aHMgZm9y
IHRoZSBwaWQgZmlsZSwgc28gaWYgeW91IHJlbW92ZSB0aGUgY29uZmlnIGZp bGUsIG5vdyB0aGUg
c3RhcnR1cCBzY3JpcHQgaXMgbG9va2luZyBpbiB0aGUgd3JvbmcgbG9jYXRp b24uDQoNCg0KQWxz
byBmb3IgeW91ciBwYXNzd29yZCBpc3N1ZSwgcGxlYXNlIHNob3cgdXNlIHRo ZSBleGFjdCBjb21t
YW5kIHlvdSdyZSB1c2luZyB0byB0cnkgdG8gbG9nIGluLCBhbmQ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