Page 1 of 1

start mysql server from cmd

Posted: Wed Feb 07, 2007 2:41 am
by siyaco
hi
i am studying mysql. i have installed wamp. the mysql server can be started by wamp tray. but i want to do it from cmd.
in c:\wamp\mysql\bin
which command must i use?
i use mysql start, or mysqld start but it doesn't work.

Posted: Wed Feb 07, 2007 10:32 am
by volka
try

Code: Select all

net start mysql

Posted: Thu Feb 08, 2007 2:32 am
by siyaco
volka wrote:try

Code: Select all

net start mysql
thanks
i tried it in c:\wamp\mysq\bin
but it doesn't work and says;The service name is invalid.
then i tried for mysqld, mysqli but it gives same results;

Posted: Thu Feb 08, 2007 6:01 am
by volka
If wamp means http://www.wampserver.com/en/ try

Code: Select all

net start wampmysqld
They install mysql under a differnt name.
You do not need to run this command "within" the mysql directory, even start->run->net start wampmysqld should work

Posted: Thu Feb 08, 2007 12:29 pm
by siyaco
thanks, it works like you said :)