Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. Didn't you say that SHOW TABLE STATUS doesn't show them?
  2. What makes you sure that they were created as innodb tables?
  3. Are you sure innodb is actually running?
  4. I don't know what phpmyadmin is doing -- what about "Show table status"?
  5. That's what I'm here for ;-)
  6. What's showing you 87 vs 35? What does "SHOW TABLES" produce? Single database?
  7. Actually, just to be annoying, there is -- auto_increment_increment ;-)
  8. Sphinx is one of the better choices.
  9. You're not listening -- it's per connection -- no matter how many you insert.
  10. InnoDB? MyISAM? Both?
  11. Well, that query isn't very selective -- region probably return many matches. Try an index on Profils.DerniereVisit.
  12. Also, for non-ascii, bytes <> characters.
  13. What was wrong with your original query?
  14. 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".
  15. Why can't you just find the date of their last non-win (tie/loss), and then simply count all the records after that?
  16. What have you tried so far?
  17. Without the query, we can't possibly help.
  18. 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>'
  19. As root, type "SHOW GRANTS for 'user_name'@'locahost'", and see what happens.
  20. Echo the $sql variable each time.
  21. fenway

    Last id

    No -- auto-increment is per connection.
  22. 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.
  23. But Barand already told you this.
  24. First, start by posting the working query.
×
×
  • 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.