1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

MySQL large numbers urgent issue

Discussion in 'MySQL' started by ruby, Apr 24, 2007.

  1. ruby

    ruby Well-Known Member

    Messages:
    1,854
    Likes Received:
    40
    Best Answers:
    1
    Trophy Points:
    125
    #21
    ruby, Apr 26, 2007 IP
  2. Scolls

    Scolls Guest

    Messages:
    70
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #22
    Yeah, it's simply a quirk of MySQL 5, Ruby. I wonder why they decided to change it? I mean, it's not only with MySQL 5 itself but in the documentation too!
     
    Scolls, May 1, 2007 IP
  3. ruby

    ruby Well-Known Member

    Messages:
    1,854
    Likes Received:
    40
    Best Answers:
    1
    Trophy Points:
    125
    #23
    Yes i dunno but it has literally screwed up one of my biggest applications. I had to roll back to version 4 and have a separate dedicated machine just for a couple of databases.
     
    ruby, May 1, 2007 IP
  4. yedy72

    yedy72 Well-Known Member

    Messages:
    198
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #24
    As i don't run mysql5 i can't check this out. But maybe the stupid mysql cast the number to an decimal or whatever before insert because of missing ".0"
     
    yedy72, May 2, 2007 IP
  5. illegal operation

    illegal operation Member

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #25
    I know this is a really old thread, but what is the solution for handling very large numbers like the OP?
    I also have an online game, and the in game currency for players and groups are reaching the limitations. I don't know how to get around this?

    I've had my fields set as BigINT unsigned, but that's not enough.
     
    illegal operation, Jan 29, 2013 IP
  6. illegal operation

    illegal operation Member

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #26
    Is there no easy way to allow very large numbers in my database?
     
    illegal operation, Feb 5, 2013 IP
  7. illegal operation

    illegal operation Member

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #27
    Are Ruby and I the only people who have ever had this issue? It's affecting my game because players can't deposit their game cash, it just disappears once they reach this limit.
     
    illegal operation, Feb 15, 2013 IP
  8. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #28
    If you want a solution for storing numbers larger than 65 digits in MySQL 5, there isn't one. You can store them as text and convert going in and coming out, or you can use a database that handles larger numbers.
     
    Rukbat, Feb 16, 2013 IP
  9. tyteen4a03

    tyteen4a03 Member

    Messages:
    30
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    45
    #29
    According to the original bug report stated by the OP, this bug has been fixed in 5.0.44 and 5.1.20 up. Not sure if related, just pointing out.
     
    tyteen4a03, Feb 19, 2013 IP