MySQL Database not retrieving the full database

Ask a Question related to MySQL, Design and Development.

  1. #1

    Default MySQL Database not retrieving the full database

    Hi,

    I am using MySQL and PHP for my repository. It has 500+ records. till
    now it was displayiing all records in the database, but since from one
    week its not displaying all 500+, its showing only 400 records..

    even in command mode its retrieving only 400 records. please help me to
    solve this problem. what may be the problem i am not able to traceout.
    and if i give the following command it will show records in command
    line. "select soft_id, soft_title, file_name from maintable where
    soft_id='530';"

    Waiting for reply
    Geetha

    geetha.veeraiah@gmail.com Guest

  2. Similar Questions and Discussions

    1. Retrieving images to flash from SQL database
      I've been reading about how, with flash, read and write from SQL server database. But I only finded articles about read and write text data. I need...
    2. Retrieving info from database
      Thanks to a lot of excellent advice from this newsgroup I have managed to get a site working which is database driven. I would now like to know if...
    3. clamav install on Sid fails on retrieving database
      Hi, I am trying to install clamav, to be able to scan my email and files etc for viri. I am running Sid, all packages are fully updated. No funky...
    4. Retrieving (Data + Fieldnames) from database to array?
      Hi, I'd like to poll a database and get the table contents, as well as the field names from that table. I've been to php.net but this time I...
    5. Database record retrieving
      > They have links to actually, they do, but they just use a more complex layout, among other things. for instance, the center column would be...
  3. #2

    Default MySQL Database not retrieving the full database

    Hi,

    I am using MySQL and PHP for my repository. It has 500+ records. till
    now it was displayiing all records in the database, but since from one
    week its not displaying all 500+, its showing only 400 records..

    even in command mode its retrieving only 400 records. please help me to
    solve this problem. what may be the problem i am not able to traceout.
    and if i give the following command it will show records in command
    line. "select soft_id, soft_title, file_name from maintable where
    soft_id='530';"

    Waiting for reply
    Geetha

    geetha.veeraiah@gmail.com Guest

  4. #3

    Default Re: MySQL Database not retrieving the full database

    [email]geetha.veeraiah@gmail.com[/email] wrote:
    > Hi,
    >
    > I am using MySQL and PHP for my repository. It has 500+ records. till
    > now it was displayiing all records in the database, but since from one
    > week its not displaying all 500+, its showing only 400 records..
    >
    > even in command mode its retrieving only 400 records. please help me to
    > solve this problem. what may be the problem i am not able to traceout.
    > and if i give the following command it will show records in command
    > line. "select soft_id, soft_title, file_name from maintable where
    > soft_id='530';"
    >
    > Waiting for reply
    > Geetha
    >
    How do you know you have over 500 rows in the table? It sounds to me
    like you've only got 400 rows.

    And your SELECT statement will only show row(s) which have soft_id equal
    to '530', not all rows.

    --
    ==================
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    [email]jstucklex@attglobal.net[/email]
    ==================
    Jerry Stuckle Guest

  5. #4

    Default Re: MySQL Database not retrieving the full database

    Hi,

    There are 539 records, i can see them if i give the query like

    select soft_id, soft_title from maintable where soft_id='499';
    this query will show the soft_id and corresponding soft title which we
    have uploaded. I can see up to 539 software one by one by using this
    query, but if i give

    select * from maintable;
    this query retrieves only 400 software details

    that means records are there, but not displaying them.

    Please help me in this regard

    Regards
    Geetha

    Jerry Stuckle wrote:
    > [email]geetha.veeraiah@gmail.com[/email] wrote:
    > > Hi,
    > >
    > > I am using MySQL and PHP for my repository. It has 500+ records. till
    > > now it was displayiing all records in the database, but since from one
    > > week its not displaying all 500+, its showing only 400 records..
    > >
    > > even in command mode its retrieving only 400 records. please help me to
    > > solve this problem. what may be the problem i am not able to traceout.
    > > and if i give the following command it will show records in command
    > > line. "select soft_id, soft_title, file_name from maintable where
    > > soft_id='530';"
    > >
    > > Waiting for reply
    > > Geetha
    > >
    >
    > How do you know you have over 500 rows in the table? It sounds to me
    > like you've only got 400 rows.
    >
    > And your SELECT statement will only show row(s) which have soft_id equal
    > to '530', not all rows.
    >
    > --
    > ==================
    > Remove the "x" from my email address
    > Jerry Stuckle
    > JDS Computer Training Corp.
    > [email]jstucklex@attglobal.net[/email]
    > ==================
    geetha.veeraiah@gmail.com Guest

  6. #5

    Default Re: MySQL Database not retrieving the full database

    If you can see a record with id 499, that does not mean that all records
    with lower id values still exist (or have even existed altogether). The
    query:

    SELECT COUNT(0) FROM maintable

    should tell you how many records there are.

    Best regards

    [email]geetha.veeraiah@gmail.com[/email] wrote:
    > Hi,
    >
    > There are 539 records, i can see them if i give the query like
    >
    > select soft_id, soft_title from maintable where soft_id='499';
    > this query will show the soft_id and corresponding soft title which we
    > have uploaded. I can see up to 539 software one by one by using this
    > query, but if i give
    >
    > select * from maintable;
    > this query retrieves only 400 software details
    >
    > that means records are there, but not displaying them.
    >
    > Please help me in this regard
    >
    > Regards
    > Geetha
    >
    > Jerry Stuckle wrote:
    >> [email]geetha.veeraiah@gmail.com[/email] wrote:
    >>> Hi,
    >>>
    >>> I am using MySQL and PHP for my repository. It has 500+ records. till
    >>> now it was displayiing all records in the database, but since from one
    >>> week its not displaying all 500+, its showing only 400 records..
    >>>
    >>> even in command mode its retrieving only 400 records. please help me to
    >>> solve this problem. what may be the problem i am not able to traceout.
    >>> and if i give the following command it will show records in command
    >>> line. "select soft_id, soft_title, file_name from maintable where
    >>> soft_id='530';"
    >>>
    >>> Waiting for reply
    >>> Geetha
    >>>
    >> How do you know you have over 500 rows in the table? It sounds to me
    >> like you've only got 400 rows.
    >>
    >> And your SELECT statement will only show row(s) which have soft_id equal
    >> to '530', not all rows.
    >>
    >> --
    >> ==================
    >> Remove the "x" from my email address
    >> Jerry Stuckle
    >> JDS Computer Training Corp.
    >> [email]jstucklex@attglobal.net[/email]
    >> ==================
    >
    Dikkie Dik Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139