473,320 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Facing an error by starting and stopping mysql service in command line mode

147 100+
Hi,

I want to start the mysql services by manually in the dos on windows......

Starting an Mysql Service :

Expand|Select|Wrap|Line Numbers
  1.  shell>net start mysql
The service name is invalid.

More help is available by typing NET HELPMSG 2185
.

Stopping an Mysql Service :

Expand|Select|Wrap|Line Numbers
  1.  shell>net stop mysql
System error 1060 has occurred

The specified service does not exist as an installed service.



Thanks in advance.....
Apr 1 '10 #1
6 13337
Atli
5,058 Expert 4TB
Hey.

Like the error says, the name of the service you are trying to start is invalid. You need to find out the correct name.

To do that, right click the "My Computer" shortcut in the Start menu, select "Manage", click "Services" in the "Services and applications" group. And then search the list of services until you find the MySQL service.

Then you can start the service by using that name. It is can sometimes be called "mysql5" or "mysql51", or something like that. Depends on who installed it.
Apr 1 '10 #2
santhanalakshmi
147 100+
I cant able to find out the mysql services name in the "Services and applications" group.........there is any other possible way to find out .
Apr 1 '10 #3
santhanalakshmi
147 100+
hi,
i am using Xampp .Mysql services wont be displayed under services.
Apr 1 '10 #4
Atli
5,058 Expert 4TB
You could try the SC command.

For example, this will list all services:
Expand|Select|Wrap|Line Numbers
  1. sc query type= service
Apr 1 '10 #5
Atli
5,058 Expert 4TB
@santhanalakshmi
Ahh I see. XAMPP does not install a service by default, but it does provide .bat files to start it's components. They are located under the XAMPP root dir, typically at "C:\xampp".

So try:
Expand|Select|Wrap|Line Numbers
  1. C:\xampp\mysql_start.bat
Apr 1 '10 #6
santhanalakshmi
147 100+
Hi,

Thanks for your reply......I got it
Apr 1 '10 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Ken Innes | last post by:
I am trying to write a little program that can be run as a Windows program or as a command line program. I'm really not sure the best way to do this, so what I came up with so far was to check for...
1
by: me | last post by:
I have been looking online for a year, and cant find one. I used to use the int86() command in dos command-line mode, but it can't work in linux. I am using Allegro to make my program work, but I...
0
by: Keith Wall | last post by:
Is there any way to pass mysql user variables on the command line? I'd like to do this to enable me to parameterised a mysql script. I'd like to be able to use a command line such as: mysql...
5
by: clsmith66 | last post by:
I've been asked to find out if a project is possible, but I'm not having much luck finding the information I need, I hope some one can help. I need to see if I can build a windows service on the...
5
by: vjonweb | last post by:
Hello! I am facing an extremely frustrating problem with command line arguments...I have no clue why it is happening. Any help will be greatly appreciated. My program: "a.c"...
23
by: ticfranca | last post by:
Hi, I'm getting this error in the code below: sub Pega_recorde { $database = 'bundinha'; $host = 'localhost'; $usuario = 'myhumoradm'; $senha = 'my8xr2d2'; ...
1
by: suniladhyaru | last post by:
Hi All, while converting my project from vc++ 6.0 to VisualStudio.NET2003 , I am getting following error. Command line error D2016 : '/RTC1' and '/clr' command-line options are incompatible
3
by: Alexey Kulentsov | last post by:
Hi All! Is here any solution? APC and shm_ functions doesn't work from command line but I need it.
1
by: raghaw | last post by:
Hi All , After Reading lots of threads i came to a new problem. I have written a simple win32 application(Console) along with it i have added a new item viz GUI(Window form in visual studio...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.