Results 1 to 4 of 4

Thread: Telnet and MySQL

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2003
    Posts
    419

    Telnet and MySQL

    Good morning, I was wondering if anyone has had experience telnetting to a windows version of mysql? When I type the following in command prompt,
    VB Code:
    1. telnet 192.168.50.50 3306
    I get the following result:
    VB Code:
    1. 7
    2.  5.0.16-nt☺T(iWY:V",☻Bf^"/c(9)`+P
    3.  
    4. Connection to host lost.

    I know that the first part of the result is normal, you are supposed to get the version number (5.0.16-nt), along with garbage back...but after about 10 seconds the connection is lost. I have tried this with two mysql servers, one on my PC...another on a server, and both connections are lost.
    Code:
    If LostAngel.Tag = "Programming" then
       LostAngel.Caption = "Awake"
    Else
       LostAngel.Caption = "Dreaming of Code"
    End If

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Telnet and MySQL

    You can't "telnet mydbserver 3306" like you telnet e.g. an SMTP server.
    You need the mysql client to do this.
    Others say try a program called NAVICAT. If it's on a local machine, you can also use 127.0.0.1 to telnet to it, if you supply the right port.

  3. #3
    Fanatic Member
    Join Date
    Oct 2004
    Posts
    751

    Re: Telnet and MySQL

    I got into this a little bit myself. All in all, it would take to much effort to use telnet to manage your MySQL DB from telnet. Instead MySQL makes a administrator GUI that you can use. Works great for localhost connections. I also like a program called SQLyog (google it...).
    My Projects: [ Instant Messagener Client/Server ] [ VBPictochat ]

    My Sites:
    [ Datanethost ]
    [ Helpdesk ]

    Remember if my post was helpful then Rate This Post.

  4. #4
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Telnet and MySQL

    You need a MySql client, unless you fancy unsrambling it yourself. If you have mysql installed then you can use the program mysql.exe to connect. If not, you must obtain it:

    http://dev.mysql.com/downloads/mysql/4.1.html
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width