LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-30-2015, 02:20 AM   #1
sayhello_to_the_world
Member
 
Registered: May 2013
Posts: 229

Rep: Reputation: Disabled
mysql-db-port: where can i find out which one is used on my server?


dear community,

i run a webserver with webmin on it.

now i want to install a script that tells me to add the mysql-variables..

among others i have to set the connection-port to mysql

where can i find out which one is used on my server?

can i see in the webmin system variables which port is used to connect the mysql-db: default is 3306

where in the webmin can isee which one is used on my server?
 
Old 08-31-2015, 12:30 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
where can i find out which one is used on my server?

can i see in the webmin system variables which port is used to connect the mysql-db: default is 3306

where in the webmin can isee which one is used on my server?
I don't know about webmin. but you can run the following command to find the mysql port:
Code:
netstat -tanpl|grep mysql
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenLDAP cant find server - not binding to IP/port project722 Linux - Server 5 06-02-2014 05:28 PM
how can i find the url for my mysql server baronobeefdip Linux - Security 2 06-29-2012 12:42 PM
[SOLVED] ubuntu server: change mysql port & phpmyadmin dragonetti Linux - Newbie 2 11-24-2011 06:42 PM
How can I find server port on shared hosting using PuTTy? JimTrail Linux - Server 1 02-13-2009 03:54 AM
Find the port on which Apache server is listening sharathkv Programming 5 04-14-2007 02:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration