#1055 (ok 3.1) Allow server port to be entered with arbitary host

fixed
1
2013-06-11
2007-08-21
George
No

According to documentation:

$cfg['AllowArbitraryServer']:
If enabled allows you to log in to arbitrary servers using cookie auth.
==========

The login page allows the user to type an arbitrary server host (as documented), but *does not* allow the user to specify the mysql server port, neither understands the host:port format.

Please extend the functionality to either support host:port notation in the Server field in the Log In page or add a dedicated text field for the port number.

==========
Background:
I am connecting to MySQL severs via ssh tunnels, which tunnels maps several ports to several remote MySQL servers. For different reasons it is not usable for me to configure all the used tunnels in the config.inc.php file. Thus I need to be able to specify the [mapped by the tunnel] port number together with the host in the Log In page.

Discussion

  • Michal Čihař

    Michal Čihař - 2008-09-03

    Logged In: YES
    user_id=192186
    Originator: NO

    Allowing host:port notation would be problematic if somebody would want to use IPv6 address.

     
  • Michal Čihař

    Michal Čihař - 2008-09-03
    • assigned_to: nobody --> nijel
     
  • Michal Čihař

    Michal Čihař - 2008-09-03

    Logged In: YES
    user_id=192186
    Originator: NO

    Anyway I think using space for port separation would be okay, wouldn't it?

     
  • Michal Čihař

    Michal Čihař - 2008-09-03
    • labels: --> Authentification issues
    • priority: 5 --> 1
    • summary: Allow server port to be entered together with arbitary host --> (ok 3.1) Allow server port to be entered with arbitary host
    • status: open --> open-fixed
     
  • Michal Čihař

    Michal Čihař - 2008-09-03

    Logged In: YES
    user_id=192186
    Originator: NO

    Implemented in svn, you can now enter 'host port'.

     
  • Marc Delisle

    Marc Delisle - 2008-11-28
    • status: open-fixed --> closed-fixed
     
  • Jürgen Wind

    Jürgen Wind - 2008-11-29

    still missing in the docs, no?

     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks