mysql - mysqlslap access denied on windows8 -


i'm getting access deniedwhen trying run mysqlslap, , i'm suspecting has me running on windows 8.1 machine, can't confirm anywhere.

the line i'm trying run

mysqlslap.exe --query="myquery" --iterations=10 --user=root -p=password --host=127.0.0.1 --delimiter=";" --create-schema=mydb 

i've tried running -p without password prompted password, access denied before ever getting prompted password.

i've tried , without --host, --delimiter , --password

besides error on command prompt popup windows saying app cannot run on pc. searching mysqlslap , windows 8 didn't much.

i confirmed password logging mysql via commandpropt user root , password passed argument mysqlslap

try this:

  1. open cmd(here link showing how do).

  2. in cmd enter in mysql bin folder "c:\program files\mysql\mysql server 5.5\bin".(to open folder in cmd use comand "cd" or "cd.." folder, here link showing how todo do)

  3. so enter comand: mysqlslap --create-schema=yourschema --query="your query" --concurrency=100 -uuser -ppassword


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -