1.2.2.150] Dots in table names unsupported #355


  • New
  • Defect
Open
Assigned to _ForgeUser7781625
  • rautamiekka created this issue Mar 31, 2015

    What steps will reproduce the problem?
    1. Conf the table prefix to have a dot
    2. Make sure the tables don't exist
    2. Start normally
    3. Database patching will fail

    What is the expected output? What do you see instead?
    When there's a dot in the table name, patching fails:

    [15:24:29 INFO]: [Statistics] Enabling Statistics v1.2.2
    [15:24:29 INFO]: [Statistics] +------ [ Fetching Patches ] ------+
    [15:24:29 INFO]: [Statistics] |  All patch files are up to date  |
    [15:24:29 INFO]: [Statistics] +----------------------------------+
    [15:24:29 INFO]: [Statistics] +-------] Database Patcher [-------+
    [15:24:29 INFO]: [Statistics] |       Applying patch 1 / 11       |
    [15:24:29 INFO]: [Statistics] |       Applying patch 2 / 11       |
    [15:24:29 INFO]: [Statistics] |       Applying patch 3 / 11       |
    [15:24:29 INFO]: [Statistics] |       Applying patch 4 / 11       |
    [15:24:29 INFO]: [Statistics] |       Applying patch 5 / 11       |
    [15:24:29 ERROR]: [Statistics] Cannot establish a database connection!
    [15:24:29 ERROR]: [Statistics] Is the plugin set up correctly?
    

    What version of the product are you using?
    1.2.2.150 for 1.7.2-R0.3 (git-Spigot-1523 (MC: 1.7.9) (Implementing API version 1.7.9-R0.3-SNAPSHOT))

    Do you have an error log of what happened? (Portal: check cache/error.txt)
    See the console paste above.

    Please provide any additional information below. (Plugin/Portal Version, Server Version, PHP Version. MySQL Version)
    - Percona Server 5.6.23-72.1 x64
    - Running the codes through phpMyAdmin works just fine (after fixing few typos).

  • rautamiekka added the tags New Defect Mar 31, 2015
  • rautamiekka edited description Mar 31, 2015

To post a comment, please login or register a new account.