473,378 Members | 1,409 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,378 software developers and data experts.

Could not start the mysql service on localcomputer :Error 1067

Could not start the mysql service on localcomputer
Error 1067:The process terminated unexpectedly.
------------------------------------------------------------------------------

Hi All. I 'm facing a problem while working with mysql. Plz help.
I have got Apachephpmysql1.1 installed in my computer. It does not require any password to start mysqlmonitor. but i wanted it to prompt for a passsword.So i went through the following procedure:

1)I stopped the mysql service from the control panel

2)Then created a mysql-ini.txt file and typed the following command:
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('xxxxxxl');

3)At the DOS command prompt, execute this command:

C:\> C:\mysql\bin\mysqld-nt --init-file=C:\mysql-init.txt

but cursor was not blinking for a long time on pressing enter. I thought the DOS has got hung and i closed the dos monitor abruptly.

4)Next i executed a .php file but it says
' Unable to connect to the database server at this time'.
5) I realized that the mysql service is not started yet. so i started it.
But it prompts the message:
---------------------------------------------------------------------------
Could not start the mysql service on localcomputer
Error 1067:The process terminated unexpectedly.
--------------------------------------------------------------------------
I think that this error is due to the abrupt stopping of dos.

But now 'm not able to find any solution for this. I was doing smoothly with php.
But this problem has halted all my progress as well as project.

Please help if anyone can. Thanx
Oct 6 '07 #1
1 9061
pbmods
5,821 Expert 4TB
Heya, Techno.

I'm going to go ahead and move this thread to the MySQL forum, where our resident Experts will be better able to help you out.
Oct 6 '07 #2

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

Similar topics

0
by: Robert Mazur | last post by:
MySQL 5.0 alpha (binary install) on Solaris 9 -or- RedHat 8.0 mysql-connector-java-3.0.8-stable ----------------------- Is there something different going on with JDBC and the alpha version...
0
by: dming | last post by:
I've experienced this a couple of times on different Windows workstations and it's driving me crazy. I've installed mysql-4.0 from the installer to c:\mysql. Then just for kicks I try to start it...
5
by: news | last post by:
I just installed Slackware 10.1 Still need to install some missing needed libraries, but I think that's unrelated. Every time it boots up, or I try "/etc/rc.d/rc.mysqld start" I get this: ...
13
by: sandwich_eater | last post by:
I installed and started MySQL on Mandriva 10.x and get an "Error" on screen after a series of "." appears. Where to look for the log?
14
by: dottty | last post by:
Hi, i have a table that has the following fields: id, name, dept, pay 1, John, Sales, 4000 2, Peter, HR, 5000 etc. How do i count how many people there are in each dept with an sql query? ...
2
by: Chris Song | last post by:
Hello, I'v installed mysql 5.0 (MySQL-server-standard-5.0.27-0.rhel4.i386.rpm) on RedHat AS4. When I start mysql through command line (i.e. /usr/bin/mysqld_safe --datadir=/var/lib/mysql...
3
by: tulika dutta | last post by:
after 8 hrs my MySQL connection with JDBC gets time out. It gives the error java.sql.SQLException: No operations allowed after connection closed.Connection was implicitly closed due to underlying...
1
by: peace2007 | last post by:
Hello, I've installed MySQL using "MySQL Server 5.0.27.exe" on a remote server machine on Windows 2003 server. But when I try to configure server instance using MySQL Server instance config...
1
by: sethupnr | last post by:
when i'm using a simple JSP-mysql code it shows some HTTP status 500 error.But simple JSP program without databse is running , Please help how to solve this problem. I'm new to JSP. my...
1
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.