LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] MySQL Problems

[ILUG] MySQL Problems

Barry Flanagan barryf-lists at flanagan.ie
Wed Apr 6 21:02:28 IST 2005


Linux ilug wrote:

> but is it no running on port 5690 when it should be running on port 
> 3306. or is 5690 representing something else ?
>
No, that is the process ID, the bit to the left  - '*:mysql' shows that 
it is listening on all interfaces ( the *) on the well-known port 'mysql'

'netstat -nlp|grep mysql ' will show the actual number of the port.

Your problem lies elsewhere.

Are you sure the error is the same?

Can you log into mysql on the command line to the same database and with 
the same username as you are asking the java app to?

# mysql -h 127.0.0.1 -u your_user -p your_database

-Barry


> On Apr 6, 2005 8:41 PM, *Barry Flanagan* <barryf-lists at flanagan.ie 
> <mailto:barryf-lists at flanagan.ie>> wrote:
>
>     Linux ilug wrote:
>
>     > That's what I got back.  Is there anyway to chance the port mysql is
>     > listening on?
>     >
>
>     Why? That looks fine.
>
>     -Barry
>
>     >
>     > linux:~ # netstat -lp | grep mysql
>     > tcp        0      0 *:mysql                 *:*
>     > LISTEN      5690/mysqld
>     > unix  2      [ ACC ]     STREAM     LISTENING     16531
>     > 5690/mysqld         /var/lib/mysql/mysql.sock
>     >
>     >
>




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell