?
Solved

Unable to start MySQL server

Posted on 2006-11-07
7
Medium Priority
?
1,620 Views
Last Modified: 2010-04-28
Experts,

I have installed MySQL version 4, released on mysql.com and also GUI tools 5, again from mysql.com

I am using php to query website.

I have set MySQL to use old passwords using mysql admin, however when I stop the service and then try to start it up again it hangs....

When I attempt to start within Services the error reports;

Error 1067, the process terminate unexpectedly

??

0
Comment
Question by:nickmarshall
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 1

Author Comment

by:nickmarshall
ID: 17888905
Message from MySQL admin.  I have commented out the OLD_Passwords part within my.ini however the same problem is apparent.

Trying to start the server ...

Could not re-connect to the MySQL Server.
Server could not be started.

Can't init databases


0
 
LVL 30

Accepted Solution

by:
todd_farmer earned 336 total points
ID: 17891083
Is the MySQL server running?  If you are on Windows, check the Process Manager.  If Linux, run ps aux | grep mysqld

If the server is not running, start it.  If it cannot start, please locate the error log file (hostname.err in the data directory) and post the contents.
0
 
LVL 14

Assisted Solution

by:ppfoong
ppfoong earned 332 total points
ID: 17895100

The clue is this:

"Can't init databases"

If it is a new install, delete all the database files inside the MYSQL\data folder, and let MySQL recreate them.

Before this, you might want to check for any error message in the file yourservername.err, inside the MYSQL\data folder.

0
 
LVL 4

Assisted Solution

by:Sheeri
Sheeri earned 332 total points
ID: 17895369
try to run mysql_install_db in your binary folder -- it should be the same folder mysql and mysqld are in.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question