Firefox 16, a treat for developers http://t.co/cnd27CzT
how to change mysql port in Linux
Question:
How to change mysql port ?
Answer:
To change mysql port, open /etc/my.cnf file:
# vi /etc/my.cnf
Set new port 3563:
port=3563
make sure that port not used for other services. (/etc/services)
Restart mysqld
#service mysqld restart
check that port is listening
[root@test1 ~]# netstat -nat
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:37442 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3563 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 132 10.33.17.143:22 10.33.17.112:4295 ESTABLISHED
tcp 0 0 :::23 :::* LISTEN
tcp 0 0 ::1:631 :::* LISTEN
tcp 0 0 ::1:6010 :::* LISTEN
tcp 0 0 :::5900 :::* LISTEN
tcp 0 0 :::5901 :::* LISTEN
tcp 0 0 :::111 :::* LISTEN
tcp 0 0 :::6000 :::* LISTEN
tcp 0 0 :::4242 :::* LISTEN
tcp 0 0 ::ffff:127.0.0.1:4243 :::* LISTEN
tcp 0 0 :::5555 :::* LISTEN
tcp 0 0 ::1:53 :::* LISTEN
tcp 0 0 :::22 :::* LISTEN
[root@test1 ~]#
Enjoy
Like us on Facebook
This week Top Posts 
Top Things to do After Installing Ubuntu 13.04 ‘Raring Ringtail’ : Ubuntu 13.04 Raring Ringtail final is almost out. The final release it scheduled for release on Apri...0 comment(s) |
Howto: Upgrade to Ubuntu 13.04 Raring Ringtail from 12.04, 12,10 | Desktop & Server : Updated 05-04-2013: Ubuntu 13.04 Raring Ringtail will be released Soon, If you have ubuntu 12,10, 12...0 comment(s) |
Install lamp with 1 command in Ubuntu 12.10, 13.04 Raring Ringtail & LinuxMint13 : Updated: 10/09/2012 :LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform ...0 comment(s) |
Unix/Linux File Recognition. Did You Know? : Did you know that Unix and Linux has no concept of a file extension? What is a file name extension?
...0 comment(s) |
Howto- Resolve nosound problem on Ubuntu 13.04 Raring Ringtail,12.10 and Older : Updated 05/04/2013 : One of the common issues facing Ubuntu users after installing or upgrading Ubun...0 comment(s) |
Configure conky-Lua in Ubuntu (12.10 & 13.04 Raring Ringtail), Fedora, debian and LinuxMint | Howto Conky : Updated 05-04-2013: Conky is a free, light-weight system monitor for X, that displays any informatio...0 comment(s) |
Recent Posts
- Unix/Linux File Recognition. Did You Know?
- Migrate from MySQL to MariaDB in FreeBSD
- Connect Your Android Galaxy Tablet to Ubuntu via USB
- ElementaryOS Beta 1 and 2 Comparison and Review
- Introduction to the Linux Command Line
- A Secure Password
- Linux Kernel 3.10. It’s BIG!
- Monitoring Users Activity Using psacct or acct Tools in Linux
- Run Your Own Social Network Using elgg on RHEL / CentOS and Scientific Linux
- Getting Debian 7.0 ‘Wheezy’ Up and Running
Recent Comments



















SK
| #
I am working on it. Stay tuned. Thanks for the comment.
adriana rizzati
| #
You are right, I saw them just now and they are awesome!
SK
| #
Thanks for the comment Abdullah. Stay tuned with us always.
Abdullah Musazai
| #
Thank you for such a great service you always do, hope you gain more power and more energy to work more & more
Dominik Bauer
| #
thx a lot!