Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-925

[GH-620] Correct SQL Anywhere driver default port to 2638

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of Slashbunny:

      Url: https://github.com/doctrine/dbal/pull/620

      Message:

      It looks like this was a simple typo.

      References:
      SQLA16 - http://dcx.sybase.com/index.html#sa160/en/dbadmin/serverport-network-conparm.html
      SQLA12 - http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.help.sqlanywhere.11.0.1/dbadmin_en11/serverport-network-conparm.html

      It probably wasn't noticed immediately due to the fact SQL Anywhere drivers cache database server address information in a file on disk (sasrv.ini). Once the cache is populated with the database name, it's possible to connect successfully even if the port you were specifying in your code was incorrect (like 2683).

      http://dcx.sybase.com/1201/en/dbadmin/servernamecaching.html

        Activity

        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-620] was closed:
        https://github.com/doctrine/dbal/pull/620

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-620] was closed: https://github.com/doctrine/dbal/pull/620
        Show
        Marco Pivetta added a comment - Merged: https://github.com/doctrine/dbal/commit/247bd099b8f74eed3d7bdb42a5e0bb1af1925dce

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: