innerlogic

random stuff about technology, programming, digital media

Category: MySQL

MySQL: Get next auto increment value

Recently, I needed to get the auto increment value for the next inserted row in a MySQL table.  Generally, this is not a good idea and you should stop reading right now.
You may end up with duplicate entries in your application, which is not a good thing.
At a first glance you may think: “I can [...]

MySQL FULLTEXT Stopwords

These words could save you a lot of time figuring why this fulltext query returns nothing..
a’s, able, about, above, according, accordingly, across, actually, after, afterwards, again, against, ain’t, all, allow, allows, almost, alone, along, already, also, although, always, am, among, amongst, an, and, another, any, anybody, anyhow, anyone, anything, anyway, anyways, anywhere, apart, appear, appreciate, [...]