Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. This is definitely a *nix issue, not a mysql issue... clearly, it's not in your path.
  2. Well, if you need to search multiple columns, your options are (a) multiple LIKE conditions, (b) FULLTEXT indexing, or © Sphinx/Lucene.
  3. Yes, but in this case, it's an update... so you simply need to use mysql_affected_rows().
  4. Plus most date widgets do this anyway.
  5. You can look at FULLTEXT indexing, but that has all sorts of limitations.
  6. Fulltext searches are funny... if you don't have a very large sample dataset, or too many matches are found, it won't return anything.
  7. MySQL date format is YYYY-MM-DD... store it this way, and use DATE_FORMAT() to make it pretty on the way out.
  8. What are you trying to do???
  9. Well, you're "faking" a proper fulltext index, so there isn't much a choice. But you can roll-your-own rankings and weights.
  10. You need to check the rows affected....
  11. MySQL v5 uses InnoDB as the default... 4.1 was using MyISAM.
  12. Huh?
  13. Why pconnect? Why no password?
  14. I don't understand... DATE_FORMAT() is your friend.
  15. The problem is that databases aren't designed for iterations or loops -- they're based on sets.
  16. Not really... if you ask it to ignore the errors, it will do as you say.
  17. Those backticks are to escape special characters (like spaces) in table names and fields. MyISAM is the non-transactional database engine -- as opposed to InnoDB. Effects are broad and significant.
  18. Yes... show STR_TO_DATE() output first to verify.
  19. Careful with substring matches... you're not matching whole words.
  20. I still don't see why 500+ tables would be required.
  21. Maybe you should check the php refman to see what mysql_fetch_array returns.
  22. What do you think? Where do you define the value of $db?
  23. Then you need to check users.banned in the ON clause.
  24. Your php mysql config section is wrong -- you shouldn't be logging in as root with no password.
×
×
  • 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.