Results 1 to 9 of 9

Thread: ffDKP question     submit to reddit submit to twitter

  1. #1
    RIDE ARMOR
    Join Date
    Aug 2010
    Posts
    14
    BG Level
    1
    FFXI Server
    Shiva

    ffDKP question

    ok, so I was trying to host the ffdkp on the free hosting site, and I did everything and whatnot. After pressing install, I received this error,

    "SQL query error

    Query: CREATE VIEW `eqdkp_v_member_data_lifetime` AS SELECT m.member_id, m.member_name, m.member_raidcount AS raid_count, m.member_raidcount / count( DISTINCT ra.raid_id ) AS raid_percent FROM eqdkp_raids ra, eqdkp_members m WHERE ra.raid_date >= m.member_firstraid GROUP BY m.member_id
    Message: CREATE VIEW command denied to user '242994_zyaan'@'182.148.2.1' for table 'eqdkp_v_member_data_lifetime'
    Code: 1142"

    What exactly did i go wrong here?

    I did make database/username

  2. #2
    Habitatt Hasher
    Join Date
    Aug 2006
    Posts
    309
    BG Level
    4
    FFXIV Character
    Tyra Ravenlocke
    FFXIV Server
    Hyperion

    Erm.. your user doesn't have create permissions on that data base.. or perhaps more specifically create view..

    Are you sure you were logged in as a dbo role?

  3. #3
    RIDE ARMOR
    Join Date
    Aug 2010
    Posts
    14
    BG Level
    1
    FFXI Server
    Shiva

    I had everything checked on the permissions for user D:

  4. #4
    Fake Numbers
    Join Date
    Jul 2008
    Posts
    90
    BG Level
    2

    Mysql docs say that's indeed a permission problem.

  5. #5
    RIDE ARMOR
    Join Date
    Aug 2010
    Posts
    14
    BG Level
    1
    FFXI Server
    Shiva

    Oh ok, ill try it out one more time after this limbus. I'll let you guys know how it goes

  6. #6
    RIDE ARMOR
    Join Date
    Aug 2010
    Posts
    14
    BG Level
    1
    FFXI Server
    Shiva

    Okay so , I double checked the permissions.

    the following that is checked are:

    SELECT,
    INSERT,
    UPDATE,
    DELETE,
    CREATE,
    DROP,
    INDEX,
    ALTER,
    LOCK TABLES

    The error came out the same as above.

  7. #7
    Habitatt Hasher
    Join Date
    Aug 2006
    Posts
    309
    BG Level
    4
    FFXIV Character
    Tyra Ravenlocke
    FFXIV Server
    Hyperion

    There's specifically a create view priveledge in mysql:

    As of version 5.x or so:

    http://dev.mysql.com/doc/refman/5.0/...-provided.html

    So I suspect that your problem is that you need that permission checked on for your server.

    Depending on your host.. and whether or not its a realized view they may not allow random users to make views. This is because unrealized views are basically run time sql commands, these would be fairly easy to sqlinject and start trying to hack.

    But, this is all supposition w/o knowing what version of mysql you are running etc.. but check into it ^^

    Good luck.

  8. #8
    Fake Numbers
    Join Date
    Jul 2008
    Posts
    90
    BG Level
    2

    You need at least the CREATE VIEWS permission too.

  9. #9
    E. Body
    Join Date
    Sep 2007
    Posts
    2,019
    BG Level
    7
    FFXI Server
    Fenrir

    I'm sure someone else would say it, but have you tried just using www.guildwork.com ?

    Stanislav has done some awesome things there.