Usually, that's done in the /etc/my.cnf file. Is
it not working there?
My my.cnf file has a client ([client]) and server ([mysqld]) section.
My server section (the non-commented part) looks like:
[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
The client section looks the same (since I like the defaults to work the same
when connecting via the command-line client):
[client]
[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
There were a few packages I had that didn't come with an /etc/my.cnf file but
still read from one if it was there.
N.
On Mon, 7 Aug 2006 19:47:54 +0700, Andrey Kouprianov wrote
Hi,
I know it's the wrong list and I dont even expect anyone to answer.
Anyway... Does anyone know how to specify different listening TCP
port and socket name when installing mysql server from FreeBSD ports?
Andrey.
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers