View Single Post
  #2 (permalink)  
Old 10-06-2008, 19:07
eUKShane eUKShane is offline
Senior System Administrator
 
Join Date: Oct 2006
Posts: 153
Thumbs up Hey

Hey,

Yes, you can change MySQL Server default port using following procedure :

Go to /etc/my.cnf :

For example
Quote:
[client]
port=3306
socket=/tmp/mysql.sock

[mysqld]
port=3306
socket=/tmp/mysql.sock
key_buffer_size=16M
max_allowed_packet=8M

[mysqldump]
quick
and then replace 3306 by required port. Also you have to open new port in your firewall.

That's it !
__________________

Best Regards,
Sebastian
Senior System Administrator
http://www.eukhost.com/
Reply With Quote