Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. Are you sure innodb is actually running?
  2. I don't know what phpmyadmin is doing -- what about "Show table status"?
  3. That's what I'm here for ;-)
  4. What's showing you 87 vs 35? What does "SHOW TABLES" produce? Single database?
  5. Actually, just to be annoying, there is -- auto_increment_increment ;-)
  6. Sphinx is one of the better choices.
  7. You're not listening -- it's per connection -- no matter how many you insert.
  8. InnoDB? MyISAM? Both?
  9. Well, that query isn't very selective -- region probably return many matches. Try an index on Profils.DerniereVisit.
  10. Also, for non-ascii, bytes <> characters.
  11. What was wrong with your original query?
  12. First, I think your query doesn't work the way to you expect, since you're mixing AND and OR conditions without parentheses. Second, just change "ISNULL(LOG_IN)" to "LOG_IN=0".
  13. Why can't you just find the date of their last non-win (tie/loss), and then simply count all the records after that?
  14. What have you tried so far?
  15. Without the query, we can't possibly help.
  16. Try (untested) SELECT person FROM results AS r1 INNER JOIN ( SELECT MAX(result) AS result, year FROM results WHERE class = '<desiredClassValue>' GROUP BY year ) AS r2 USING( Result, year ) WHERE r1.class = '<desiredClassValue>'
  17. As root, type "SHOW GRANTS for 'user_name'@'locahost'", and see what happens.
  18. Echo the $sql variable each time.
  19. fenway

    Last id

    No -- auto-increment is per connection.
  20. Well, you can do all sorts of fancy things with views and permissions. But are you talking about letting a remote application connect to your DB directly? Sounds like a bad idea.
  21. But Barand already told you this.
  22. First, start by posting the working query.
  23. That error isn't from mysql.
  24. Assuming you only want (a) a single category per item, and (b) no subcategories, then yes.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.