Posts Tagged ‘mysqlslap’

mysqlslap and SQL syntax error

September 23rd, 2009

While I was playing with mysqlslap for my local benchmarks I got an error that puzzled me :

You have an error in your SQL syntax; ...

After analysing the query and running it with the CLI mysql client and in other tools I tried to write the query on one line.

That was the solution, it seems mysqlslap only accepts one line queries :/

I tried with the following version

mysqlslap  Ver 1.0 Distrib 5.1.39, for pc-linux-gnu (i686)

‘Hope that helps

:)

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)